dotools_py.io.read_csv#
- dotools_py.io.read_csv(path, filename=None, delimiter=',', backend='pandas', **kwargs)[source]#
Read comma separated files into a DataFrame.
- Parameters:
- path
str|PathLike[str] |Path Directory containing the comma separated file.
- filename
str(default:None) Name of the comma separated file. If not specified, assume that
pathcontains the full path to the file.- delimiter
str(default:',') Character or regex pattern to treat as the delimiter.
- backend
Literal['pandas','polars'] (default:'pandas') Library to use for reading. If
"polars"is selected and reading fails, Pandas is used as a fallback.- **kwargs
- Additional arguments passed directly to
- path
- Return type:
- Returns:
Returns a
pd.DataFramecontaining the content from the selected sheet.