Skip to content

Bug in DataViewer filter for numbers #1150

@bitagoras

Description

@bitagoras

Environment data

  • VS Code version: 1.39.1
  • Extension version: 2019.10.41019 (8 October 2019)
  • Python version: Anaconda for Python 3.7.3 64-bit

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

filter

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions