code: def df_scaled(data: TypeSeriesFrame) -> TypeSeriesFrame:
      """Data scaled to be between 0 and 1.
  
      Args:
          data (Union[pd.Series, pd.DataFrame]): Time series.
  
      Returns:
          Union[pd.Series, pd.DataFrame]: Scaled data.
      """
      return (data - data.min()) / (data.max() - data.min())
  
file_path: tslumen/tslumen/profile/summary.py
imports: from typing import Any, Optional
  import numpy
  import pandas
  from statsmodels.tsa.tsatools import freq_to_period
  from tslumen.profile.base import ProfilingFunction, TypeSeriesFrame
label_desc: Use image node_id 8 for calling a global function with example usage: df_scaled(data) and returns: unknown