def METHOD_NAME():
    data = [
        {
            "title": "title",
            "paragraphs": [
                {
                    "context": "context",
                    "document_id": "document_id",
                    "qas": [
                        {
                            "question": "question",
                            "id": "id",
                            "answers": [{"text": "answer", "answer_start": 1}],
                            "is_impossible": False,
                        }
                    ],
                }
            ],
        }
    ]
    expected_result = pd.DataFrame(
        [["title", "context", "question", "id", "answer", 1, False, "document_id"]],
        columns=["title", "context", "question", "id", "answer_text", "answer_start", "is_impossible", "document_id"],
    )
    result = SquadData.to_df(data)
    assert result.equals(expected_result)