Time-series data can be created on intervals other than daily frequency. Different frequencies can be generated with pd.date_range() by utilizing the freq parameter. This parameter defaults to a value of 'D' which represents daily frequency.
To demonstrate alternative frequencies, the following creates a DatetimeIndex with 1-minute intervals by specifying freq='T':
This time-series allows us to slice at a finer resolution. The following slices at the minute level:
The following table lists the ...