Closed
Description
Pandas seems to ignore the extra (invalid) parameters. For e.g.
Code Sample, a copy-pastable example if possible
import pandas as pd
df=pd.read_excel('myfile.xlsx', some_dummy_param=True)
Note that some_dummy_param does not throw an error.
Problem description
Is there any way to make sure only valid parameters are passed to read_excel method?
Expected Output
Since there is no such parameter called "some_dummy_param", I should get an error:
TypeError: init() got an unexpected keyword argument 'some_dummy_param'