mirror of
https://github.com/GokuMohandas/Made-With-ML.git
synced 2026-03-09 07:12:37 -05:00
Issue with EDA cell for dataset loading #37
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mukul74 on GitHub (Aug 18, 2022).
Load projects
url = "https://raw.githubusercontent.com/GokuMohandas/Made-With-ML/main/datasets/projects.json"
projects = json.loads(urlopen(url).read())
print (f"{len(projects)} projects")
print (json.dumps(projects[0], indent=2))
This cell will lead to 404 error(as the .json file is no longer in the directory, .csv file format replaces .json file).
@GokuMohandas commented on GitHub (Aug 18, 2022):
Hi @mukul74, I apologize for the error. I was making some changes yesterday and accidentally deleted the original data files. I'll push the fixes today! However, if you need to run the code right now you can replace:
"https://raw.githubusercontent.com/GokuMohandas/Made-With-ML/main/datasets/projects.json" to "https://raw.githubusercontent.com/GokuMohandas/Made-With-ML/89b7f9d769597f366c62d51c98b22a750eacf00d/datasets/projects.json"
and
"https://raw.githubusercontent.com/GokuMohandas/Made-With-ML/main/datasets/tags.json" to "https://raw.githubusercontent.com/GokuMohandas/Made-With-ML/89b7f9d769597f366c62d51c98b22a750eacf00d/datasets/tags.json"