def __reduce__(self):
items = force_list(self.items())<EOL>names = force_list(self.indices.keys())<EOL>inst_dict = vars(self).copy() <EOL>for k in vars(self.__class__()):<EOL><INDENT>inst_dict.pop(k, None)<EOL><DEDENT>return self.__class__, (items, names), inst_dict<EOL>
Return state information for pickling