def clean_nan(data, data_column):
    """Takes pandas dataframe of data and removes all rows containing NaN"""
    data.dropna(subset=[data_column, \
                        'Quality'], inplace=True)
    return data