You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/11/28 14:01:07 UTC
[GitHub] [arrow] milesgranger commented on a diff in pull request #14729: ARROW-18399: [Python] Reduce warnings during tests
milesgranger commented on code in PR #14729:
URL: https://github.com/apache/arrow/pull/14729#discussion_r1033577836
##########
python/pyarrow/tests/test_pandas.py:
##########
@@ -2164,9 +2172,17 @@ def test_nested_large_list(self):
s = (pa.array([[[1, 2, 3], [4]], None],
type=pa.large_list(pa.large_list(pa.int64())))
.to_pandas())
- tm.assert_series_equal(
- s, pd.Series([[[1, 2, 3], [4]], None], dtype=object),
- check_names=False)
+
+ # pandas.testing generates a
+ # DeprecationWarning: elementwise comparison failed
+ # numpy.VisibleDeprecationWarning: Creating an ndarray
+ # from ragged nested sequences ...
Review Comment:
These warnings are happening inside of the `pandas.testing` module though. Unless I'm misunderstanding.. should we open an issue with pandas then?
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org