From RangeIndex to DatetimeIndex

0

I am analyzing the time series of an action (historical from 2000 to 2018)

df.index
Out[179]: RangeIndex(start=0, stop=4309, step=1)

df.info
[4309 rows x 5 columns]>

type(df)
Out[178]: pandas.core.frame.DataFrame

I want to be able to better manage my time series, placing all data of the DatetimeIndex type to be able to make a more punctual analysis (monthly, quarterly, etc.) How can I do it? Can it be?

    
asked by Napoleon Ricaurte 03.06.2018 в 12:51
source

0 answers