def breed_mismatch_desc(train):
    train['desc_contain_dog'] = train['Description'].str.lower().str.contains(' dog | dogs ')
    train['desc_contain_cat'] = train['Description'].str.lower().str.contains(' cat | cats ')
    train['desc_miss_match'] = list(((train['Type'] == 1) & train['desc_contain_cat']))
    train['desc_miss_match'] = train['desc_miss_match'].astype(int)
    return train
def breed_mismatch_desc(train):
    train['desc_contain_dog'] = train['Description'].str.lower().str.contains(' dog | dogs ')
    train['desc_contain_cat'] = train['Description'].str.lower().str.contains(' cat | cats ')
    train['desc_miss_match'] = list(((train['Type'] == 1) & train['desc_contain_cat']))
    train['desc_miss_match'] = train['desc_miss_match'].astype(int)
    return train