def METHOD_NAME(self) -> None:
    """Test case for the function frame()."""
    data_frame = self.result.pd_frame()
    categories = set(
        [
            "human",
            "vehicle",
            "bike",
            "pedestrian",
            "rider",
            "car",
            "truck",
            "bus",
            "train",
            "motorcycle",
            "bicycle",
            "AVERAGE",
            "OVERALL",
        ]
    )
    self.assertSetEqual(categories, set(data_frame.index.values))
    data_arr = data_frame.to_numpy()
    motas: NDArrayF64 = np.array(
        [
            36.12565445,
            43.69747899,
            71.27987664,
            47.69230769,
            0.0,
            -1.0,
            -4.20168067,
            -1.0,
            39.03225806,
            70.14925373,
            -4.20168067,
            24.32420464,
            64.20070762,
        ],
        dtype=np.float64,
    )
    self.assertTrue(
        np.isclose(np.nan_to_num(data_arr[:, 0], nan=-1.0), motas).all()
    )
    overall_scores: NDArrayF64 = np.array(
        [
            64.20070762,
            87.16143945,
            71.01073676,
            126.0,
            942.0,
            45.0,
            62.0,
            47.0,
            33.0,
            66.0,
        ],
        dtype=np.float64,
    )
    self.assertTrue(np.isclose(data_arr[-1], overall_scores).all())