Micro
Micro
Roll No : 07
MINI PROJECT
a. Describe the dataset b. Number of persons state wise vaccinated for first
dose in India c. Number of persons state wise vaccinated for second dose in
India d. Number of Males vaccinated d. Number of females vaccinated
In [3]: df = pd.read_csv("covid_vaccine_statewise.csv")
In [47]: print(df.columns)
about:srcdoc Page 1 of 12
micro 17/04/25, 2:52 PM
about:srcdoc Page 2 of 12
micro 17/04/25, 2:52 PM
4 NaN 98111.0
[5 rows x 24 columns]
about:srcdoc Page 3 of 12
micro 17/04/25, 2:52 PM
<class 'pandas.core.frame.DataFrame'>
RangeIndex: 7845 entries, 0 to 7844
Data columns (total 24 columns):
# Column Non-Null Count Dtype
--- ------ -------------- -----
0 Updated On 7845 non-null object
1 State 7845 non-null object
2 Total Doses Administered 7621 non-null float64
3 Sessions 7621 non-null float64
4 Sites 7621 non-null float64
5 First Dose Administered 7621 non-null float64
6 Second Dose Administered 7621 non-null float64
7 Male (Doses Administered) 7461 non-null float64
8 Female (Doses Administered) 7461 non-null float64
9 Transgender (Doses Administered) 7461 non-null float64
10 Covaxin (Doses Administered) 7621 non-null float64
11 CoviShield (Doses Administered) 7621 non-null float64
12 Sputnik V (Doses Administered) 2995 non-null float64
13 AEFI 5438 non-null float64
14 18-44 Years (Doses Administered) 1702 non-null float64
15 45-60 Years (Doses Administered) 1702 non-null float64
16 60+ Years (Doses Administered) 1702 non-null float64
17 18-44 Years(Individuals Vaccinated) 3733 non-null float64
18 45-60 Years(Individuals Vaccinated) 3734 non-null float64
19 60+ Years(Individuals Vaccinated) 3734 non-null float64
20 Male(Individuals Vaccinated) 160 non-null float64
21 Female(Individuals Vaccinated) 160 non-null float64
22 Transgender(Individuals Vaccinated) 160 non-null float64
23 Total Individuals Vaccinated 5919 non-null float64
dtypes: float64(22), object(2)
memory usage: 1.4+ MB
None
about:srcdoc Page 4 of 12
micro 17/04/25, 2:52 PM
about:srcdoc Page 5 of 12
micro 17/04/25, 2:52 PM
about:srcdoc Page 6 of 12
micro 17/04/25, 2:52 PM
e+06
std 12485.026753 1.834182
e+07
min 2.000000 7.000000
e+00
25% 1278.750000 7.427550
e+04
50% 8007.500000 4.022880
e+05
75% 19851.000000 3.501562
e+06
max 46462.000000 2.506569
e+08
[8 rows x 22 columns]
In [7]: # Check column names to identify the one for 1st dose
# Usually it might be something like 'First Dose Administered'
print(first_dose_statewise)
about:srcdoc Page 7 of 12
micro 17/04/25, 2:52 PM
State
India 2.826214e+10
Uttar Pradesh 2.788411e+09
Maharashtra 2.784364e+09
Rajasthan 2.201044e+09
Gujarat 2.131646e+09
Karnataka 1.873330e+09
Madhya Pradesh 1.796605e+09
West Bengal 1.796450e+09
Bihar 1.470503e+09
Tamil Nadu 1.288533e+09
Andhra Pradesh 1.232861e+09
Kerala 1.193845e+09
Odisha 1.032633e+09
Telangana 8.803206e+08
Chhattisgarh 7.960029e+08
Haryana 7.557984e+08
Delhi 6.243395e+08
Jharkhand 6.036737e+08
Assam 5.856002e+08
Punjab 5.843466e+08
Jammu and Kashmir 4.101018e+08
Uttarakhand 3.631914e+08
Himachal Pradesh 3.162940e+08
Tripura 1.926897e+08
Goa 7.599137e+07
Manipur 6.740957e+07
Meghalaya 6.261597e+07
Arunachal Pradesh 4.900498e+07
Mizoram 4.787308e+07
Chandigarh 4.470310e+07
Nagaland 4.241077e+07
Puducherry 4.134686e+07
Sikkim 3.698093e+07
Dadra and Nagar Haveli and Daman and Diu 3.359506e+07
Ladakh 1.780925e+07
Andaman and Nicobar Islands 1.642585e+07
Lakshadweep 4.363655e+06
Name: First Dose Administered, dtype: float64
print(second_dose_statewise)
about:srcdoc Page 8 of 12
micro 17/04/25, 2:52 PM
State
India 6.759621e+09
Maharashtra 7.128811e+08
Gujarat 6.004184e+08
West Bengal 5.861469e+08
Uttar Pradesh 5.544351e+08
Rajasthan 4.917030e+08
Karnataka 4.271872e+08
Kerala 3.640488e+08
Andhra Pradesh 3.588176e+08
Madhya Pradesh 3.169330e+08
Tamil Nadu 2.906706e+08
Bihar 2.707906e+08
Odisha 2.513028e+08
Telangana 1.981529e+08
Delhi 1.882189e+08
Chhattisgarh 1.721204e+08
Haryana 1.586561e+08
Assam 1.307888e+08
Jharkhand 1.221211e+08
Punjab 1.211210e+08
Uttarakhand 1.000850e+08
Jammu and Kashmir 8.595165e+07
Himachal Pradesh 7.383858e+07
Tripura 6.527014e+07
Goa 1.619817e+07
Meghalaya 1.216663e+07
Arunachal Pradesh 1.193232e+07
Manipur 1.185815e+07
Chandigarh 1.159374e+07
Mizoram 9.998418e+06
Sikkim 9.723640e+06
Nagaland 9.204637e+06
Puducherry 8.608859e+06
Ladakh 5.453762e+06
Dadra and Nagar Haveli and Daman and Diu 4.594416e+06
Andaman and Nicobar Islands 4.118554e+06
Lakshadweep 1.056446e+06
Name: Second Dose Administered, dtype: float64
In [13]: print(df.columns)
about:srcdoc Page 9 of 12
micro 17/04/25, 2:52 PM
In [31]: # Check column names to identify the one for 1st dose
# Usually it might be something like 'First Dose Administered'
print(first_dose_statewise)
about:srcdoc Page 10 of 12
micro 17/04/25, 2:52 PM
State
India 2.826214e+10
Uttar Pradesh 2.788411e+09
Maharashtra 2.784364e+09
Rajasthan 2.201044e+09
Gujarat 2.131646e+09
Karnataka 1.873330e+09
Madhya Pradesh 1.796605e+09
West Bengal 1.796450e+09
Bihar 1.470503e+09
Tamil Nadu 1.288533e+09
Andhra Pradesh 1.232861e+09
Kerala 1.193845e+09
Odisha 1.032633e+09
Telangana 8.803206e+08
Chhattisgarh 7.960029e+08
Haryana 7.557984e+08
Delhi 6.243395e+08
Jharkhand 6.036737e+08
Assam 5.856002e+08
Punjab 5.843466e+08
Jammu and Kashmir 4.101018e+08
Uttarakhand 3.631914e+08
Himachal Pradesh 3.162940e+08
Tripura 1.926897e+08
Goa 7.599137e+07
Manipur 6.740957e+07
Meghalaya 6.261597e+07
Arunachal Pradesh 4.900498e+07
Mizoram 4.787308e+07
Chandigarh 4.470310e+07
Nagaland 4.241077e+07
Puducherry 4.134686e+07
Sikkim 3.698093e+07
Dadra and Nagar Haveli and Daman and Diu 3.359506e+07
Ladakh 1.780925e+07
Andaman and Nicobar Islands 1.642585e+07
Lakshadweep 4.363655e+06
Name: First Dose Administered, dtype: float64
print(second_dose_statewise)
about:srcdoc Page 11 of 12
micro 17/04/25, 2:52 PM
State
India 6.759621e+09
Maharashtra 7.128811e+08
Gujarat 6.004184e+08
West Bengal 5.861469e+08
Uttar Pradesh 5.544351e+08
Rajasthan 4.917030e+08
Karnataka 4.271872e+08
Kerala 3.640488e+08
Andhra Pradesh 3.588176e+08
Madhya Pradesh 3.169330e+08
Tamil Nadu 2.906706e+08
Bihar 2.707906e+08
Odisha 2.513028e+08
Telangana 1.981529e+08
Delhi 1.882189e+08
Chhattisgarh 1.721204e+08
Haryana 1.586561e+08
Assam 1.307888e+08
Jharkhand 1.221211e+08
Punjab 1.211210e+08
Uttarakhand 1.000850e+08
Jammu and Kashmir 8.595165e+07
Himachal Pradesh 7.383858e+07
Tripura 6.527014e+07
Goa 1.619817e+07
Meghalaya 1.216663e+07
Arunachal Pradesh 1.193232e+07
Manipur 1.185815e+07
Chandigarh 1.159374e+07
Mizoram 9.998418e+06
Sikkim 9.723640e+06
Nagaland 9.204637e+06
Puducherry 8.608859e+06
Ladakh 5.453762e+06
Dadra and Nagar Haveli and Daman and Diu 4.594416e+06
Andaman and Nicobar Islands 4.118554e+06
Lakshadweep 1.056446e+06
Name: Second Dose Administered, dtype: float64
In [ ]:
about:srcdoc Page 12 of 12