Skip to content

Commit

Permalink
[data] Fix pandas import failures by moving it to a top-level data im…
Browse files Browse the repository at this point in the history
…port (#32447)
  • Loading branch information
ericl authored Feb 14, 2023
1 parent 421b527 commit bc01288
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/ray/data/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Short term workaround for https://github.com/ray-project/ray/issues/32435
# Datasets currently has a hard dependency on pandas, so it doesn't need to be delayed.
import pandas # noqa

from ray.data._internal.compute import ActorPoolStrategy
from ray.data._internal.progress_bar import set_progress_bars
from ray.data.dataset import Dataset
Expand Down

0 comments on commit bc01288

Please sign in to comment.