Learn practical skills, build real-world projects, and advance your career
Updated 3 years ago
Importing Libraries
import pandas as pd
from matplotlib import pyplot as plt
%matplotlib inline
plt.style.use('dark_background')
import seaborn as sns
covid_df=pd.read_csv("Latest Covid-19 India Status.csv")
covid_df.head()
covid_df.shape
(36, 8)
covid_df.info()
<class 'pandas.core.frame.DataFrame'>
RangeIndex: 36 entries, 0 to 35
Data columns (total 8 columns):
# Column Non-Null Count Dtype
--- ------ -------------- -----
0 State/UTs 36 non-null object
1 Total Cases 36 non-null int64
2 Active 36 non-null int64
3 Discharged 36 non-null int64
4 Deaths 36 non-null int64
5 Active Ratio (%) 36 non-null float64
6 Discharge Ratio (%) 36 non-null float64
7 Death Ratio (%) 36 non-null float64
dtypes: float64(3), int64(4), object(1)
memory usage: 2.4+ KB