Skip to content
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

Nested-pandas query does not handle scientific notation #59

Closed
3 tasks done
dougbrn opened this issue May 7, 2024 · 0 comments · Fixed by #150
Closed
3 tasks done

Nested-pandas query does not handle scientific notation #59

dougbrn opened this issue May 7, 2024 · 0 comments · Fixed by #150
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@dougbrn
Copy link
Collaborator

dougbrn commented May 7, 2024

Bug report
The following code block fails in nested_pandas, but succeeds in pandas.

from nested_pandas import NestedFrame
base = NestedFrame({"a":[1,2,3]}, index=[0,1,2])
base.query("a > 1e-1")

The query parsing code most likely tries to read the "e" as a column name and splits it apart, we should add additional handling for this.

Before submitting
Please check the following:

  • I have described the situation in which the bug arose, including what code was executed, information about my environment, and any applicable data others will need to reproduce the problem.
  • I have included available evidence of the unexpected behavior (including error messages, screenshots, and/or plots) as well as a descriprion of what I expected instead.
  • If I have a solution in mind, I have provided an explanation and/or pseudocode and/or task list.
@dougbrn dougbrn added the bug Something isn't working label May 7, 2024
@hombit hombit added the good first issue Good for newcomers label Jun 27, 2024
@gitosaurus gitosaurus self-assigned this Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants