def mode(self):

        import pandas.hashtable as htable
        good = self._codes != -1
        values = sorted(htable.mode_int64(_ensure_int64(self._codes[good])))
        result = Categorical(values=values, categories=self.categories,
                             ordered=self.ordered, fastpath=True)
        return result
Local 'random' implementation of the TaskQueueService.FetchQueueStats.
dataset/ETHPy150Open pydata/pandas/pandas/core/categorical.py/Categorical.mode--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/taskqueue/taskqueue_stub.py/TaskQueueServiceStub._Dynamic_FetchQueueStats