Austin Walker f440eb476c
feat: Support encoding parameter in partition_csv (#3564)
See added test file. Added support for the encoding parameter, which can
be passed directly to `pd.read_csv`.
2024-08-28 14:19:58 +00:00

14 lines
299 B
Python

from __future__ import annotations
from typing import IO, Literal
from pandas.core.frame import DataFrame
def read_csv(
filepath_or_buffer: str | IO[bytes],
*,
encoding: str | None = ...,
sep: str | None = ...,
header: int | None | Literal["infer"] = ...,
) -> DataFrame: ...