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)