Python API
Df utils
oxen.df_utils
The df_utils
module provides a consistent interface for loading data frames and saving them to disk.
Supported types: csv, parquet, json, jsonl, arrow
Example usage:
load
Reads a file into a data frame. The file format is inferred from the file extension.
Supported types: csv, parquet, json, jsonl, arrow
Arguments:
path
-os.PathLike
The path to the file to read.
save
Saves a data frame to a file. The file format is inferred from the file extension.
Arguments:
data_frame
-DataFrame
The polars data frame to save.path
-os.PathLike
The path to save the data frame to.