Created
June 29, 2023 02:52
-
-
Save erelinz/ddba64082289f2090ebe71e2eeb86506 to your computer and use it in GitHub Desktop.
parquet2json is a Python script that converts a Parquet file to JSON format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import sys; import pandas as pd; pd.read_parquet(sys.argv[1]).to_json(sys.stdout, orient='records') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment