Static code analysis and corrections
This commit is contained in:
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -0,0 +1,15 @@
|
||||
import warnings
|
||||
|
||||
|
||||
def set_use_numexpr(v=True):
|
||||
"""
|
||||
.. deprecated:: 0.20.0
|
||||
Use ``pandas.set_option('compute.use_numexpr', v)`` instead.
|
||||
"""
|
||||
warnings.warn("pandas.computation.expressions.set_use_numexpr is "
|
||||
"deprecated and will be removed in a future version.\n"
|
||||
"you can toggle usage of numexpr via "
|
||||
"pandas.get_option('compute.use_numexpr')",
|
||||
FutureWarning, stacklevel=2)
|
||||
from pandas import set_option
|
||||
set_option('compute.use_numexpr', v)
|
||||
Reference in New Issue
Block a user