scvi.data.read_csv#

scvi.data.read_csv(filename, delimiter=',', first_column_names=None, dtype='float32')[source]#

Read .csv file.

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

Parameters:
  • filename (Union[PathLike, Iterator[str]]) – Data file.

  • delimiter (Optional[str]) – 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]) – Assume the first column stores row names.

  • dtype (str) – Numpy data type.

Return type:

AnnData