Time Series Analysis, Exploratory Data Analysis, Feature Engineering, Energy Consumption, Data Science.
data=df_plot[df_plot['month'] == y], color=colors[i], label=y) if y == 2018: plt.text(df_plot.loc[df_plot.month==y, :].shape[0]-.9, df_plot.loc[df_plot.month==y, 'PJME_MW'][-1:].values[0], y, fontsize=12, color=colors[i]) else: plt.text(df_plot.loc[df_plot.month==y, :].shape[0]-.9,