We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc8285f commit d39a26bCopy full SHA for d39a26b
pandas/io/parsers/readers.py
@@ -1809,6 +1809,9 @@ def _refine_defaults_read(
1809
kwds["delimiter"] = delimiter
1810
1811
if engine is not None:
1812
+ if engine not in ["c", "python", "pyarrow", "polars"]:
1813
+ raise ValueError(f"Unknown engine: {engine}")
1814
+ kwds["engine"] = engine
1815
kwds["engine_specified"] = True
1816
else:
1817
kwds["engine"] = "c"
0 commit comments