code: def infer_transportation_modes(self, dt_threshold=10):
          
          self.segments = [
              segment.infer_transportation_mode(dt_threshold=dt_threshold)
              for segment in self.segments
              ]
          return self
docs: In-place transportation inferring of segments
  
          Returns:
              This track