kou commented on code in PR #36464:
URL: https://github.com/apache/arrow/pull/36464#discussion_r1252662036
##########
python/pyarrow/tests/test_pandas.py:
##########
@@ -3564,7 +3567,10 @@ def test_to_pandas_split_blocks():
def _check_blocks_created(t, number):
x = t.to_pandas(split_blocks=True)
- assert len(x._data.blocks) == number
+ if Version(pd.__version__) < Version("1.1.0"):
+ assert len(x._data.blocks) == number
+ else:
+ assert len(x._mgr.blocks) == number
Review Comment:
Can we use `_get_mgr()` here too?
--
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]