code: def get_temperature_interval(self):
          
          intervals = ({
              -20: 1, -19: 1, -18: 1, -17: 1, -16: 1, -15: 1, -14: 2,
              -13: 2, -12: 2, -11: 2, -10: 2, -9: 3, -8: 3, -7: 3, -6: 3, -5: 3,
              -4: 4, -3: 4, -2: 4, -1: 4, 0: 4, 1: 5, 2: 5, 3: 5, 4: 5, 5: 5,
              6: 6, 7: 6, 8: 6, 9: 6, 10: 6, 11: 7, 12: 7, 13: 7, 14: 7, 15: 7,
              16: 8, 17: 8, 18: 8, 19: 8, 20: 8, 21: 9, 22: 9, 23: 9, 24: 9,
              25: 9, 26: 10, 27: 10, 28: 10, 29: 10, 30: 10, 31: 10, 32: 10,
              33: 10, 34: 10, 35: 10, 36: 10, 37: 10, 38: 10, 39: 10, 40: 10})
  
          temperature_rounded = [ceil(i) for i in self.df['temperature_geo']]
  
          temperature_interval = [intervals[i] for i in temperature_rounded]
  
          return np.transpose(np.array(temperature_interval))
docs: Appoints the corresponding temperature interval to each temperature
          in the temperature vector.