def METHOD_NAME(self) -> None:
    df = self.in_pd_df_by_series_with_index
    self.data.add_df_index(df, max_rows=2)
    self.assertEqual(
        self.ref_pd_df_by_series_only_index_max_rows,
        self.data.build(),
    )