class_docstr: Base probability distribution.
docstr: Return string representation of self.
docstr_tok: ["Return","string","representation","of","self","."]
code: def to_str(self):
      """Return string representation of self."""
      params = self._get_dist_params()
  
      prt = f"{self.__class__.__name__}("
      for paramname, val in params.items():
          prt += f"{paramname}={val}, "
      prt = prt[:-2] + ")"
  
      return prt
  
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 9 for calling the BaseDistribution obj's underlying member method code with example usage: obj.to_str() and returns: prt