Time Series Analysis, Exploratory Data Analysis, Feature Engineering, Energy Consumption, Data Science.
series is stationary, so often is better to first differentiate the series to stabilize the signal. Said that, here is the code to plot PACF for different hours of the day: from statsmodels.graphics.tsaplots import plot_pacf actual = df['PJME_MW'] hours = range(0, 24, 4) for hour in hours: