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

option to transpose output #24

Open
jmcalabr opened this issue Aug 31, 2021 · 1 comment
Open

option to transpose output #24

jmcalabr opened this issue Aug 31, 2021 · 1 comment

Comments

@jmcalabr
Copy link
Contributor

for future reference for seekr functions that output a matrix -- would be useful to be able to transpose output (switch row and column IDs)

@Jessime
Copy link
Contributor

Jessime commented Aug 31, 2021

This functionality can also be a one-liner directly from the command-line:

❯ python -c 'import pandas as pd; pd.read_csv("in.csv", index_col=0).T.to_csv("out.csv")'

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

No branches or pull requests

2 participants