def METHOD_NAME(tb_pip: pd.DataFrame) -> pd.DataFrame:
    # Create a table with only PIP inequality data (NOTE: this will be removed when PIP steps are created)
    # Define list of variables
    inequality_vars = [
        "country",
        "year",
        "gini",
        "decile10_share",
        "bottom50_share",
        "palma_ratio",
        "headcount_ratio_50_median",
    ]
    tb_pip_inequality = tb_pip[inequality_vars]
    # Remove regions, because they don't have inequality data
    tb_pip_inequality = tb_pip_inequality[~tb_pip_inequality["country"].str.contains("\\(PIP\\)")]
    # Verify index and sort
    tb_pip_inequality = tb_pip_inequality.set_index(["country", "year"], verify_integrity=True).sort_index()
    return tb_pip_inequality