Cavin Dsouza

Results 5 comments of Cavin Dsouza

Not really sure where you ppl r facing errors. I have edited the code to accept .json files explicitly and convert them to .csv. I have mentioned the filepath in...

@dotdose : Have a look at the code here, this should work better. https://github.com/CAVIND46016/Yelp-Reviews-Dataset-Analysis/blob/master/json_to_csv_converter.py

@dessertalready : The dataset 'yelp_dataset_challenge_round9' is kinda a double zipped file. If you try to rename the file by adding a ".tar" extension to it, you'll be able to see...

Totally agree with @meenurajapandian , in this case, **_encoding = 'latin1'_** worked fine for me.

Slightly simpler version of _json_ to _csv_ conversion script can be found here: **_https://github.com/CAVIND46016/Yelp-Dataset-Analysis/blob/master/json_to_csv.py_** I have hard-coded the paths, so it should be simple to follow...