From 32135422ec69e6714e1df7c36a09bc0476eba7a3 Mon Sep 17 00:00:00 2001 From: Eric Liang Date: Fri, 10 Feb 2023 14:46:46 -0800 Subject: [PATCH 1/2] pandas top --- python/ray/data/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python/ray/data/__init__.py b/python/ray/data/__init__.py index 9a114f84490a..7454a649c393 100644 --- a/python/ray/data/__init__.py +++ b/python/ray/data/__init__.py @@ -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 + from ray.data._internal.compute import ActorPoolStrategy from ray.data._internal.progress_bar import set_progress_bars from ray.data.dataset import Dataset From f247e74fada036497e45432c0a01a1e6b462f7f9 Mon Sep 17 00:00:00 2001 From: Eric Liang Date: Fri, 10 Feb 2023 14:59:11 -0800 Subject: [PATCH 2/2] lint --- python/ray/data/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ray/data/__init__.py b/python/ray/data/__init__.py index 7454a649c393..ce978149e8ea 100644 --- a/python/ray/data/__init__.py +++ b/python/ray/data/__init__.py @@ -1,6 +1,6 @@ # 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 +import pandas # noqa from ray.data._internal.compute import ActorPoolStrategy from ray.data._internal.progress_bar import set_progress_bars