11 lines
250 B
Python
11 lines
250 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
from pandas import Categorical
|
||
|
|
||
|
|
||
|
class TestCategorical(object):
|
||
|
|
||
|
def setup_method(self, method):
|
||
|
self.factor = Categorical(['a', 'b', 'b', 'a', 'a', 'c', 'c', 'c'],
|
||
|
ordered=True)
|