I am trying to read a file of 6GB in my python 3 terminal and was not able to execute the read file line. the code is as below:
#define data directory
data_dir = 'C://Star/star_data/csv\Globe'
#read the review dataset
yelp = pd.read_csv(data_dir+'\star_data_python.csv')
X, y = star.data, star.target
X.shape
error:
UnicodeDecodeError Traceback (most recent call last)
<ipython-input-4-bc09b45c73bb> in <module>()
4
5 #read the review dataset
----> 6 yelp = pd.read_csv(data_dir+'\star_data_python.csv')
7 X, y = star.data, star.target
8 X.shape
What could be the problem? thanks