-
Notifications
You must be signed in to change notification settings - Fork 0
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
encoding problem when reading csv file #4
Comments
I remove a few lines (simply using Excel) from colaus1.focus.mr and the method run without error. @BKhalili Can you share the file? What program did you use when you copy/pasted? |
I also used Excel but copied few lines to a new file. Yes as I mentioned it is an encoding problem. However I think we should make sure that this error will not occur for other users. For example pandas read_csv doesn't have this problem. I will email you the data file I created. |
This problem still exists. |
PCA works with our usual colaus1.focus.mr file however when I made a smaller csv file just by copy-pasting part of our original file it failed in reading the file. It seems to be an encoding problem using csv.reader. One way to fix it is to use pandas.read_csv() which doesn’t seem to have this problem.
The text was updated successfully, but these errors were encountered: