def category_clean(category_value):
    if isinstance(category_value, str) is False and np.isnan(category_value) is True:
        return 0
    return category_value
Search mailbox for matching messages.
dataset/ETHPy150Open agconti/KaggleAux/kaggleaux/modeling.py/category_clean--crossover with--dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/imaplib.py/IMAP4.search