select_uns#

SingleCell.select_uns(keys, /, *more_keys)[source]#

Subsets uns to the specified key(s).

Parameters:
  • keys: str | Iterable[str]

    key(s) to select

  • *more_keys: str

    additional keys to select, specified as positional arguments

Returns:

A new SingleCell dataset with uns subset to the specified key(s).

Return type:

SingleCell