class_docstr: Adapter for tensorflow-probability distributions.
docstr: Cumulative distribution function.
docstr_tok: ["Cumulative","distribution","function","."]
code: def cdf(self, x):
      """Cumulative distribution function."""
      if isinstance(x, pd.DataFrame):
          dist_at_x = self.loc[x.index, x.columns]
          tensor = dist_at_x.distr.cdf(x.values)
          return pd.DataFrame(tensor, index=x.index, columns=x.columns)
      else:
          dist_at_x = self
          return dist_at_x.distr.cdf(x)
  
imports: from warnings import warn
  import numpy
  import pandas
  from sktime.base import BaseObject
  from sktime.utils.pandas import df_map
  from sktime.utils.validation._dependencies import _check_estimator_deps
label_desc: Use image node_id 5 for calling the _BaseTFDistribution obj's underlying member method code with example usage: obj.cdf(x) and returns: pd, dist_at_x