Pandas Time Group Analysis three: Moving and Sheath

Pandas Time Series Analysis 6: Shifting and Lagging

Shifting and lagging is used to shift or lag the values in a time series back and forward in time. shift and tshift methods can be called on datadframe and timeseries both to either shift values or datetimes.

To download csv and code for all tutorials: go to, click on a green button to clone or download the entire repository and then go to relevant folder to get access to that specific file.

Video Rating: / 5

Lagged unbiased constructs

This video explains what the is interpretation of lagged independent variables in an econometric model, and introduces the concept of a ‚lag distribution‘. Check out for course materials, and information regarding updates on each of the courses. Quite excitingly (for me at least), I am about to publish a whole series of new videos on Bayesian statistics on youtube. See here for information: Accompanying this series, there will be a book: