We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
numfocus
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent a696d64 commit 122fcd6Copy full SHA for 122fcd6
pandas/core/generic.py
@@ -1026,7 +1026,7 @@ def _indexed_same(self, other):
1026
for a in self._AXIS_ORDERS)
1027
1028
def __neg__(self):
1029
- values = _values_from_object(self)
+ values = com._values_from_object(self)
1030
if is_bool_dtype(values):
1031
arr = operator.inv(values)
1032
elif (is_numeric_dtype(values) or is_timedelta64_dtype(values)):
@@ -1037,7 +1037,7 @@ def __neg__(self):
1037
return self.__array_wrap__(arr)
1038
1039
def __pos__(self):
1040
1041
1042
arr = values
1043
0 commit comments