def filter(df,column_name,field_value):
    """Filter a data frame to only include matches with field value in column_name"""
    tmp_df = df[df[column_name].isnull() == False]
    return tmp_df[tmp_df[column_name]==field_value]