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
- Host: GitHub
- URL: https://github.com/gdmcdonald/json2csv
- Owner: gdmcdonald
- License: gpl-3.0
- Created: 2016-10-31T02:10:10.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-04-05T06:19:28.000Z (about 7 years ago)
- Last Synced: 2025-05-31T05:44:57.239Z (about 1 year ago)
- Topics: csv, json, json2csv, python, python-script
- Language: Python
- Size: 16.6 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`...