9 lines
204 B
Python
9 lines
204 B
Python
from pandas import Categorical
|
|
|
|
|
|
class TestCategorical:
|
|
def setup_method(self, method):
|
|
self.factor = Categorical(
|
|
["a", "b", "b", "a", "a", "c", "c", "c"], ordered=True
|
|
)
|