Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.12.0
Description
Importing PyArrow is more than twice slower when Pandas is installed:
$ time python -c "import pyarrow" real 0m0,360s user 0m0,305s sys 0m0,037s $ time python -c "import sys; sys.modules['pandas'] = None; import pyarrow" real 0m0,144s user 0m0,124s sys 0m0,020s
We should only import Pandas when necessary, e.g. when asked to ingest or create Pandas data.