File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -4689,7 +4689,6 @@ def _add_numeric_methods_disabled(cls):
46894689 cls .__neg__ = make_invalid_op ('__neg__' )
46904690 cls .__pos__ = make_invalid_op ('__pos__' )
46914691 cls .__abs__ = make_invalid_op ('__abs__' )
4692- cls .__inv__ = make_invalid_op ('__inv__' )
46934692
46944693 def _maybe_update_attributes (self , attrs ):
46954694 """ Update Index attributes (e.g. freq) depending on op """
@@ -4786,7 +4785,6 @@ def _evaluate_numeric_unary(self):
47864785 cls .__neg__ = _make_evaluate_unary (operator .neg , '__neg__' )
47874786 cls .__pos__ = _make_evaluate_unary (operator .pos , '__pos__' )
47884787 cls .__abs__ = _make_evaluate_unary (np .abs , '__abs__' )
4789- cls .__inv__ = _make_evaluate_unary (lambda x : - x , '__inv__' )
47904788
47914789 @classmethod
47924790 def _add_numeric_methods (cls ):
You can’t perform that action at this time.
0 commit comments