anndata.experimental.backed.Dataset2D.reindex#
- Dataset2D.reindex(index=None, axis=0, fill_value=nan)[source]#
Reindex the current object against a new index.
- Parameters:
- index
Index
|None
(default:None
) The new index for reindexing, by default None
- axis
Literal
[0
] (default:0
) Provided for API consistency, should not be called over axis!=0, by default 0
- fill_value
Any
|None
(default:nan
) The value with which to fill in via
pandas.Series.reindex()
, by default np.nan
- index
- Return type:
- Returns:
Reindexed dataset.