'Remove the given rows from the index.
Parameters
row_specifier : int, list, ndarray, or slice
Indicates which row(s) to remove'

def remove_rows(self, row_specifier):

    rows = []
    for row in self.get_row_specifier(row_specifier):
        self.remove_row(row, reorder=False)
        rows.append(row)
    for row in reversed(sorted(rows)):
        self.data.shift_left(row)
