We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We should really check for valid engine names for the engine argument to pd.read_table. An invalid name results in a dubious error to the user:
engine
pd.read_table
pd.read_table('', engine='test') >>> Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pandas/io/parsers.py", line 646, in parser_f return _read(filepath_or_buffer, kwds) File "/usr/lib/python3/dist-packages/pandas/io/parsers.py", line 389, in _read parser = TextFileReader(filepath_or_buffer, **kwds) File "/usr/lib/python3/dist-packages/pandas/io/parsers.py", line 730, in __init__ self._make_engine(self.engine) File "/usr/lib/python3/dist-packages/pandas/io/parsers.py", line 929, in _make_engine self._engine = klass(self.f, **self.options) UnboundLocalError: local variable 'klass' referenced before assignment
The text was updated successfully, but these errors were encountered:
Thanks for the report, this was closed by #16511 and is fixed in 0.20.2
0.20.2
Sorry, something went wrong.
No branches or pull requests
We should really check for valid engine names for the
engine
argument topd.read_table
. An invalid name results in a dubious error to the user:The text was updated successfully, but these errors were encountered: