Skip to content

pandas.io.parsers.TextFileReader now support context manager with __enter__ and __exit__ function but not include in stub file #132

Closed
@gramster

Description

@gramster

pandas.io.parsers.TextFileReader now support context manager with __enter__ and __exit__ function but not include in stub file

class TextFileReader(abc.Iterator):
f = ...
orig_options = ...
engine = ...
chunksize = ...
nrows = ...
squeeze = ...
def __init__(self, f, engine = ..., **kwds) -> None: ...
def close(self) -> None: ...
def __next__(self): ...
def read(self, nrows = ...): ...
def get_chunk(self, size = ...): ...

Originally posted by @yanyongyu in #129 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions