These are chat archives for FreeCodeCamp/DataScience
discussion on how we can use statistical methods to measure and improve the efficacy of http://freeCodeCamp.com
Thanks @mcbarlowe. I am trying to read a csv file with the following format
“1”, “data”, “more data in multiple lines”, "5”, “6”
read_csv craps out. Is there a way to allow new lines inside the quotes? Or I just have to clean up the file before feeding it to pandas? Not even sure how I would clean this up.
lidderupk sends brownie points to @mcbarlowe :sparkles: :thumbsup: :sparkles:
quotechar = ' "" 'that everything between the quotes is one entry
TypeError: "quotechar" must be a 1-character string
quotechar = ‘“‘, I get the original
ParserError: Error tokenizing data.
Error tokenizing data. C error: Expected 30 fields in line 3, saw 31
error_bad_lines = Falseit will skip the bad lines if you can live with the lack of data