DRAFT: csv export support - #5
Conversation
Compaile
commented
Aug 8, 2024
thanks, for the pr we will review it shortly. one quick thing to add alredy. times can be ns can be us can be ms or seconds. but i aggree for csv it would be better so i'll think about it |
Compaile
commented
Aug 12, 2024
Hi @juliangaal , |
a) sure, I would appreciate that Processing this with e.g. pandas means discarding the first two rows just to access the other (for benchmarking more useful) data. We could of course write the data "next to" each other in the csv file |
Compaile
commented
Aug 16, 2024
Here's the text with spelling corrections: Then i will add a) and merge. Thanks for the nice idea and implementation |
juliangaal
commented
Aug 19, 2024
regarding b) couldn't we just provide an option where the dev can pass, e.g. In general, I am just a little confused about your goals with appending rows to the right of the csv file. E.g. would have to be changed to is this the format you are intending to provide? |
Compaile
commented
Nov 12, 2024
Sorry for the incredible long wait. We now allocated more dedicated ressources to ctrack. If you dont mind i would finish up this pr and implement the last missing things? |
Asperamanca
commented
Apr 28, 2025
Please consider an option to export without decimal separator. Different locales use different separators. Exporting numbers in such a unit that whole numbers are sufficient makes the output much easier to import. My guess is that CSV is targeted more for import into tools for further processing; therefore readability is not the major concern (if you want that, you have the nice ASCII tables). |
Compaile
commented
Apr 28, 2025
good point. |
Asperamanca
commented
Apr 29, 2025
The ";" sounds like a reasonable default. Cursory research on decimal and thousands separators (please don't use those on a CSV export, either!) reveals that commonly used characters are ,.' |
Hi there,
after #2 I took the liberty to start working on csv export support
Current changes:
csv(stream)that matchesprint(stream)get_summary(formerlyget_summary_table) extended to supportResultFormat:TABLE,CSV,DB,JSONresult_csvimplemented to print summaryIssues and Discussion
table_percentageyet doesn't append "%". It also makes result file parsing much simpler.min (fastest [0-1]%),min (center[1-99]%)