{"id":2902,"date":"2020-03-11T16:48:10","date_gmt":"2020-03-11T16:48:10","guid":{"rendered":"https:\/\/cloudxlab.com\/blog\/?p=2902"},"modified":"2020-03-12T07:58:34","modified_gmt":"2020-03-12T07:58:34","slug":"analyzing-data-of-the-global-pandemic-covid-19-using-python","status":"publish","type":"post","link":"https:\/\/cloudxlab.com\/blog\/analyzing-data-of-the-global-pandemic-covid-19-using-python\/","title":{"rendered":"Analyzing data of the global pandemic &#8211; COVID &#8211; 19 using Python"},"content":{"rendered":"\n<p>Covid-19 has been declared as a global pandemic. If you are interested to analyse the data by yourself, please follow the instructions below.<\/p>\n\n\n\n<p>The data is made available to everyone at the locations given below.<\/p>\n\n\n\n<p>The data files are in the form of four metrics and are available to download here:<br><strong>Total confirmed cases:<\/strong><a rel=\"noreferrer noopener\" target=\"_blank\" href=\"https:\/\/cowid.netlify.com\/data\/total_cases.csv\">https:\/\/cowid.netlify.com\/data\/total_cases.csv<\/a><br><strong>Total deaths:<\/strong><a rel=\"noreferrer noopener\" target=\"_blank\" href=\"https:\/\/cowid.netlify.com\/data\/total_deaths.csv\">https:\/\/cowid.netlify.com\/data\/total_deaths.csv<\/a><br><strong>New confirmed cases:<\/strong><a rel=\"noreferrer noopener\" target=\"_blank\" href=\"https:\/\/cowid.netlify.com\/data\/new_cases.csv\">https:\/\/cowid.netlify.com\/data\/new_cases.csv<\/a><br><strong>New deaths:<\/strong><a rel=\"noreferrer noopener\" target=\"_blank\" href=\"https:\/\/cowid.netlify.com\/data\/new_deaths.csv\">https:\/\/cowid.netlify.com\/data\/new_deaths.csv<\/a><br><strong>The full dataset is available to download here:<\/strong><a href=\"http:\/\/cowid.netlify.com\/data\/full_data.csv\">http:\/\/cowid.netlify.com\/data\/full_data.csv<\/a><\/p>\n\n\n\n<p>In your Jupyter notebook, please follow the instructions given below.  To avoid installations of Jupyter or any library, you can simply use CloudxLab &#8211; it gives 15 days free subscription.<\/p>\n\n\n\n<p>Import the Pandas library<\/p>\n\n\n\n<pre class=\"wp-block-verse\">import pandas as pd<\/pre>\n\n\n\n<p>Now, load the data into a DataFrame<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dataframe = pd.read_csv('http:\/\/cowid.netlify.com\/data\/full_data.csv')<\/code><\/pre>\n\n\n\n<p>Once the data has been loaded, you can perform various operations on it. Please see the image attached below to get an idea of the entire process.<\/p>\n\n\n\n<p>The code for this is available here: <a href=\"https:\/\/github.com\/cloudxlab\/covid19\/blob\/master\/Covid-19.ipynb\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">https:\/\/github.com\/cloudxlab\/covid19\/blob\/master\/Covid-19.ipynb<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img width=\"793\" height=\"975\" src=\"https:\/\/blog.cloudxlab.com\/wp-content\/uploads\/2020\/03\/image.png\" alt=\"\" class=\"wp-image-2903\" srcset=\"https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2020\/03\/image.png 793w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2020\/03\/image-244x300.png 244w, https:\/\/cloudxlab.com\/blog\/wp-content\/uploads\/2020\/03\/image-768x944.png 768w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Covid-19 has been declared as a global pandemic. If you are interested to analyse the data by yourself, please follow the instructions below. The data is made available to everyone at the locations given below. The data files are in the form of four metrics and are available to download here:Total confirmed cases:https:\/\/cowid.netlify.com\/data\/total_cases.csvTotal deaths:https:\/\/cowid.netlify.com\/data\/total_deaths.csvNew confirmed &hellip; <a href=\"https:\/\/cloudxlab.com\/blog\/analyzing-data-of-the-global-pandemic-covid-19-using-python\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Analyzing data of the global pandemic &#8211; COVID &#8211; 19 using Python&#8221;<\/span><\/a><\/p>\n","protected":false},"author":14,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Analyzing data of the global pandemic - COVID - 19 using Python | CloudxLab Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudxlab.com\/blog\/analyzing-data-of-the-global-pandemic-covid-19-using-python\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Analyzing data of the global pandemic - COVID - 19 using Python | CloudxLab Blog\" \/>\n<meta property=\"og:description\" content=\"Covid-19 has been declared as a global pandemic. If you are interested to analyse the data by yourself, please follow the instructions below. The data is made available to everyone at the locations given below. The data files are in the form of four metrics and are available to download here:Total confirmed cases:https:\/\/cowid.netlify.com\/data\/total_cases.csvTotal deaths:https:\/\/cowid.netlify.com\/data\/total_deaths.csvNew confirmed &hellip; Continue reading &quot;Analyzing data of the global pandemic &#8211; COVID &#8211; 19 using Python&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudxlab.com\/blog\/analyzing-data-of-the-global-pandemic-covid-19-using-python\/\" \/>\n<meta property=\"og:site_name\" content=\"CloudxLab Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/cloudxlab\" \/>\n<meta property=\"article:published_time\" content=\"2020-03-11T16:48:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-03-12T07:58:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.cloudxlab.com\/wp-content\/uploads\/2020\/03\/image.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CloudxLab\" \/>\n<meta name=\"twitter:site\" content=\"@CloudxLab\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data1\" content=\"1 minute\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cloudxlab.com\/blog\/#website\",\"url\":\"https:\/\/cloudxlab.com\/blog\/\",\"name\":\"CloudxLab Blog\",\"description\":\"Learn AI, Machine Learning, Deep Learning, Devops &amp; Big Data\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/cloudxlab.com\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/cloudxlab.com\/blog\/analyzing-data-of-the-global-pandemic-covid-19-using-python\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/blog.cloudxlab.com\/wp-content\/uploads\/2020\/03\/image.png\",\"contentUrl\":\"https:\/\/blog.cloudxlab.com\/wp-content\/uploads\/2020\/03\/image.png\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cloudxlab.com\/blog\/analyzing-data-of-the-global-pandemic-covid-19-using-python\/#webpage\",\"url\":\"https:\/\/cloudxlab.com\/blog\/analyzing-data-of-the-global-pandemic-covid-19-using-python\/\",\"name\":\"Analyzing data of the global pandemic - COVID - 19 using Python | CloudxLab Blog\",\"isPartOf\":{\"@id\":\"https:\/\/cloudxlab.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/cloudxlab.com\/blog\/analyzing-data-of-the-global-pandemic-covid-19-using-python\/#primaryimage\"},\"datePublished\":\"2020-03-11T16:48:10+00:00\",\"dateModified\":\"2020-03-12T07:58:34+00:00\",\"author\":{\"@id\":\"https:\/\/cloudxlab.com\/blog\/#\/schema\/person\/4835f1b3d5000626cb15e9311d748e09\"},\"breadcrumb\":{\"@id\":\"https:\/\/cloudxlab.com\/blog\/analyzing-data-of-the-global-pandemic-covid-19-using-python\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cloudxlab.com\/blog\/analyzing-data-of-the-global-pandemic-covid-19-using-python\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cloudxlab.com\/blog\/analyzing-data-of-the-global-pandemic-covid-19-using-python\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cloudxlab.com\/blog\/\",\"url\":\"https:\/\/cloudxlab.com\/blog\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@id\":\"https:\/\/cloudxlab.com\/blog\/analyzing-data-of-the-global-pandemic-covid-19-using-python\/#webpage\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/cloudxlab.com\/blog\/#\/schema\/person\/4835f1b3d5000626cb15e9311d748e09\",\"name\":\"Sandeep Giri\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/cloudxlab.com\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1393214840cf7455bb4cba055cb30468?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1393214840cf7455bb4cba055cb30468?s=96&d=mm&r=g\",\"caption\":\"Sandeep Giri\"},\"sameAs\":[\"https:\/\/cloudxlab.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/posts\/2902"}],"collection":[{"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/comments?post=2902"}],"version-history":[{"count":3,"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/posts\/2902\/revisions"}],"predecessor-version":[{"id":2907,"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/posts\/2902\/revisions\/2907"}],"wp:attachment":[{"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/media?parent=2902"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/categories?post=2902"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudxlab.com\/blog\/wp-json\/wp\/v2\/tags?post=2902"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}