write_lzma_csv
- write_lzma_csv(df: pandas.DataFrame, path: str | Path, sep: str = '\t', index: bool = False, **kwargs: Any) None[source]
Write a dataframe as an lzma-compressed file.
- Parameters:
df – A dataframe
path – The path to the resulting LZMA compressed dataframe file
sep – The separator in the dataframe. Overrides Pandas default to use a tab.
index – Should the index be output? Overrides the Pandas default to be false.
kwargs – Additional kwargs to pass to
get_df_io()and transitively topandas.DataFrame.to_csv().