class_docstr: Base probability distribution.
docstr: Shape of self, a pair (2-tuple).
docstr_tok: ["Shape","of","self",",","a","pair","(","2-tuple",")","."]
code: def shape(self):
      """Shape of self, a pair (2-tuple)."""
      return (len(self.index), len(self.columns))
  
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 4 for calling the BaseDistribution obj's underlying member method code with example usage: obj.shape() and returns: len,  len