def drop_missing_demographics(df, demographic):
    """Drops any rows with missing values for a given demographic variable.

    Args: 
        df: measures dataframe
        demographic: column name of demographic variable

    Returns:
        Dataframe with no rows missing demographic variable.
    """
    return df.loc[df[demographic].notnull(),:]