Created
January 12, 2017 17:39
-
-
Save mmartini-usgs/4795da39adc9905f70fd8c27a1bba3da to your computer and use it in GitHub Desktop.
Learning to read pd0 with python - trying to solve the bytes error-Gist
Hi @mmartini-usgs ,did you find a solution for this ?I am experiencing the same where am doing a project on sentiment analysis and i want to read data in binary but when I use the rb
for reading and wb
for writing as stated from this documentation I get the error _csv.Error: iterator should return strings, not bytes (did you open the file in text mode?)
Any suggestion on how to handle this because I need the data in binary and not string.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunately, I can't post the example data here.