def __getitem__(self, row_indices_or_slice):
if isinstance(row_indices_or_slice, collections.Iterable):<EOL><INDENT>without_row_indices = set(row_indices_or_slice)<EOL>rows = [row for index, row in enumerate(self._table.rows[:])<EOL>if index not in without_row_indices]<EOL>return self._table._with_columns(zip(*rows))<EOL><DEDENT>row_slice = row_indices_or_slice<EOL>if not isinstance(row_slice, slice):<EOL><INDENT>row_slice %= self._table.num_rows<EOL>row_slice = slice(row_slice, row_slice+<NUM_LIT:1>)<EOL><DEDENT>rows = itertools.chain(self._table.rows[:row_slice.start or <NUM_LIT:0>],<EOL>self._table.rows[row_slice.stop:])<EOL>return self._table._with_columns(zip(*rows))<EOL>
Return a new Table without a sequence of rows excluded by number.

        Args:
            ``row_indices_or_slice`` (integer or list of integers or slice):
                The row index, list of row indices or a slice of row indices
                to be excluded.

        Returns:
            A new instance of ``Table``.

        >>> t = Table().with_columns(
        ...     'letter grade', make_array('A+', 'A', 'A-', 'B+', 'B', 'B-'),
        ...     'gpa', make_array(4, 4, 3.7, 3.3, 3, 2.7))
        >>> t
        letter grade | gpa
        A+           | 4
        A            | 4
        A-           | 3.7
        B+           | 3.3
        B            | 3
        B-           | 2.7
        >>> t.exclude(4)
        letter grade | gpa
        A+           | 4
        A            | 4
        A-           | 3.7
        B+           | 3.3
        B-           | 2.7
        >>> t.exclude(-1)
        letter grade | gpa
        A+           | 4
        A            | 4
        A-           | 3.7
        B+           | 3.3
        B            | 3
        >>> t.exclude(make_array(1, 3, 4))
        letter grade | gpa
        A+           | 4
        A-           | 3.7
        B-           | 2.7
        >>> t.exclude(range(3))
        letter grade | gpa
        B+           | 3.3
        B            | 3
        B-           | 2.7

        Note that ``exclude`` also supports NumPy-like indexing and slicing:

        >>> t.exclude[:3]
        letter grade | gpa
        B+           | 3.3
        B            | 3
        B-           | 2.7

        >>> t.exclude[1, 3, 4]
        letter grade | gpa
        A+           | 4
        A-           | 3.7
        B-           | 2.7