diff --git a/source/python/pandas.md b/source/python/pandas.md index fa74d2e..5ceae40 100644 --- a/source/python/pandas.md +++ b/source/python/pandas.md @@ -39,13 +39,13 @@ df = pd.read_csv( ## Load and Save as Parquet -- save to parquet: `df.to_parquet(".parquet.gz", compression="gzip", index=False)` -- load from parquet: `df = read_parquet(".parquet.gz")` +- save to parquet: `df.to_parquet("file_name.parquet.gz", compression="gzip", index=False)` +- load from parquet: `df = read_parquet("file_name.parquet.gz")` ## Load and Save with Pickle -- save to parquet: `df.to_pickle(".pkl.xz", compression="xz")` -- load from parquet: `df = read_pickle(".pkl.xz")` +- save to parquet: `df.to_pickle("file_name.pkl.xz", compression="xz")` +- load from parquet: `df = read_pickle("file_name.pkl.xz")` - see - see