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
#1
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

Thumbnail(s)
           
Reply
#2
Have not played with that dataset. Is it possible the values are strings, ie "1012" rather than numbers? would look at the data first.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Parsing "aTimeLogger" Android app data to graphs using pandas Drone4four 8 2,050 Jun-23-2024, 07:12 AM
Last Post: Drone4four
  Grouping in pandas/multi-index data frame Aleqsie 3 1,587 Jan-06-2024, 03:55 PM
Last Post: deanhystad
  Jupyter notebooks, jupyter kernels, virtual environment created in Anaconda... bytecrunch 8 4,758 Nov-05-2023, 06:38 PM
Last Post: snippsat
  Jupyter Notebook TypeError Holidays entity loader class bmanning20 0 3,349 Jul-20-2023, 06:52 PM
Last Post: bmanning20
  Why does graph look different in Codecademy and Jupyter Notebook abc123456 1 1,965 Mar-29-2023, 09:22 AM
Last Post: newbieAuggie2019
Smile How to further boost the data read write speed using pandas tjk9501 1 1,710 Nov-14-2022, 01:46 PM
Last Post: jefsummers
  Setting up and integrating Jupyter Notebook development environment with VSC Drone4four 3 2,584 Sep-12-2022, 09:18 AM
Last Post: Drone4four
Exclamation Jupyter Notebook - Help Needed! eyadfr 1 2,207 Jan-26-2022, 06:42 PM
Last Post: jefsummers
  Help needed with Jupyter Notebook eyadfr 4 2,706 Jan-04-2022, 08:20 PM
Last Post: snippsat
Question Sorting data with pandas TheZaind 4 2,940 Nov-22-2021, 07:33 PM
Last Post: aserian

Forum Jump:

User Panel Messages

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