def clean_data(df):
    """
    This procedure removes rows containing NAs from the dataframe
    :param df: dataframe loaded from the flat file
    :return: dataframe after removing NAs
    """
    return df.dropna()