docs: def datetime_to_year_quarter(dt):
      """
      Args:
          dt: a datetime
      Returns:
          tuple of the datetime's year and quarter
      """
      year = dt.year
      quarter = int(math.ceil(float(dt.month)/3))
      return (year, quarter)