def test_idadf_getitem_idaseries(self, idadf):
    if (len(idadf.columns) >= 1):
        newidaseries = idadf[idadf.columns[0]]
        assert isinstance(newidaseries, ibmdbpy.IdaSeries)
        assert (len(newidaseries.columns) == 1)
        assert (idadf.columns[0] == newidaseries.columns[0])
        newidaseries = idadf[idadf.columns[(- 1)]]
        assert isinstance(newidaseries, ibmdbpy.IdaDataFrame)
        assert (len(newidaseries.columns) == 1)
        assert (idadf.columns[(- 1)] == newidaseries.columns[0])
def test_idadf_getitem_idaseries(self, idadf):
    if (len(idadf.columns) >= 1):
        newidaseries = idadf[idadf.columns[0]]
        assert isinstance(newidaseries, ibmdbpy.IdaSeries)
        assert (len(newidaseries.columns) == 1)
        assert (idadf.columns[0] == newidaseries.columns[0])
        newidaseries = idadf[idadf.columns[(- 1)]]
        assert isinstance(newidaseries, ibmdbpy.IdaDataFrame)
        assert (len(newidaseries.columns) == 1)
        assert (idadf.columns[(- 1)] == newidaseries.columns[0])