code: def maximum(data: pd.Series) -> float:
      """
      Args:
          data (pd.Series): Time series.
  
      Returns:
          float: Maximum value in ``data``.
      """
      return float(np.max(data))
  
file_path: tslumen/tslumen/profile/stats.py
imports: from typing import Any
  import numpy
  import pandas
  from scipy import stats
  from tslumen.profile.base import ProfilingFunction
label_desc: Use image node_id 8 for calling a global function with example usage: maximum(data) and returns: float