Change a pandas Data Frame to Hugging Face Dataset for Question Answering

Hi everyone,
I should change a pandas Data Frame to the Hugging Face Dataset object, this will be used in the Question Answering Task and I want to fine-tune the model for further prediction on my custom dataset. The problem is that I just have questions and answers in two separate columns, I saw that there is need for context and the start and end position for the answer as well. I do not know how to get first and last position for the answer, and I am not sure if I can do this task without any context, can you help me with that?