I have a dataframe with a text colum, which I‘d like to annotate and other columns with metadata.
As the strings in my text column have to start and to end with \n (I would like to annotate it literally). I have trouble to convert the dataframe to a suitable jsonl-file.
Is there any code how to convert a dataframe to jsonl which should serve as an input to prodigy?
I appreciate any help. All the best