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

Is there some way to get the results as a csv? #11

Open
alexbarnadas opened this issue Apr 13, 2021 · 1 comment
Open

Is there some way to get the results as a csv? #11

alexbarnadas opened this issue Apr 13, 2021 · 1 comment

Comments

@alexbarnadas
Copy link

I need to have the results as a CSV and I'm not understanding very well how to do it, could someone help me?

@Tesax123
Copy link

Tesax123 commented Dec 8, 2021

The way I do it in Jupyter notebook:
annotations_df = pd.DataFrame(annotations)

import io
s_buf = io.StringIO()
annotations_df.to_csv(s_buf)
annotations_df.to_csv('annotations.csv', index=False)

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