set_var_names#
- SingleCell.set_var_names(column, /)[source]#
Sets a column as the new first column of var, i.e. the var_names.
- Parameters:
column: str
the column name in var; must be String, Enum, Categorical, or integer
- Returns:
A new SingleCell dataset with column as the first column of var. If column is already the first column, return this dataset unchanged.
- Return type: