code: def cov(data: pd.Series) -> Any:
      """
      Args:
          data (pd.Series): Time series.
  
      Returns:
          float: Coefficient of variation of ``data``.
  
      See Also:
          https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.variation.html
      """
      data_ = data.dropna()
      if len(data_) == 0:
          return np.nan
      return float(stats.variation(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 6 for calling a global function with example usage: cov(data) and returns: float, np