def task_retry_count(self):
    return int(self.request.headers.get("X-AppEngine-TaskExecutionCount", 0))
Encode the object as an enumerated type or categorical variable
dataset/ETHPy150Open GoogleCloudPlatform/appengine-mapreduce/python/src/mapreduce/base_handler.py/TaskQueueHandler.task_retry_count--crossover with--dataset/ETHPy150Open pydata/pandas/pandas/core/base.py/IndexOpsMixin.factorize