Search code examples
pythonvisual-studio-codevscode-python

vscode-python - Can I use the data viewer's filters to apply 'greater-than' and 'less-than' filters simultaneously?


For the vscode-python plugin, I am using the 'data viewer' to explore a large array of data from a CSV file.

The data viewer has a 'filters' tool (see picture), which can be used to (1) find matches in a column for specific values (e.g. 1996) and (2) find values 'greater than' or 'less than' a particular value (e.g. >2006 or <2014). However, for my case, I would like the filters tool to filter for values 'greater-than' and 'less-than' at once (e.g. >2006 AND <2014).

Is this possible?

I found this announcement of the introduction of the data viewer, but was unable to find any detail explaining options for the data viewer's filters.

Also, if there is documentation explaining possible input for the data viewer's filters, please let me know. enter image description here


Solution

  • Currently in VS Code, it supports single condition filtering, but it does not support ">2006 AND <2014".

    So I have submitted this problem and you could follow it: Can the "data viewer" in VS Code filter data with multiple conditions?