File tree 1 file changed +0
-2
lines changed
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):
4689
4689
cls .__neg__ = make_invalid_op ('__neg__' )
4690
4690
cls .__pos__ = make_invalid_op ('__pos__' )
4691
4691
cls .__abs__ = make_invalid_op ('__abs__' )
4692
- cls .__inv__ = make_invalid_op ('__inv__' )
4693
4692
4694
4693
def _maybe_update_attributes (self , attrs ):
4695
4694
""" Update Index attributes (e.g. freq) depending on op """
@@ -4786,7 +4785,6 @@ def _evaluate_numeric_unary(self):
4786
4785
cls .__neg__ = _make_evaluate_unary (operator .neg , '__neg__' )
4787
4786
cls .__pos__ = _make_evaluate_unary (operator .pos , '__pos__' )
4788
4787
cls .__abs__ = _make_evaluate_unary (np .abs , '__abs__' )
4789
- cls .__inv__ = _make_evaluate_unary (lambda x : - x , '__inv__' )
4790
4788
4791
4789
@classmethod
4792
4790
def _add_numeric_methods (cls ):
You can’t perform that action at this time.
0 commit comments