def delete(self, loc):
new_left = self.left.delete(loc)<EOL>new_right = self.right.delete(loc)<EOL>return self._shallow_copy(new_left, new_right)<EOL>
Return a new IntervalIndex with passed location(-s) deleted

Returns
-------
new_index : IntervalIndex