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

Script still splits final two rows on comma within dollar values #1

Open
jaykinghorn opened this issue Jan 22, 2017 · 1 comment
Open

Comments

@jaykinghorn
Copy link

Hello. I hope this is the correct place to provide feedback. In the exercise Read and Write a CSV file (Part 2) the script in the book still splits the final two dollar amounts in the supplier data that contain a comma to indicate thousands. I've re-typed the script from the book, run it from your supplied scripts from the book repository and run it a third time from the current script on the site and continue to receive the same error. The cost data is split across two columns, pushing date into a sixth and seventh column. Is there a subtlety I've missed?

Thanks,

Jay

@anemochore
Copy link

You should modify the CSV file opened in Excel, not in text editor, and then save the file as CSV in Excel too.

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

No branches or pull requests

2 participants