To code to data wrangle the John Hopkins Coronavirus website by country in Python, we need to do web scraping. Here are the steps to achieve this:
main.py44 chars2 lines
main.py134 chars6 lines
main.py299 chars13 lines
main.py229 chars7 lines
This code will give you a pandas dataframe with the total new cases sorted by state. You can modify the code as per your requirement to extract the data for a specific country.
gistlibby LogSnag