Skip to content

Commit 5ddfcdd

Browse files
committed
Add Catecorical ordered=True ndframe test
1 parent 0583ea8 commit 5ddfcdd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/io/tests/test_packers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,8 @@ def setUp(self):
390390
'E': [0., 1, Timestamp('20100101'), 'foo', 2.],
391391
'F': [Timestamp('20130102', tz='US/Eastern')] * 5,
392392
'G': [Timestamp('20130603', tz='CET')] * 5,
393-
'H': Categorical(['a', 'b', 'c', 'd', 'e'])
393+
'H': Categorical(['a', 'b', 'c', 'd', 'e']),
394+
'I': Categorical(['a', 'b', 'c', 'd', 'e'], ordered=True),
394395
}
395396

396397
self.frame = {

0 commit comments

Comments
 (0)