-
Notifications
You must be signed in to change notification settings - Fork 307
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
Bug in DataViewer filter for numbers #1150
Comments
Thanks for the bug. Do you have an example of the floating point arrays not working? I think your saying it's just doing a string filter (which is what I'd expect from anything other than a number)
Multiple column sorting will probably be done by the user picking columns while holding down the control key. |
The problem with the 3 matching is weird. That only happens on a column that isn't identified as a number (which it looks like you have based on the left justification) But the zero isn't actually a value in the data as far as I can tell. It must be matching null. |
It's only pattern matching for integers if your data doesn't specify the column type. Value matching should be the default for everything we think is a number. You can also use > and < signs for value matching. We have yet to do ranges, but that's a good suggestion. |
That's a usefull feature with > and <. I didn't know. In this case I am fine with value matching for floats. |
I believe that the dataviewer changes from Vandy has resolved this issue. |
Environment data
Expected behaviour
Entering e.g. "3" in colum filter for integer numpy array should result in e.g. rows with
-3, -3, 3, 13, 23
.Actual behaviour
Displayed are the rows e. g.
-3, -3, 0, 0, 3, 13, 23
. This is a bug since zeros should be filtered.With floating point arrays the filtering seem not to work at all when expecting string pattern matching. All rows are filtered for any digits.Screenshot
Another remark on the screenshot: It would be nice, if the sorting would be stable. For several identical lines the other lines should stay in the order of the last sorted column (here the last sorted column was the line index which is now disordered for equal elements in column 1)
The text was updated successfully, but these errors were encountered: