scanpy.read_csv

scanpy.read_csv(filename, delimiter=',', first_column_names=None, dtype='float32')

Read .csv file.

Same as read_text() but with default delimiter ','.

Parameters
filename : Union[PathLike, Iterator[str]]

Data file.

delimiter : Optional[str] (default: ',')

Delimiter that separates data within text file. If None, will split at arbitrary number of white spaces, which is different from enforcing splitting at single white space ' '.

first_column_names : Optional[bool] (default: None)

Assume the first column stores row names.

dtype : str (default: 'float32')

Numpy data type.

Return type

AnnData