-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
new command "scatter" #265
Comments
There's a 'spread': https://bioinf.shenwei.me/csvtk/usage/#spread |
Uh-oh, I had 0.24.
|
hi @shenwei356 Does it make sense to add |
Not really :).
|
@shenwei356 Yes: "spread" and "scatter" mean the same (in this context", and "scatter" rhymes better with "gather". |
OK. But |
sure! |
done. |
Can you add a command that's opposite of "gather"?
I have a file like this:
I want to convert it to:
I don't know what would be an appropriate name, maybe "scatter"?
Could be invoked like this
where -f is an OPTIONAL list of key values to be used for sorting the output columns.
I don't have a useful case for multiple key or value columns, but I guess that is possible . Eg from
to something like
Multiple
--key
make sense only for a very few values in the key columns.The text was updated successfully, but these errors were encountered: