Pandas ImportError with


I’m reading in a CSV file and inspecting data as follows:

from ray import data

ray_data = data.read_csv("file_name.csv")

This works fine with Pandas versions <= 2.1.4. However, with Pandas version 2.2.0 (just released yesterday), I get the following error running the above code:

ImportError: cannot import name 'ExtensionArrayFormatter' from '' (.../lib/python3.9/site-packages/pandas/io/formats/

Not a big deal since it works on earlier Pandas versions, but just FYI. Thanks!

Thanks for reporting, I have opened a GH issue to track here: [Data] `ExtensionArrayFormatter` import error with pandas 2.2.0 · Issue #42842 · ray-project/ray · GitHub