A time-series is a measurement of one or more variables over a period of time and at a specific interval. Once a time-series is captured, analysis is often performed to identify patterns in the series, in essence, determining what is happening as time goes by. This ability to analyze time-series data is essential in the modern world, be it in order to analyze financial information or to monitor exercise on a wearable device and match your exercises to goals and diet.
pandas provides extensive abilities for modeling time-series data. In this chapter, we will examine many of these capabilities, including:
- Creating time series with specific frequencies
- Representation of dates, time, and intervals
- Representing a point in time with a Timestamp
- Using a Timedelta to represent a time interval
- Indexing using DatetimeIndex
- Creating time-series with specific frequencies...