def make_wide(df, cols):
    """
    Pivot an ACS table.
    This function takes rows and pivots them to be columns.

    df: str
    cols: list. 
        One or more values from the new_var column may be given as a list.
        This function takes those values (rows), reshapes, and returns 
        them as columns in a new df.
    """
    return (
        df[df.new_var.isin(cols)]
        .assign(num=df.num.astype("Int64"))
        .pivot(index="GEOID", columns="new_var", values="num")
        .reset_index()
        .rename_axis(None, axis=1)
    )