10000 Floor and ceil methods during pandas.eval which are provided by numexpr by anjsudh · Pull Request #24355 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

Floor and ceil methods during pandas.eval which are provided by numexpr #24355

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Dec 30, 2018
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Fix compilation issue in py 2.7
  • Loading branch information
anjsudh committed Dec 30, 2018
commit 7e8a643caff329b10a7214745c1b0c2ce66cb2a9
2 changes: 1 addition & 1 deletion pandas/tests/computation/test_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -1639,7 +1639,7 @@ def test_all_unary_functions_not_supported_in_numpy_112(self):
expr = "{0}(a)".format(fn)
with np.errstate(all='ignore'):
if not hasattr(np, fn):
msg = f"\"{fn}\" is not a supported function"
msg = '"{0}" is not a supported function'.format(fn)
with pytest.raises(ValueError, match=msg):
self.eval(expr)

Expand Down
0