Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • This example helped me but I don't understand one part. I have monthly data and I was setting the period to 12 and receive the error. After seeing your example I set the period to 11 and it works just fine. How is the period set? Is it always points in a year minus 1?
    – MECoskun
    Commented Apr 9, 2023 at 22:01
  • documentation: Period of the series. Must be used if x is not a pandas object or if the index of x does not have a frequency. Overrides default periodicity of x if x is a pandas object with a timeseries index. Commented Apr 10, 2023 at 14:41
  • In my example I am intrepolating 3 data points at a time for the frequency. Commented Apr 10, 2023 at 15:00