Python + Pandas Tutorial - (Pt.5) Rolling Filter

preview_player
Показать описание
In this video we continue working with the data frame and show how to smooth our timeseries data using the rolling filter.
We'll cover some of the basics and look at different window types.

Рекомендации по теме
Комментарии
Автор

Searched for some cute rolling panda videos, ended up here. Not disappointed

alihasanabdullah
Автор

Thank you for the explanation, it helps.

arifproklamasi
Автор

Nice video. To enable %matplotlib nbagg. It should be before import of matplotlib

jktrivedi
Автор

I think something has changed in stock data at Kaggle. I got problem using .mean(), jupyter claims it cannot handle object dtype which is used in column 'Name'. It's obvious, that it is impossible to get .mean() from strings, but it works for you in 7:50, what the heck?

martgryfny
Автор

Hey, thanks a lot for your tutorial videos, very helpful!
I have a question if you don't mind. I want to pull out something like this:
*a = df.index - df.index.where(df.candle == df.candle -3)[0]*
*df['test'] =
So basically, I want to look back X amount of periods with .rolling(), but I don't know exactly how many therefore I need to calculate it based on df.candle values. I want to look 3 candles back to be more precise and calculate the index difference to use inside .rolling(). I though something like the above piece of code would work, but no, it's giving me errors...

irmscher
Автор

How do I plot a certain period from a data set. ( like Jan-Feb) in a full year's data

Tohan_P
Автор

How do you comment more than one line in Jupyter?

johanbonaparta