parquet
Module to interact with parquet files.
This module contains functions to read and write parquet files.
Typical usage example
write_parquet ¶
Writes data frame to parquet file.
Parameters:
-
data_frame
(
pd.DataFrame
) –Data frame that should be written to file.
-
file
(
io.BytesIO
) –Binary file stream.
-
index
(
typing.Optional[bool]
) –Whether index is included in parquet file. See pandas documentation.
read_parquet ¶
Reads parquet from file and returns data frame.
Parameters:
-
file
(
io.BytesIO
) –Binary file stream.
Returns:
-
pd.DataFrame
–Data frame read from parquet file.