Time Series Analysis, Exploratory Data Analysis, Feature Engineering, Energy Consumption, Data Science.
fulfilled with Statsmodel library: df_plot = df[df['year'] == 2017].reset_index() df_plot = df_plot.drop_duplicates(subset=['Datetime']).sort_values(by='Datetime') df_plot = df_plot.set_index('Datetime') df_plot['PJME_MW - Multiplicative Decompose'] = df_plot['PJME_MW'] df_plot['PJME_MW - Additive