class_docstr: Base probability distribution.
docstr: Cumulative distribution function.
docstr_tok: ["Cumulative","distribution","function","."]
code: def cdf(self, x):
      """Cumulative distribution function."""
      N = self.get_tag("approx_spl")
      approx_method = (
          "by approximating the expected value by the indicator function on "
          f"{N} samples"
      )
      warn(self._method_error_msg("mean", fill_in=approx_method))
  
      splx = pd.concat([x] * N, keys=range(N))
      spl = self.sample(N)
      ind = splx <= spl
  
      return ind.groupby(level=1, sort=False).mean()
  
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 14 for calling the BaseDistribution obj's underlying member method code with example usage: obj.cdf(x) and returns: ind