def _set_levels(self, levels):
        warn("Assigning to 'levels' is deprecated, use 'categories'",
             FutureWarning, stacklevel=2)
        self.categories = levels
Polls with a pub_date in the future should not be displayed on the
dataset/ETHPy150Open pydata/pandas/pandas/core/categorical.py/Categorical._set_levels--crossover with--dataset/ETHPy150Open disqus/sharding-example/polls/tests.py/PollViewTests.test_index_view_with_a_future_poll