-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
Open
Labels
BugClosing CandidateMay be closeable, needs more eyeballsMay be closeable, needs more eyeballsCompatpandas objects compatability with Numpy or Python functionspandas objects compatability with Numpy or Python functionsStringsString extension data type and string dataString extension data type and string data
Description
We currently check if pyarrow is available (and a sufficiently recent version), and if that's the case, simply import pyarrow.compute:
pandas/pandas/core/arrays/string_arrow.py
Lines 63 to 65 in 3fe8e24
| if not pa_version_under1p0: | |
| import pyarrow as pa | |
| import pyarrow.compute as pc |
However, in theory, it is possible to have a pyarrow installation without pyarrow.compute support (it's an optional component when building). In that case the import pyarrow.compute as pc import will fail giving a slightly confusing error message + it will fail on a basic import of pandas (even without using any pyarrow functionality).
Metadata
Metadata
Assignees
Labels
BugClosing CandidateMay be closeable, needs more eyeballsMay be closeable, needs more eyeballsCompatpandas objects compatability with Numpy or Python functionspandas objects compatability with Numpy or Python functionsStringsString extension data type and string dataString extension data type and string data