Skip to content

Commit

Permalink
Change : File Format
Browse files Browse the repository at this point in the history
  • Loading branch information
chiragjoshi12 committed Apr 17, 2024
1 parent 4085e87 commit 4555895
Showing 1 changed file with 2 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,37 +92,6 @@
"## 📑 Data Reading"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Json Loader"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "rtsMFbg_BP93"
},
"outputs": [],
"source": [
"json_file_path = './Data/SyllabusData.json'\n",
"loader = JSONLoader(file_path=json_file_path, encoding=\"utf-8\")\n",
"data = loader.load()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "Dg51KX1UE0Gm"
},
"outputs": [],
"source": [
"data"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand All @@ -136,8 +105,8 @@
"metadata": {},
"outputs": [],
"source": [
"json_file_path = './Data/SyllabusData.json'\n",
"loader = TextLoader(file_path=json_file_path, encoding=\"utf-8\")\n",
"txt_file_path = './Data/SyllabusData.json'\n",
"loader = TextLoader(file_path=txt_file_path, encoding=\"utf-8\")\n",
"data = loader.load()"
]
},
Expand Down

0 comments on commit 4555895

Please sign in to comment.