code: def _inplace_subset_obs(self, index):
          
          adata_subset = self[index].copy()
          self._init_as_actual(adata_subset, dtype=self._X.dtype)
docs: Inplace subsetting along variables dimension.
  
          Same as ``adata = adata[index, :]``, but inplace.