DEPR: read_csv header with non-exisiting rows behaving differently #47400
Labels
Deprecate
Functionality to remove in pandas
IO CSV
read_csv, to_csv
Needs Triage
Issue that has not been reviewed by a pandas team member
Pandas version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
Issue Description
They should be consistent, since the c engine is more widely used, I would propose adapting the behavior to raise for the python engine. We've deprecated this behavior for usecols and will raise starting with 2.0. We should do something similar here.
Expected Behavior
Both engines should be consistent
Installed Versions
Replace this line with the output of pd.show_versions()
The text was updated successfully, but these errors were encountered: