Negating / excluding values from Frequency (Shift+F) selection #2950
-
|
I’m using VisiData’s frequency workflow heavily:
This is extremely effective for exploration. What’s missing is the inverse operation:
I’ve tried the following
In practice, frequency → Enter is strictly inclusive, and there is no documented or discoverable way to negate/exclude the selected frequency value(s). Questions
Motivation / use caseFrequency tables are ideal for discovery. Right now I can't use Happy to prototype this if maintainers think a plugin or core command is appropriate — just need guidance on the correct extension point. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
|
Your writeup does an excellent job of giving the context for your feature request. As I understand it, you want to use the The implementation is very short. You can try it by adding this code to your It modifies the existing bindings for The reason for proposing this alternate operation, instead of the inverse of the existing |
Beta Was this translation helpful? Give feedback.
-
|
I use Remember that you can also do an inverse selection of what you want to keep (select the outliers and |
Beta Was this translation helpful? Give feedback.
-
|
This is now on the develop branch: So the workflow for "show me all rows where col != value" is:
For excluding multiple values: select the bins to exclude, then [this comment written by Claude Opus 4.6 and approved by @saulpw] |
Beta Was this translation helpful? Give feedback.

This is now on the develop branch:
zEnteron a Frequency Table opens a copy of the source sheet with all rows except those in the current bin.gzEnterdoes the same for all selected bins.So the workflow for "show me all rows where col != value" is:
Shift+Fon the column to open the frequency tablezEnterto get a sheet with everything elseFor excluding multiple values: select the bins to exclude, then
gzEnter.[this comment written by Claude Opus 4.6 and approved by @saulpw]