BUG: Pyarrow engine doesn't seem to support \s+ but error message implies it does? #52554
Open
2 of 3 tasks
Labels
Arrow
pyarrow functionality
Bug
Error Reporting
Incorrect or improved errors from pandas
IO CSV
read_csv, to_csv
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
This fails with the following error:
Expected Behavior
I'm not sure if
pyarrow
is meant to support\s+
. If pyarrow supports it, then this should not fail. Ifpyarrow
does not support it, then I believe the error should be modified to reflect this, since it now seems to imply that\s+
is not interpreted as a regex, so pyarrow should support it.Update: I looked in the main branch and it seems that pyarrow does not to support \s+, so changing the error message should be enough.
Installed Versions
The text was updated successfully, but these errors were encountered: