parameters: (self, index: int)
docstring: Sets the index of the currently selected dataset.
docstring_summary: Sets the index of the currently selected dataset.
docstring_tokens: Sets the index of the currently selected dataset .
function: def current_dataset_index(self, index: int) -> None:
          """Sets the index of the currently selected dataset."""
          if index is not None and index >= self.number_of_datasets:
              raise RuntimeError(f"The provided dataset index ({index}) is too large.")
  
          self._current_dataset_index = index
function_tokens: def current_dataset_index ( self , index : int ) -> None : if index is not None and index >= self . number_of_datasets : raise RuntimeError ( f"The provided dataset index ({index}) is too large." ) self . _current_dataset_index = index