Skip to content

Commit c0d88b8

Browse files
committed
fix error in testing
1 parent 4f1bf2a commit c0d88b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/computation/expressions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def _where_numexpr(cond, a, b):
160160
def _has_bool_dtype(x):
161161
try:
162162
if not isinstance(x.dtype, np.dtype):
163-
x = x.rename({'dtype': 'temporary_dtype'}, axis=1)
163+
x = x.rename(columns={'dtype': 'temporary_dtype'})
164164
return x.dtype == bool
165165
except AttributeError:
166166
try:

0 commit comments

Comments
 (0)