Skip to content

pandas/missing-pyarrow

Rule missing-pyarrow
Pack pandas
Severity warning
Fix none, edit by hand
Library versions every version

pyarrow is not installed, so pandas stores text columns as Python strings and the .str methods run slower. Add pyarrow to the project, which made them 3 to 11 times faster on 1,000,000 rows.

Terminal window
uv add pyarrow

Add the package to the project environment, not to xpd itself.

xpd warns when the project's venv has pandas and does not have pyarrow.

xpd prints this message with the issue. A name that starts with $ stands for code from your file.

pyarrow is not installed, so text columns are stored as Python strings. With pyarrow the .str methods ran 3 to 11 times faster on 1,000,000 rows. Add pyarrow to the project.

Browse the other rules of the pandas pack.