Time Series Analysis, Exploratory Data Analysis, Feature Engineering, Energy Consumption, Data Science.
and then aggregated taking the mean. Here’s the code: import seaborn as sns # Defining the dataframe df_plot = df[['hour', 'day_str', 'PJME_MW']].dropna().groupby(['hour', 'day_str']).mean()[['PJME_MW']].reset_index() # Plot using Seaborn plt.figure(figsize=(10,8)) sns.lineplot(data = df_plot,