kou commented on code in PR #35656:
URL: https://github.com/apache/arrow/pull/35656#discussion_r1257540254
##########
python/pyarrow/tests/test_pandas.py:
##########
@@ -4179,20 +4258,20 @@ def test_to_pandas_extension_dtypes_mapping():
assert isinstance(result['a'].dtype, pd.PeriodDtype)
-def test_array_to_pandas():
[email protected]("arr",
+ [pd.period_range("2012-01-01", periods=3,
freq="D").array,
+ pd.interval_range(1, 4).array])
Review Comment:
@jorisvandenbossche @danepitkin We can't use `pd` here because pandas may
not be available.
This causes an error on "no pandas" environment:
https://github.com/apache/arrow/actions/runs/5496447565/jobs/10016477233
This PR's CI succeeded because our "Without Pandas" job installed pandas
implicitly. It has been fixed by #36542.
Could you open an issue for this and fix this?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]