parameters: (ts)
return_statement: return ts[-1][0] - ts[0][0]
docstring: Calculates the time span of the timeseries.
  
      Args:
          ts: A timeseries list of [time, value].
  
      Returns:
          The time span of the timeseries.
docstring_summary: Calculates the time span of the timeseries.
docstring_tokens: Calculates the time span of the timeseries .
function: def timespan(ts):
      """Calculates the time span of the timeseries.
  
      Args:
          ts: A timeseries list of [time, value].
  
      Returns:
          The time span of the timeseries.
      """
      return ts[-1][0] - ts[0][0]
function_tokens: def timespan ( ts ) : return ts [ - 1 ] [ 0 ] - ts [ 0 ] [ 0 ]