{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "b0ea2822", "metadata": {}, "outputs": [], "source": [ "import pandas as pd\n", "\n", "df = pd.read_parquet(\"hf://datasets/qiaojin/PubMedQA/pqa_artificial/train-00000-of-00001.parquet\")" ] }, { "cell_type": "code", "execution_count": 6, "id": "532fb572", "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'Chronic rhinosinusitis (CRS) is a heterogeneous disease with an uncertain pathogenesis. Group 2 innate lymphoid cells (ILC2s) represent a recently discovered cell population which has been implicated in driving Th2 inflammation in CRS; however, their relationship with clinical disease characteristics has yet to be investigated.\\nThe aim of this study was to identify ILC2s in sinus mucosa in patients with CRS and controls and compare ILC2s across characteristics of disease.\\nA cross-sectional study of patients with CRS undergoing endoscopic sinus surgery was conducted. Sinus mucosal biopsies were obtained during surgery and control tissue from patients undergoing pituitary tumour resection through transphenoidal approach. ILC2s were identified as CD45(+) Lin(-) CD127(+) CD4(-) CD8(-) CRTH2(CD294)(+) CD161(+) cells in single cell suspensions through flow cytometry. ILC2 frequencies, measured as a percentage of CD45(+) cells, were compared across CRS phenotype, endotype, inflammatory CRS subtype and other disease characteristics including blood eosinophils, serum IgE, asthma status and nasal symptom score.\\n35 patients (40% female, age 48 ± 17 years) including 13 with eosinophilic CRS (eCRS), 13 with non-eCRS and 9 controls were recruited. ILC2 frequencies were associated with the presence of nasal polyps (P = 0.002) as well as high tissue eosinophilia (P = 0.004) and eosinophil-dominant CRS (P = 0.001) (Mann-Whitney U). They were also associated with increased blood eosinophilia (P = 0.005). There were no significant associations found between ILC2s and serum total IgE and allergic disease. In the CRS with nasal polyps (CRSwNP) population, ILC2s were increased in patients with co-existing asthma (P = 0.03). ILC2s were also correlated with worsening nasal symptom score in CRS (P = 0.04).'" ] }, "execution_count": 6, "metadata": {}, "output_type": "execute_result" } ], "source": [ "'\\n'.join(df.loc[0]['context']['contexts'])" ] }, { "cell_type": "code", "execution_count": 8, "id": "273a2b36", "metadata": {}, "outputs": [], "source": [ "df.to_json(\"pubmedqa_train.json\", orient='records', indent=4)" ] }, { "cell_type": "code", "execution_count": null, "id": "bbb50950", "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": 10, "id": "9be45340", "metadata": {}, "outputs": [], "source": [ "import pandas as pd\n", "\n", "df = pd.read_parquet(\"hf://datasets/qiaojin/PubMedQA/pqa_labeled/train-00000-of-00001.parquet\")" ] }, { "cell_type": "code", "execution_count": 14, "id": "77730f3e", "metadata": {}, "outputs": [], "source": [ "df.to_json(\"pubmedqa_label.json\", orient='records', indent=4)" ] }, { "cell_type": "code", "execution_count": 15, "id": "c6471fbd", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
| \n", " | pubid | \n", "question | \n", "context | \n", "long_answer | \n", "final_decision | \n", "
|---|---|---|---|---|---|
| 0 | \n", "21645374 | \n", "Do mitochondria play a role in remodelling lac... | \n", "{'contexts': ['Programmed cell death (PCD) is ... | \n", "Results depicted mitochondrial dynamics in viv... | \n", "yes | \n", "
| 1 | \n", "16418930 | \n", "Landolt C and snellen e acuity: differences in... | \n", "{'contexts': ['Assessment of visual acuity dep... | \n", "Using the charts described, there was only a s... | \n", "no | \n", "
| 2 | \n", "9488747 | \n", "Syncope during bathing in infants, a pediatric... | \n", "{'contexts': ['Apparent life-threatening event... | \n", "\"Aquagenic maladies\" could be a pediatric form... | \n", "yes | \n", "
| 3 | \n", "17208539 | \n", "Are the long-term results of the transanal pul... | \n", "{'contexts': ['The transanal endorectal pull-t... | \n", "Our long-term study showed significantly bette... | \n", "no | \n", "
| 4 | \n", "10808977 | \n", "Can tailored interventions increase mammograph... | \n", "{'contexts': ['Telephone counseling and tailor... | \n", "The effects of the intervention were most pron... | \n", "yes | \n", "
| ... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "
| 995 | \n", "8921484 | \n", "Does gestational age misclassification explain... | \n", "{'contexts': ['After 34 weeks gestation, summa... | \n", "Gestational age misclassification is an unlike... | \n", "no | \n", "
| 996 | \n", "16564683 | \n", "Is there any interest to perform ultrasonograp... | \n", "{'contexts': ['To evaluate the accuracy of ult... | \n", "Sonography has no place in the diagnosis of un... | \n", "no | \n", "
| 997 | \n", "23147106 | \n", "Is peak concentration needed in therapeutic dr... | \n", "{'contexts': ['We analyzed the pharmacokinetic... | \n", "These results suggest little need to use peak ... | \n", "no | \n", "
| 998 | \n", "21550158 | \n", "Can autologous platelet-rich plasma gel enhanc... | \n", "{'contexts': ['This investigation assesses the... | \n", "The PRP group recorded reduced pain, swelling,... | \n", "yes | \n", "
| 999 | \n", "17559449 | \n", "Are sugars-free medicines more erosive than su... | \n", "{'contexts': ['The reduced use of sugars-conta... | \n", "Paediatric SF medicines were not more erosive ... | \n", "no | \n", "
1000 rows × 5 columns
\n", "