def get_project_events(eventTypeDf, projectNm):
    """ Takes a datafram and a keyword, returns a subset of the dataframe based
        on the keyword. """
    projectDf = eventTypeDf.loc[eventTypeDf['description'].str.contains(
        projectNm)]
    return projectDf
