Jump to content

Exporting report into .csv file


Recommended Posts

  • 2 weeks later...

Please sign in to view this quote.

CSV files have values separated with comma, such as 3.856, 4.456, 3.034,

Table files are Tab Delimited Files which use a tab character to separate values
3.856 4.456 3.034 (This post cannot show tab spacing. Using multiple spaces but post is closing gaps)

That being said, I don't know what happens when you read a tab delimited files, renamed with .csv. What software are you reading the .csv files into. I am eager to learn something new here.
Not to be a bitch, buuuuuuuuuuuuuuut. CSV is not a standardized format, so the separator can actually be anything. Even though its named comma separated values. 🤣

But the original intent is to use comma. 🙄

And what happens when you read a csv and lets say tab is delimiter, in to something that expects comma. Well that depends on how the function is written. But a wild generalization, you get all data at once as one big chunk. Normaly, you take this in to consideration when you write code. Either by user input of the delimiter, (when gui oriented like excel) or by reading first line and analyze it's content to find out what separates the columns. I can't think of any example when you don't know what kind of data you are supposed to receive from the csv. And more often then not, you also know how many columns you have. So from there it's not very hard to decide what the delim is.
I try combine data from separate csv protocols to one and it work, i want ad SCP parameters to it, but don`t have enough time now. To ears ago i do it manually in excel, during measurement i have time to open csv file copy result to full table but manual work it is not good way.
×
×
  • Create New...