Skip to content

Commit fd2ba67

Browse files
committed
change eval default to False
1 parent f2f5c82 commit fd2ba67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/computation/eval.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def _check_for_locals(expr, stack_level, parser):
148148

149149
def eval(expr, parser='pandas', engine=None, truediv=True,
150150
local_dict=None, global_dict=None, resolvers=(), level=0,
151-
target=None, inplace=True):
151+
target=None, inplace=False):
152152
"""Evaluate a Python expression as a string using various backends.
153153
154154
The following arithmetic operations are supported: ``+``, ``-``, ``*``,
@@ -207,7 +207,7 @@ def eval(expr, parser='pandas', engine=None, truediv=True,
207207
scope. Most users will **not** need to change this parameter.
208208
target : a target object for assignment, optional, default is None
209209
essentially this is a passed in resolver
210-
inplace : bool, default True
210+
inplace : bool, default False
211211
If expression mutates, whether to modify object inplace or return
212212
copy with mutation.
213213

0 commit comments

Comments
 (0)