You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can read a CSV file from an external source that contains the string:
"This award from the Export Development Fund will enhance the export opportunities for British films where they have been selected to appear at important international film festivals.\r"
(note the trailing \r)
CSV.file() reads this field into a DataFrame just fine.
If I subsequently write the DataFrame to another csv file, CSV.write() does not automatically quote the field, and this results in an invalid csv file.
Simple MWE
Caution: the file that will be downloaded is over 250MB in size.
See this discussion on Discourse for more details.
I can read a CSV file from an external source that contains the string:
(note the trailing
\r
)CSV.file()
reads this field into a DataFrame just fine.If I subsequently write the DataFrame to another csv file,
CSV.write()
does not automatically quote the field, and this results in an invalid csv file.Simple MWE
Caution: the file that will be downloaded is over 250MB in size.CSV read will not read this newly written csv file correctly.
Thanks!
The text was updated successfully, but these errors were encountered: