original_docstring: 
          Add speed column and values to the trajectory's dataframe.
  
          Speed is calculated as CRS units per second, except if the CRS is geographic (e.g. EPSG:4326 WGS84)
          then speed is calculated in meters per second.
  
          Parameters
          ----------
          overwrite : bool
              Whether to overwrite existing speed values (default: False)
          
docstring: Add speed column and values to the trajectory's dataframe.
  Speed is calculated as CRS units per second, except if the CRS is geographic
  then speed is calculated in meters per second.
  
  Parameters
  
  overwrite : bool
  Whether to overwrite existing speed values (default: False)
docstring_tokens: Add speed column and values to the trajectory ' s dataframe . Speed is calculated as CRS units per second except if the CRS is geographic then speed is calculated in meters per second . Parameters overwrite : bool Whether to overwrite existing speed values ( default : False )
code: def add_speed(self, overwrite=False):
          """
          Add speed column and values to the trajectory's dataframe.
  
          Speed is calculated as CRS units per second, except if the CRS is geographic (e.g. EPSG:4326 WGS84)
          then speed is calculated in meters per second.
  
          Parameters
          ----------
          overwrite : bool
              Whether to overwrite existing speed values (default: False)
          """
          if SPEED_COL_NAME in self.df.columns and not overwrite:
              raise RuntimeError('Trajectory already has speed values! Use overwrite=True to overwrite exiting values.')
          self.df = self._get_df_with_speed()
code_tokens: def add_speed ( self , overwrite = False ) : if SPEED_COL_NAME in self . df . columns and not overwrite : raise RuntimeError ( 'Trajectory already has speed values! Use overwrite=True to overwrite exiting values.' ) self . df = self . _get_df_with_speed ( )
short_docstring: Add speed column and values to the trajectory's dataframe.
short_docstring_tokens: Add speed column and values to the trajectory ' s dataframe .
comment: """
          Add speed column and values to the trajectory's dataframe.
  
          Speed is calculated as CRS units per second, except if the CRS is geographic (e.g. EPSG:4326 WGS84)
          then speed is calculated in meters per second.
  
          Parameters
          ----------
          overwrite : bool
              Whether to overwrite existing speed values (default: False)
          """