⚠️Changes since last version:
- **Fluent interface for classes:** OLS, WLS, Logit & BadApples objects now require a `fit` call in order to do calculations. DummyEncoder and InteractionEncoder objects now have a `transform` method for returning dataframes with encoded columns, instead of the encode method (the dictionary parameters in the old encode method now sit in the object initialization).
For example:
- OLS models are now set up via the `model = OLS(df, y_list, X_list).fit()` pattern.
- DummyEncoder output dataframes can be set up via the `df_transformed = DummyEncoder(df, categorical_col_base_levels).transform()` pattern.
🎉 New features:
- `get_dataframe_columns_diff` utils function for returning diff between two dataframes' columns. columns_added and columns_removed attributes have been removed from encoder objects as this is a more general way of comparing dataframes during the pre-processing.
- Partial regression plot function handles case where regressor is already in dataframe.