mpl_bsic.preprocess_dataframe#

mpl_bsic.preprocess_dataframe(df)[source]#

Handle and preprocess the DataFrame before plotting.

Handle and preprocess the DataFrame before plotting. It sets all the columns to lowercase and sets the index as the dates (converting to datetime).

Parameters:
dfpd.DataFrame

The DataFrame to preprocess.

See also

mpl_bsic.apply_BSIC_style

The function that applies the style to the plot.

Examples

This is the examples section. WIP.