raulcd commented on issue #35235:
URL: https://github.com/apache/arrow/issues/35235#issuecomment-1514739945
The failure on
`pyarrow/tests/test_pandas.py::TestConvertDateTimeLikeTypes::test_timestamp_to_pandas_out_of_bounds`
seems related with Timezone, because it passes locally with pandas dev if I
just do this:
```
$ git diff
diff --git a/python/pyarrow/tests/test_pandas.py
b/python/pyarrow/tests/test_pandas.py
index 60c4831..129502b 100644
--- a/python/pyarrow/tests/test_pandas.py
+++ b/python/pyarrow/tests/test_pandas.py
@@ -1458,7 +1458,11 @@ class TestConvertDateTimeLikeTypes:
# check actual garbage output
arr.to_pandas(safe=False)
table.to_pandas(safe=False)
- table.column('a').to_pandas(safe=False)
+ if not tz:
+ table.column('a').to_pandas(safe=False)
+ else:
+ with pytest.raises(pa.ArrowInvalid, match=msg):
+ table.column('a').to_pandas(safe=False)
def test_timestamp_to_pandas_empty_chunked(self):
# ARROW-7907 table with chunked array with 0 chunks
```
Taking a look on the latest pandas commits:
https://github.com/pandas-dev/pandas/commits/main
it might be related to: https://github.com/pandas-dev/pandas/pull/52677
but I am unsure
--
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]