skim_get_figure

skim_get_figure(df_in, save_path, format='svg')

Skim a pandas or polars dataframe, print the stats to the console, and save a version of the table as an SVG, HTML, or text file.

skim is an alternative to pandas.DataFrame.describe(), quickly providing an overview of a data frame via a table of summary statistics. It produces a different set of summary functions based on the types of columns in the dataframe. You may get better results from ensuring that you set the datatypes in your dataframe you want before running skim.

Note that any unknown column types, or mixed column types, will not be processed.

Parameters

Name Type Description Default
df_in typing.Union[pandas.pandas.DataFrame, polars.polars.DataFrame] Dataframe to skim. required
save_path typing.Union[os.os.PathLike, str] Path to save figure to (include extension). required
format str svg, html, or text. Defaults to “svg”. 'svg'