common.py 250 B

12345678910
  1. # -*- coding: utf-8 -*-
  2. from pandas import Categorical
  3. class TestCategorical(object):
  4. def setup_method(self, method):
  5. self.factor = Categorical(['a', 'b', 'b', 'a', 'a', 'c', 'c', 'c'],
  6. ordered=True)