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.
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.
Message
Section titled “Message”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.