class_docstr: Base probability distribution.
code: def _iloc(self, rowidx=None, colidx=None):
      # distr_type = type(self.distr)
      subset_params = self._subset_params(rowidx=rowidx, colidx=colidx)
      # distr_subset = distr_type(**subset_params)
  
      def subset_not_none(idx, subs):
          if subs is not None:
              return idx.take(subs)
          else:
              return idx
  
      index_subset = subset_not_none(self.index, rowidx)
      columns_subset = subset_not_none(self.columns, colidx)
  
      sk_distr_type = type(self)
      return sk_distr_type(
          index=index_subset,
          columns=columns_subset,
          **subset_params,
      )
  
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 7 for calling the BaseDistribution obj's underlying member method code with example usage: obj._iloc(rowidx, colidx) and returns: sk_distr_type, idx, idx