An open API service indexing awesome lists of open source software.

https://github.com/gdmcdonald/json2csv

Python script for converting .json files to .csv format
https://github.com/gdmcdonald/json2csv

csv json json2csv python python-script

Last synced: about 2 months ago
JSON representation

Python script for converting .json files to .csv format

Awesome Lists containing this project

README

          

# json2csv
Python script for converting .json.gz files to .csv.gz format

Specifically for converting the .json files available here:
http://jmcauley.ucsd.edu/data/amazon/
which are amazon reviews, into csv file format to make them compatible with common semantic analysis software.

### Example usage:

`>python json2csv.py mybigfile.json.gz 1000000`

converts the gzipped json file `mybigfile.json.gz` into multiple csv files of length 1000000 rows, called `mybigfile1.csv.gz`, `mybigfile2.csv.gz`, `mybigfile3.csv.gz`...