def __delitem__(self, index):
_dict = self._dict<EOL>_list = _dict._list<EOL>_delitem = _dict._delitem<EOL>if isinstance(index, slice):<EOL><INDENT>keys = _list[index]<EOL>del _list[index]<EOL>for key in keys:<EOL><INDENT>_delitem(key)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>key = _list[index]<EOL>del _list[index]<EOL>_delitem(key)<EOL><DEDENT>
Remove the ``sdict[sdict.iloc[index]]`` from *sdict*. Supports negative
indices and slice notation. Raises IndexError on invalid *index*.