Converting data for rhetorical-role-baseline into CSV format

I was working on Rhetorical Role Baseline (GitHub - Legal-NLP-EkStep/rhetorical-role-baseline: OpenNyAI is a mission aimed at developing open source software and datasets to catalyze the creation of AI-powered solutions to improve access to justice in India. BUILD is the first benchmark dataset created by OpenNyAI). However, for some analysis I wish to convert the json file (train.json) to a csv format.

Now, it looks like the train.json format is quite complicated. Is there any way we can convert it to csv/excel format?

You will have to define the structure of CSV files and then write custom scripts to create them. Libraries like pandas will help.

You’re referring to this: https://pandas.pydata.org/ @Prathamesh ?