Skip to content

Commit 5bb3d85

Browse files
pitrouxhochy
authored andcommitted
ARROW-2589: [Python] Workaround regression in Pandas 0.23.0
There is a regression (*) in Pandas 0.23.0 that breaks test_parquet.py. Pandas does not have an actual "str" dtype anyway, so pass "object" instead. (*) pandas-dev/pandas#21083 Author: Antoine Pitrou <[email protected]> Closes #2051 from pitrou/ARROW-2589 and squashes the following commits: b581ef3 <Antoine Pitrou> ARROW-2589: Workaround regression in Pandas 0.23.0
1 parent 6ca246a commit 5bb3d85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyarrow/tests/test_parquet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ def test_parquet_metadata_api():
587587
([-1.1, 2.2, 2.3, None, 4.4], np.float64, -1.1, 4.4, 1, 4),
588588
(
589589
[u'', u'b', unichar(1000), None, u'aaa'],
590-
str, b'', unichar(1000).encode('utf-8'), 1, 4
590+
object, b'', unichar(1000).encode('utf-8'), 1, 4
591591
),
592592
([True, False, False, True, True], np.bool, False, True, 0, 5),
593593
]

0 commit comments

Comments
 (0)