(self, key)
Slicing returns a new `~.BoundRows` instance, indexing returns a single
        `~.BoundRow` instance.
Slicing returns a new `~.BoundRows` instance, indexing returns a single
        `~.BoundRow` instance.
Slicing returns a new ~ . BoundRows instance indexing returns a single ~ . BoundRow instance .
def __getitem__(self, key):
        """
        Slicing returns a new `~.BoundRows` instance, indexing returns a single
        `~.BoundRow` instance.
        """
        if isinstance(key, slice):
            return BoundRows(data=self.data[key], table=self.table, pinned_data=self.pinned_data)
        else:
            return BoundRow(record=self.data[key], table=self.table)
def __getitem__ ( self , key ) : if isinstance ( key , slice ) : return BoundRows ( data = self . data [ key ] , table = self . table , pinned_data = self . pinned_data ) else : return BoundRow ( record = self . data [ key ] , table = self . table )