code: def _insert_travel_impedance_data_to_db(self, travel_impedance_measure_name, data):
          
          f = float
          data_tuple = [(x["from_stop_I"], x["to_stop_I"], f(x["min"]), f(x["max"]), f(x["median"]), f(x["mean"])) for x in data]
          insert_stmt = '''INSERT OR REPLACE INTO ''' + travel_impedance_measure_name + ''' (
                                from_stop_I,
                                to_stop_I,
                                min,
                                max,
                                median,
                                mean) VALUES (?, ?, ?, ?, ?, ?) '''
          self.conn.executemany(insert_stmt, data_tuple)
          self.conn.commit()
docs: Parameters
          ----------
          travel_impedance_measure_name: str
          data: list[dict]
              Each list element must contain keys:
              "from_stop_I", "to_stop_I", "min", "max", "median" and "mean"