import re


def is_row_in_category(row, categories):
    """Determines if row['place'] is in the given category

    Args:
        row (pandas.core.series.Series): Single row [date,place,amount] of a dataframe
        category (list): Category list

    Returns:
        bool: True if row in category, False otherwise
    """

    for place in categories:
        if re.search(place, row['place'], re.IGNORECASE):
            return True
    return False