Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pandas/core/computation/expr.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from functools import partial, reduce
from keyword import iskeyword
import tokenize
from typing import Callable, Optional, Set, Tuple, Type, TypeVar
from typing import Callable, Dict, Optional, Set, Tuple, Type, TypeVar

import numpy as np

Expand Down Expand Up @@ -364,7 +364,7 @@ class BaseExprVisitor(ast.NodeVisitor):

unary_ops = _unary_ops_syms
unary_op_nodes = "UAdd", "USub", "Invert", "Not"
unary_op_nodes_map = dict(zip(unary_ops, unary_op_nodes))
unary_op_nodes_map: Dict[str, str] = dict(zip(list(unary_ops), unary_op_nodes))

rewrite_map = {
ast.Eq: ast.In,
Expand Down