cast_X#

SingleCell.cast_X(dtype, /)[source]#

Cast X to the specified data type.

Parameters:

dtype: DTypeLike

a NumPy data type

Returns:

A new SingleCell dataset with X cast to the specified data type.

Return type:

SingleCell