Skip to content

Commit 9371ad7

Browse files
DOC: fix ES01 for pandas.plotting.autocorrelation_plot
1 parent c708e15 commit 9371ad7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pandas/plotting/_misc.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,16 @@ def autocorrelation_plot(series: Series, ax: Axes | None = None, **kwargs) -> Ax
633633
"""
634634
Autocorrelation plot for time series.
635635
636+
This method generates an autocorrelation plot for a given time series,
637+
which helps to identify any periodic structure or correlation within the
638+
data across various lags. The autocorrelations are computed for increasing
639+
lags and plotted as vertical bars. Horizontal lines at 95% and 99% confidence
640+
intervals are shown to assist in identifying statistically significant lags. The
641+
dashed line corresponds to the 99% confidence band, which can help detect
642+
whether observed autocorrelations deviate significantly from what would
643+
be expected under white noise. This plot is useful in time series analysis for
644+
identifying potential model structures, such as autoregressive components.
645+
636646
Parameters
637647
----------
638648
series : Series

0 commit comments

Comments
 (0)