Data Science is a multi-desciplinary field that uses scientific methods, processes, algorithms and systems to extract knowledge and insights from structured and unstructured data.
Corona Virus
Coronaviruses are zoonotic viruses (means transmitted between animals and people).
Symptoms include from fever, cough, respiratory symptoms, and breathing difficulties.
In severe cases, it can cause pneumonia, severe acute respiratory syndrome (SARS), kidney failure and even death.
Coronaviruses are also asymptomatic, means a person can be a carrier for the infection but experiences no symptoms
Novel coronavirus (nCoV)
A novel coronavirus (nCoV) is a new strain that has not been previously identified in humans.
COVID-19 (Corona Virus Disease 2019)
Caused by a SARS-COV-2 corona virus.
First identified in Wuhan, Hubei, China. Earliest reported symptoms reported in November 2019.
First cases were linked to contact with the Huanan Seafood Wholesale Market, which sold live animals.
On 30 January the WHO declared the outbreak to be a Public Health Emergency of International Concern
Libraries
to install for require to run data science analytics
Install
# install calmap
! pip install calmap
#requre libraries we are going user for this program
import
# essential libraries
import json
import random
from urllib.request import urlopen
# storing and anaysis
import numpy as np
import pandas as pd
# visualization
import matplotlib.pyplot as plt
import seaborn as sns
import plotly.express as px
import plotly.graph_objs as go
import plotly.figure_factory as ff
import calmap
import folium
# color pallette
cnf = '#393e46' # confirmed - grey
dth = '#ff2e63' # death - red
rec = '#21bf73' # recovered - cyan
act = '#fe9801' # active case - yellow
# converter
from pandas.plotting import register_matplotlib_converters
register_matplotlib_converters()
# cases in the ships
ship = full_table[full_table['Province/State'].str.contains('Grand Princess')|full_table['Country/Region'].str.contains('Cruise Ship')]
# china and the row
china = full_table[full_table['Country/Region']=='China']
row = full_table[full_table['Country/Region']!='China']
temp_f = full_latest_grouped.sort_values(by='Confirmed', ascending=False)
temp_f = temp_f.reset_index(drop=True)
temp_f.style.background_gradient(cmap='Reds')
Countries with deaths reported
temp_flg = temp_f[temp_f['Deaths']>0][['Country/Region', 'Deaths']]
temp_flg.sort_values('Deaths', ascending=False).reset_index(drop=True).style.background_gradient(cmap='Reds')
Countries with no cases recovered
temp = temp_f[temp_f['Recovered']==0][['Country/Region', 'Confirmed', 'Deaths', 'Recovered']]
temp.reset_index(drop=True).style.background_gradient(cmap='Reds')
Countries with all cases died
m = folium.Map(location=[0, 0], tiles='cartodbpositron',
min_zoom=1, max_zoom=4, zoom_start=1)
for i in range(0, len(full_latest)):
folium.Circle(
location=[full_latest.iloc[i]['Lat'], full_latest.iloc[i]['Long']],
color='crimson',
tooltip = '
Country : '+str(full_latest.iloc[i]['Country/Region'])+
'
Province : '+str(full_latest.iloc[i]['Province/State'])+
'