-
Suppose I have the following data:
I want to group by the ID, sort by date, and select just the first row in each group to get the following:
Is this possible in VisiData? I thought about sorting by
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @DAVIDWALES, this is a good question. I can't think of an easy way to do this with stock VisiData, but you can add a simple command to the freq table to do what you want:
You can bind it to a keystroke if you want, or use Space to execute |
Beta Was this translation helpful? Give feedback.
-
FWIW, I personally do this via the
You can install the |
Beta Was this translation helpful? Give feedback.
Hi @DAVIDWALES, this is a good question. I can't think of an easy way to do this with stock VisiData, but you can add a simple command to the freq table to do what you want:
You can bind it to a keystroke if you want, or use Space to execute
select-source-first
without binding it.