drop_obsm#

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

Create a new SingleCell dataset with keys and more_keys removed from obsm.

Parameters:
  • keys: str | Iterable[str]

    key(s) to drop

  • *more_keys: str

    additional keys to drop, specified as positional arguments

Returns:

A new SingleCell dataset with the specified key(s) removed from obsm.

Return type:

SingleCell