Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
UnicodeDecodeError:'ascii' codec can't decode byte 0xa0 in position 308: ordinal not in range(128) by handling csv file

Here is a small code to handle the equity put/call ratio csv file and there is no error.

1 response

And here is the same code for handling VIX put/call ratio csv file. But I got error "UnicodeDecodeError:'ascii' codec can't decode byte 0xa0 in position 308: ordinal not in range(128) "

Line: 47 ininitialize
date_column='Date')

What could be the reason?

Thomas