Skip to content
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

xsv: add transpose command #146

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mintyplanet
Copy link
Contributor

@mintyplanet mintyplanet commented Sep 23, 2018

This adds a transpose subcommand to transpose rows/columns of CSV data.

Motivation: Fixes Issue #137.

Implementation: By default, loads the entire CSV into memory and write out the transpose. For large datasets that doesn't fit into memory, there is a --multipass argument to process the transpose by making multiple passes over the dataset. This consumes memory proportional to the number of rows.

    transpose command to transpose rows/columns of CSV data.

    PR BurntSushi#137
@mintyplanet
Copy link
Contributor Author

@BurntSushi could you take a look at this PR?
Is this something you'd be willing to merge?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant