store

Performing operations on file-like objects.

These operations include saving and loading data, as well as other relevant tasks.

Utilities

_check_saving_path(path_to_file[, verbose, ...])

Verifies a specified file path before saving.

_autofit_column_width(writer, writer_kwargs, ...)

Adjusts the column widths in an Excel spreadsheet based on the content length.

_check_loading_path(path_to_file[, verbose, ...])

Checks the status of loading a file from a specified path.

_set_index(data[, index])

Sets the index of a dataframe.

Saving data

save_pickle(data, path_to_file[, verbose, ...])

Saves data to a pickle file.

save_spreadsheet(data, path_to_file[, ...])

Saves data to a spreadsheet file format (e.g. CSV, Microsoft Excel or OpenDocument).

save_spreadsheets(data, path_to_file, ...[, ...])

Saves multiple dataframes to a multi-sheet Microsoft Excel or OpenDocument format file.

save_json(data, path_to_file[, engine, ...])

Saves data to a JSON file.

save_joblib(data, path_to_file[, verbose, ...])

Saves data to a Joblib file.

save_feather(data, path_to_file[, index, ...])

Saves a dataframe to a Feather file.

save_svg_as_emf(path_to_svg, path_to_emf[, ...])

Saves a SVG file (.svg) as a EMF file (.emf).

save_fig(path_to_file[, dpi, verbose, ...])

Saves a figure object to a file in a supported format.

save_figure(data, path_to_file[, verbose, ...])

Saves a figure object to a file in a supported format (with the figure object specified).

save_html_as_pdf(data, path_to_file[, ...])

Saves a web page as a PDF file using wkhtmltopdf.

save_data(data, path_to_file[, err_warning, ...])

Saves data to a file in a specific format.

Loading data

load_pickle(path_to_file[, verbose, ...])

Loads data from a Pickle file.

load_csv(path_to_file[, delimiter, header, ...])

Loads data from a CSV file.

load_spreadsheets(path_to_file[, as_dict, ...])

Loads one or multiple sheets from a Microsoft Excel or an OpenDocument format file.

load_json(path_to_file[, engine, verbose, ...])

Loads data from a JSON file.

load_joblib(path_to_file[, verbose, ...])

Loads data from a Joblib file.

load_feather(path_to_file[, index, verbose, ...])

Loads a dataframe from a Feather file.

load_csr_matrix(path_to_file[, verbose, ...])

Loads in a compressed sparse row (CSR) or compressed row storage (CRS).

load_data(path_to_file[, err_warning, ...])

Loads data from a file.

Transforming data files

unzip(path_to_zip_file[, output_dir, ...])

Unzips data from a Zip (compressed) file.

seven_zip(path_to_zip_file[, output_dir, ...])

Extracts data from a compressed file using 7-Zip.

markdown_to_rst(path_to_md, path_to_rst[, ...])

Converts a Markdown (.md) file to a reStructuredText (.rst) file.

xlsx_to_csv(path_to_xlsx[, path_to_csv, ...])

Converts a Microsoft Excel spreadsheet to a CSV file.