scvi.data.read_text#
- scvi.data.read_text(filename, delimiter=None, first_column_names=None, dtype='float32')[source]#
Read
.txt
,.tab
,.data
(text) file.Same as
read_csv()
but with default delimiterNone
.- Parameters:
filename (Union[PathLike, Iterator[str]]) – Data file, filename or stream.
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: