class_docstr: Base probability distribution.
docstr: Integer location indexer.
  
  Use `my_distribution.iloc[index]` for `pandas`-like row/column subsetting
  of `BaseDistribution` descendants.
  
  `index` can be any `pandas` `iloc` compatible index subsetter.
  
  `my_distribution.iloc[index]` or `my_distribution.iloc[row_index, col_index]`
  subset `my_distribution` to rows defined by `row_index`, cols by `col_index`,
  to exactly the same/cols rows as `pandas` `iloc` would subset
  rows in `my_distribution.index` and columns in `my_distribution.columns`.
docstr_tok: ["Integer","location","indexer",".","Use","`","my_distribution.iloc","[","index","]","`","for","`","pandas","`","-like","row\/column","subsetting","of","`","BaseDistribution","`","descendants",".","`","index","`","can","be","any","`","pandas","`","`","iloc","`","compatible","index","subsetter",".","`","my_distribution.iloc","[","index","]","`","or","`","my_distribution.iloc","[","row_index",",","col_index","]","`","subset","`","my_distribution","`","to","rows","defined","by","`","row_index","`",",","cols","by","`","col_index","`",",","to","exactly","the","same\/cols","rows","as","`","pandas","`","`","iloc","`","would","subset","rows","in","`","my_distribution.index","`","and","columns","in","`","my_distribution.columns","`","."]
code: def iloc(self):
      """Integer location indexer.
  
      Use `my_distribution.iloc[index]` for `pandas`-like row/column subsetting
      of `BaseDistribution` descendants.
  
      `index` can be any `pandas` `iloc` compatible index subsetter.
  
      `my_distribution.iloc[index]` or `my_distribution.iloc[row_index, col_index]`
      subset `my_distribution` to rows defined by `row_index`, cols by `col_index`,
      to exactly the same/cols rows as `pandas` `iloc` would subset
      rows in `my_distribution.index` and columns in `my_distribution.columns`.
      """
      return _Indexer(ref=self, method="_iloc")
  
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 3 for calling the BaseDistribution obj's underlying member method code with example usage: obj.iloc() and returns: _Indexer