Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: read parquet files in chunks using to_parquet and chunksize #58544

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 8 additions & 0 deletions pandas/_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,11 @@ def __iter__(self) -> Iterator[AnyStr_co]:
# for engine=python
...

class ReadParquetBuffer(ReadBuffer[AnyStr_co], Protocol):
def __iter__(self) -> Iterator[AnyStr_co]:
# for engine=python
...

def fileno(self) -> int:
# for _MMapWrapper
...
Expand Down Expand Up @@ -419,6 +424,9 @@ def closed(self) -> bool:
# read_csv engines
CSVEngine = Literal["c", "python", "pyarrow", "python-fwf"]

# read_parquet engines
ParquetEngine = Literal["pyarrow", "fastparquet"]

# read_json engines
JSONEngine = Literal["ujson", "pyarrow"]

Expand Down