Skip to content

Commit b140644

Browse files
authored
added self.value
Adding ```self.value``` resolves the issue pandas-dev#46471
1 parent 7dd22b8 commit b140644

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/core/computation/ops.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,7 @@ class UnaryOp(Op):
569569
def __init__(self, op: str, operand) -> None:
570570
super().__init__(op, (operand,))
571571
self.operand = operand
572+
self.value = operand
572573

573574
try:
574575
self.func = _unary_ops_dict[op]

0 commit comments

Comments
 (0)