linreg_ally.eda
Functions
|
Does preliminary exploratory data analysis (EDA) on dataset |
Module Contents
- linreg_ally.eda.eda_summary(train_df: pandas.DataFrame, color: str = None) altair.ConcatChart[source]
Does preliminary exploratory data analysis (EDA) on dataset to return plots to the user
- Parameters:
train_df (pd.DataFrame) – Training dataset
color (str, default None) – Column name in train_df to be used for coloring the data
- Returns:
A chart that shows the distributions of various input features
- Return type:
alt.ConcatChart
- Raises:
KeyError – When color is not in the train_df columns
TypeError – When either train_df or color is not the expected type
Examples
>>> from linreg_ally.eda import eda_summary >>> summary_chart = eda_summary(train_df, color='y') >>> summary_chart.show()