store¶
Performing operations on file-like objects.
These operations include saving and loading data, as well as other relevant tasks.
Utilities
|
Verify a file path before saving, creates directories, and manages console output. |
|
Adjust the column widths in an Excel spreadsheet based on the content length. |
|
Verify a file path for loading and prints status to the console. |
|
Set the index of a dataframe using column names or integer positions. |
Saving data¶
|
Save data to a pickle file. |
|
Save data to a spreadsheet file format (e.g. CSV, Microsoft Excel or OpenDocument). |
|
Save multiple dataframes to a multi-sheet Microsoft Excel (.xlsx, .xls) or OpenDocument (.ods) format file. |
|
Save data to a JSON file. |
|
Save data to a Joblib file. |
|
Save a dataframe to a Feather file. |
|
|
|
Save a figure object to a file in a supported format. |
|
Save a figure object to a file in a supported format (with the figure object specified). |
|
Save a web page as a PDF file using wkhtmltopdf. |
|
Save data to a file in a specific format. |
Loading data¶
|
Load data from a Pickle file. |
|
Load data from a CSV file. |
|
Load one or multiple sheets from a Microsoft Excel or an OpenDocument format file. |
|
Load data from a JSON file. |
|
Load data from a Joblib file. |
|
Load a dataframe from a Feather file. |
|
Load in a compressed sparse row (CSR) or compressed row storage (CRS). |
|
Load data from a file. |
Transforming data files¶
|
Unzip data from a Zip (compressed) file. |
|
Extract data from a compressed file using 7-Zip. |
|
Convert a Markdown (.md) file to a reStructuredText (.rst) file. |
|
Convert a Microsoft Excel spreadsheet to a CSV file. |