Python Forum
can't access data from URL in pandas/jupyter notebook
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
can't access data from URL in pandas/jupyter notebook
Thumbs Up 
Hi everyone

i'm new to python. I'm in training and i started using jupyter notebook on a project
I wanted to work with covid data. I took the raw data from John Hopskins Git hub via URLs
i got data for confirmed cases, deaths and recovered. Each set of data is on a different url
Everything works fine except recovered cases. apparently i can't access the data since in my code, it returns NaN
I don't get why...
Here are my screen shots
Feel free to ask me anything, i'll try my best to give you any detail needed

I know i'm not supposed to attach screenshot and rather copy/paste my code but i'm not sure the code is the problem here, since it works fine with the other files...
i've copied.pasted the URL again and again, thinking maybe the adress was incomplete but it doesn't seem to be faulty...

Thank you so much

Attached Files

Have not played with that dataset. Is it possible the values are strings, ie "1012" rather than numbers? would look at the data first.

Possibly Related Threads…
Thread Author Replies Views Last Post
Smile How to further boost the data read write speed using pandas tjk9501 1 292 Nov-14-2022, 01:46 PM
Last Post: jefsummers
  Setting up and integrating Jupyter Notebook development environment with VSC Drone4four 3 667 Sep-12-2022, 09:18 AM
Last Post: Drone4four
Exclamation Jupyter Notebook - Help Needed! eyadfr 1 1,113 Jan-26-2022, 06:42 PM
Last Post: jefsummers
  Help needed with Jupyter Notebook eyadfr 4 1,114 Jan-04-2022, 08:20 PM
Last Post: snippsat
Question Sorting data with pandas TheZaind 4 1,551 Nov-22-2021, 07:33 PM
Last Post: aserian
  Pandas Data frame column condition check based on length of the value aditi06 1 1,851 Jul-28-2021, 11:08 AM
Last Post: jefsummers
  [Pandas] Write data to Excel with dot decimals manonB 1 3,559 May-05-2021, 05:28 PM
Last Post: ibreeden
  pandas.to_datetime: Combine data from 2 columns ju21878436312 1 1,860 Feb-20-2021, 08:25 PM
Last Post: perfringo
  HELP! Importing json file into csv into jupyter notebook vilsef 2 1,647 Jan-22-2021, 11:06 AM
Last Post: snippsat
  How can draw a real-time marker on map using folium/leaflet Jupyter notebook C3PO 0 1,792 Dec-22-2020, 07:04 PM
Last Post: C3PO

Forum Jump:

User Panel Messages

Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020