Skip to content

Commit

Permalink
Update pandas.md
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipMay authored Mar 31, 2024
1 parent cda4c20 commit baf0cd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/python/pandas.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ df = pd.read_csv(
## Load and Save as Parquet

- save to parquet
- `df.to_parquet("file_name.parquet.gz", compression="gzip", index=False)`
- `df.to_parquet("file_name.parquet", compression="gzip", index=False)`
- see <https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.to_parquet.html>
- load from parquet
- `df = pd.read_parquet("file_name.parquet.gz")`
- `df = pd.read_parquet("file_name.parquet")`
- see <https://pandas.pydata.org/docs/reference/api/pandas.read_parquet.html>

## Load and Save with Pickle
Expand Down

0 comments on commit baf0cd2

Please sign in to comment.