Time Series Indexes—Attributes
Learn about the different attributes of time series objects in pandas.
Introduction
Now that we know the basic capabilities of time series indexes, let’s delve deeper into understanding their attributes, which provide us with valuable time-based information.
Like before, we’ll use the DatetimeIndex
object to represent time series indexes in this lesson due to its ubiquity in real-world use cases. Nonetheless, many of the properties seen in DatetimeIndex
are also available in the other two indexes, TimedeltaIndex
and PeriodIndex
.
We’ll use the New Delhi daily climate time series dataset for the examples in this lesson.
Get hands-on with 1400+ tech skills courses.