def _setup_auto_mpg(self):

        # add a boolean column
        self.auto_data['large_displ'] = 350 > self.auto_data['displ']

        # add categorical column
        cat = pd.Categorical.from_array(self.auto_data['cyl'])
        new_order = list(reversed(sorted(cat.categories.values.tolist())))
        self.auto_data['reversed_cyl'] = cat.reorder_categories(new_order)
dataset/ETHPy150Open bokeh/bokeh/bokeh/charts/conftest.py/TestData._setup_auto_mpg/swapped operands of `>`