Locators to display date and time

For time series plotting, Matplotlib provides a list of tick locators to serve as datetime markers:

  • MinuteLocator
  • HourLocator
  • DayLocator
  • WeekdayLocator
  • MonthLocator 
  • YearLocator
  • RRuleLocator, which allows arbitrary date tick specification
  • AutoDateLocator
  • MultipleDateLocator

To plot time series, we can also use Pandas to specify the datetime format for data in the x axis.

Time series data can be resampled by aggregation methods such as  mean(), sum(), or a custom function.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.201.106