def pick_bpart(df, bpart):
    """
    Create a sub dataset of particular body part.
    :param df: dataframe to process
    :param bpart: body part to extract
    :return: trimmed dataframe
    """
    if bpart == "all":
        return df
    return df[df["body_part"] == bpart].reset_index()