Pipeline(steps=[('preprocessing',
                 ColumnTransformer(transformers=[('Categorical',
                                                  Pipeline(steps=[('categorical_imputer',
                                                                   SimpleImputer(missing_values=<NA>,
                                                                                 strategy='most_frequent')),
                                                                  ('onehotencoder',
                                                                   OneHotEncoder(drop='first',
                                                                                 handle_unknown='ignore'))]),
                                                  ['U.S._STATE', 'NERC.REGION',
                                                   'CLIMATE.CATEGORY',
                                                   'CAUSE.CATEGORY']),
                                                 ('Numerical',
                                                  Pipeline(steps=[('numerical_imputer',
                                                                   SimpleImputer(missing_values=<NA>)),
                                                                  ('polynomial',
                                                                   PolynomialFeatures(include_bias=False))]),
                                                  ['YEAR', 'MONTH',
                                                   'OUTAGE.DURATION',
                                                   'TOTAL.SALES',
                                                   'TOTAL.CUSTOMERS',
                                                   'ANOMALY.LEVEL'])])),
                ('Lasso', Lasso(random_state=42))])
In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.
On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.