jorisvandenbossche commented on a change in pull request #12461:
URL: https://github.com/apache/arrow/pull/12461#discussion_r811990135



##########
File path: python/pyarrow/tests/test_array.py
##########
@@ -2329,6 +2329,11 @@ def test_interval_array_from_dateoffset():
                          nanoseconds=1),
         DateOffset(months=0, days=0, microseconds=0, nanoseconds=0)]
 
+    assert arr.to_pandas().tolist() == expected_from_pandas
+    actual_list = pa.array([data]).to_pandas().tolist()

Review comment:
       ```suggestion
   
       # nested list<interval> array conversion
       actual_list = pa.array([data]).to_pandas().tolist()
   ```
   
   (on first read it was not super obvious to me that `pa.array([data])` was 
creating a nested list array)




-- 
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]


Reply via email to