pandas/missing-pyarrow
| Pack | Severity | Fix | Versions |
|---|---|---|---|
| pandas | warning | none, edit by hand | All versions |
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.
uv add pyarrowAdd the package to the project environment, not to xpd itself.
When xpd warns
Section titled “When xpd warns”xpd warns when the project's venv has pandas and does not have pyarrow.
Diagnostic message
Section titled “Diagnostic message”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.See all rules in the pandas pack.