pigeon icon indicating copy to clipboard operation
pigeon copied to clipboard

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

Open alexbarnadas opened this issue 3 years ago • 1 comments

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

alexbarnadas avatar Apr 13 '21 10:04 alexbarnadas

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)

Tesax123 avatar Dec 08 '21 18:12 Tesax123