Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

excel #86

Closed
TjitseT opened this issue Dec 19, 2024 · 8 comments
Closed

excel #86

TjitseT opened this issue Dec 19, 2024 · 8 comments
Assignees
Labels
question Further information is requested

Comments

@TjitseT
Copy link

TjitseT commented Dec 19, 2024

cant import csv document straight from excel only google spreadsheets but in google spreadsheets a comma is a comma and a dot is used in the way of 1000 =1.000 however in tailor a comma is nothing and a dot is a comma so incompatible af

@davidfokkema davidfokkema added the question Further information is requested label Dec 19, 2024
@davidfokkema
Copy link
Owner

Tailor supports many different formats. The CSV format used by default is the 'international' standard. So a comma is used to separate columns, hence the name, comma-separated values (CSV), while the dot is used as a decimal separator: 4.7 means 4 POINT 7. However, when you import a CSV file, Tailor presents you with an option screen where you can specify the column separator and the number format.

Two things are important. In Excel, make sure you "export as CSV", and not try to import an Excel file directly. In Tailor, make sure you choose File -> Import CSV and not File -> Open (which is intended for Tailor projects).

In short, it should be compatible af. After trying the above, are you still running into issues?

@TjitseT
Copy link
Author

TjitseT commented Dec 19, 2024 via email

@davidfokkema
Copy link
Owner

Could you attach a file sample so I can take a look? I can probably help you with the correct way to import it or I will find out it's a bug in Tailor so I can fix it.

@TjitseT
Copy link
Author

TjitseT commented Dec 19, 2024 via email

@TjitseT
Copy link
Author

TjitseT commented Dec 19, 2024 via email

@davidfokkema davidfokkema self-assigned this Dec 19, 2024
@davidfokkema
Copy link
Owner

If you were trying to attach a file, I think it can only be done via the web interface. So if you go here: #86 and then press the link icon in the header of the comment it should work.

@TjitseT
Copy link
Author

TjitseT commented Dec 19, 2024

like this?

amplitude set 1l(Blad1).csv

@davidfokkema
Copy link
Owner

Yes, thank you very much! I'm looking into it. It seems to be a character encoding issue. The issue is the 'squared' character in m/s^2. Excel did not export this using the standard format (utf-8) but using the older DOS/Windows format (ISO 8559-1). In Excel 2016 and later, you should be able to save your file as "CSV UTF-8 (comma delimited)". That should work. You can also remove the squared characters manually and then save the file. I will include a workaround in Tailor, thanks for reporting!

On a side note: I noticed that the CSV file has blank lines after every line of data. It looks like the import from the data acquisition software used in the experiment into Excel already had issues. Most measurement software includes the option to export the data to CSV, so you might save a step (and have no issue) if you take your measurements, save them directly to CSV and then import that into Tailor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants