Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions python/pyarrow/tests/test_pandas.py
Original file line number Diff line number Diff line change
Expand Up @@ -3095,8 +3095,6 @@ def test_category(self):

arrays = {
'cat_strings': pd.Categorical(v1 * repeats),
'cat_strings_with_na': pd.Categorical(v1 * repeats,
categories=['foo', 'bar']),
'cat_ints': pd.Categorical(v2 * repeats),
'cat_binary': pd.Categorical(v3 * repeats),
'cat_strings_ordered': pd.Categorical(
Expand All @@ -3121,8 +3119,8 @@ def _check(v):
tm.assert_series_equal(pd.Series(result), pd.Series(v))

arrays = [
pd.Categorical(['a', 'b', 'c'], categories=['a', 'b']),
pd.Categorical(['a', 'b', 'c'], categories=['a', 'b'],
pd.Categorical(['a', 'b', None], categories=['a', 'b']),
pd.Categorical(['a', 'b', None], categories=['a', 'b'],
ordered=True)
]
for arr in arrays:
Expand Down
Loading