class_docstr: Base probability distribution.
code: def _subset_params(self, rowidx, colidx):
      params = self._get_dist_params()
  
      subset_param_dict = {}
      for param, val in params.items():
          if val is not None:
              arr = np.array(val)
          else:
              arr = None
          # if len(arr.shape) == 0:
          # do nothing with arr
          if len(arr.shape) >= 1 and rowidx is not None:
              arr = arr[rowidx]
          if len(arr.shape) >= 2 and colidx is not None:
              arr = arr[:, colidx]
          if np.issubdtype(arr.dtype, np.integer):
              arr = arr.astype("float")
          subset_param_dict[param] = arr
      return subset_param_dict
  
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 6 for calling the BaseDistribution obj's underlying member method code with example usage: obj._subset_params(rowidx, colidx) and returns: subset_param_dict