Created
December 12, 2019 15:57
-
-
Save QuakePhil/5506f18f35b6cda4b966187e90f31386 to your computer and use it in GitHub Desktop.
test.py
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
import pandas as pd | |
import pyarrow as pa | |
import pyarrow.parquet as pq | |
buffer = [[1,2,3], [4,5,6], [7,8,9]] | |
pq.write_table( | |
pa.Table.from_pandas(pd.DataFrame(buffer)), "test.parquet" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment