Skip to content

Commit

Permalink
Directly read dataset from the URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Haleshot committed Oct 17, 2024
1 parent 887416c commit c457219
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions 010-Mustjaab/Post Approval Study Recommender.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ async def __(micropip):

@app.cell
def __(pd):
# PAS_FDA = pyodide.http.open_url("https://raw.githubusercontent.com/Mustjaab/PAS-Recommender/main/Post_Approval_Studies.csv")
PAS_FDA = "assets\Post_Approval_Studies.csv"
PAS_FDA = "https://raw.githubusercontent.com/Mustjaab/PAS-Recommender/main/Post_Approval_Studies.csv" # csv file also exists under assets folder
PAS_FDA = pd.read_csv(PAS_FDA, header=0)
return (PAS_FDA,)

Expand Down

0 comments on commit c457219

Please sign in to comment.