0% found this document useful (0 votes)
74 views34 pages

First Dsbda

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
74 views34 pages

First Dsbda

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 34

A MINI PROJECT REPORT

ON

Covid Vaccine Statewise Analysis

SUBMITTED TOWARDS THE


PARTIAL FULFILLMENT OF THE REQUIREMENTS OF

BACHELOR OF ENGINEERING (TE Computer Engineering)

BY

Stud. Name :- Siddhesh Bhise Exam No: 6


Stud. Name :- Suraj Karkhile Exam No: 28
Stud. Name :- Tushar Kutal Exam No: 29
Stud. Name :- Abhishek Mohalkar Exam No: 35

Under The Guidance of


Prof. Radhika Kokate

DEPARTMENT OF COMPUTER ENGINEERING

Parvatibai Genba Moze College Of Engineering


Wagholi, Pune, Maharashtra 412207
Parvatibai Genba Moze College Of Engineering
Wagholi, Pune, Maharashtra 412207

DEPARTMENT OF COMPUTER ENGINEERING

CERTIFICATE

This is to certify that the Project Entitled

Covid Vaccine Statewise Analysis

is a bonafide work carried out by students under the supervision of Prof.


Radhika Kokate and it is submitted towards the partial fulfilment of the
requirement of Bachelor of Engineering (TE Computer Engineering).

Prof. Radhika Kokate


Prof. Shrikant Dhamdhere
Internal Guide H.O.D
Dept. of Computer Engg. Dept. of Computer Engg.

Parvatibai Genba Moze College Of Engineering


Wagholi, Pune, Maharashtra 412207

2
Covid Vaccine Statewise Analysis

Abstract

This report presents a thorough examination of the state-wise COVID-19 data analysis, aiming to
provide insights into the pandemic's impact across different regions. Utilizing a diverse set of
statistical methods and visualization techniques, this analysis encompasses various aspects including
infection rates, mortality rates, testing capacities, vaccination progress, and healthcare system
resilience. The data, sourced from reliable governmental and health organizations, spans from the
onset of the pandemic to the latest available figures, offering a comprehensive view of the evolving
situation. Key findings highlight disparities in containment measures, healthcare infrastructure, and
socio-economic factors contributing to the differential outcomes observed among states. Furthermore,
this report identifies trends, patterns, and potential correlations between demographic characteristics,
public health interventions, and COVID-19 outcomes, thus providing valuable insights for
policymakers, healthcare professionals, and researchers to inform targeted strategies for effective
pandemic management and response at the state level.

Abstract This comprehensive data analysis report delves into the state-wise dynamics of the COVID-
19 pandemic, providing a nuanced understanding of its multifaceted impact. Leveraging advanced
analytical techniques and visualization tools, the report offers a deep dive into key metrics such as
case counts, mortality rates, testing efficacy, vaccination coverage, and healthcare system capacities
across different states. Drawing upon meticulously curated datasets from reputable sources, the
analysis spans the entire duration of the pandemic, enabling a comprehensive assessment of trends
and variations over time. By uncovering disparities in public health measures, resource allocation, and
population demographics, the report sheds light on the complex interplay of factors shaping COVID-
19 outcomes at the state level. Ultimately, these insights serve as a vital resource for policymakers,
healthcare practitioners, and researchers, empowering them to formulate targeted interventions and
strategies to mitigate the pandemic's impact and safeguard public health.

Drawing upon meticulously curated datasets from reputable sources, the analysis spans the entire
duration of the pandemic, enabling a comprehensive assessment of trends and variations over time.
By uncovering disparities in public health measures, resource allocation, and population
demographics, the report sheds light on the complex interplay of factors shaping COVID-19 outcomes
at the state level. Ultimately, these insights serve as a vital resource for policymakers, healthcare
practitioners, and researchers, empowering them to formulate targeted interventions and strategies to
mitigate the pandemic's impact and safeguard public health.

Parvatibai Genba Moze College Of Engineering


Wagholi, Pune, Maharashtra 412207

3
Covid Vaccine Statewise Analysis

S. No TOPIC NAME PAGE NO

1 INTRODUCTION 1

2 OBJECTIVES 5

3 PROBLEM DEFINITION

4 LITERATURE SURVEY

REQUIREMENT
5 SPECIFICATION
(HARDWARE/SOFTWARE)

6 IMPLEMENTATION (Code)

7 SNAPSHOTS OF TECHNOLOGY WITH TEST CASES

8 CONCLUSION 20

Parvatibai Genba Moze College Of Engineering


Wagholi, Pune, Maharashtra 412207

4
LIST OF FIGURES

S.
TOPIC NAME PAGE NO
No
1 Introduction diagram

2 System Architecture

3 Use case Diagram

4 Class Diagram

Parvatibai Genba Moze College Of Engineering


Wagholi, Pune, Maharashtra 412207

5
Covid Vaccine Statewise Analysis

Introduction:

Welcome to our data science project focused on the state-wise analysis of COVID-19. In the wake of
the unprecedented global pandemic, understanding the nuanced impact of COVID-19 at the state level
is essential for effective response and mitigation strategies. Our project endeavors to provide a
comprehensive examination of COVID-19 dynamics across different states, leveraging advanced data
analytics techniques and visualization tools. By delving into key metrics such as infection rates,
mortality rates, testing capacities, vaccination progress, and healthcare system resilience, we aim to
uncover patterns, trends, and disparities that shed light on the varying outcomes observed among
states. Through this analysis, we seek to equip policymakers, healthcare professionals, and researchers
with actionable insights to inform targeted interventions and strategies for navigating the complexities
of the COVID-19 pandemic at the state level.

In this era of unprecedented global challenges, the COVID-19 pandemic has underscored the critical
importance of data-driven insights for informed decision-making. Our data science project focuses on
conducting a comprehensive state-wise analysis of COVID-19 to elucidate the diverse impacts and
trends across regions. By harnessing cutting-edge data analytics methodologies and visualization
techniques, we aim to unravel the intricate interplay of factors influencing COVID-19 outcomes at the
state level. Through meticulous examination of key indicators such as infection rates, mortality rates,
testing capacities, vaccination efforts, and healthcare system preparedness, our project seeks to
provide stakeholders with actionable intelligence to devise targeted strategies and interventions. By
empowering decision-makers with timely and relevant information, we aspire to contribute towards
effective pandemic management and response efforts, ultimately striving for a safer and more resilient
future.

Amidst the unprecedented challenges posed by the COVID-19 pandemic, the need for data-driven
insights to navigate through these turbulent times has never been more crucial. Our data science
project embarks on a comprehensive exploration of COVID-19 dynamics at the state level, aiming to
unravel the intricate patterns and disparities underlying its impact. Leveraging state-of-the-art data
analytics methodologies and visualization tools, we delve into a rich tapestry of metrics encompassing
infection rates, mortality rates, testing capacities, vaccination progress, and healthcare system
resilience. By meticulously dissecting these key indicators across different states, our analysis seeks to
offer a nuanced understanding of the varying trajectories and vulnerabilities inherent in the
pandemic's spread. Armed with these insights, policymakers, healthcare professionals, and researchers
can formulate evidence-based strategies and interventions tailored to the unique challenges faced by
each state, thus fostering a more effective and targeted response to the ongoing crisis.

the unprecedented challenges posed by the COVID-19 pandemic, the need for data-driven insights to
navigate through these turbulent times has never been more crucial. Our data science project embarks
on a comprehensive exploration of COVID-19 dynamics at the state level, aiming to unravel the
intricate patterns and disparities underlying its impact. Leveraging state-of-the-art data analytics
methodologies and visualization tools, we delve into a rich tapestry of metrics encompassing infection
rates, mortality rates, testing capacities, vaccination progress, and healthcare system resilience. By
meticulously dissecting these key indicators across different states, our analysis seeks to offer a
nuanced understanding of the varying trajectories and vulnerabilities inherent in the pandemic's
spread. Armed with these insights, policymakers, healthcare professionals, and researchers can
formulate evidence-based strategies and interventions tailored to the unique challenges faced by each
state, thus fostering a more effective and targeted response to the ongoing crisis.

Parvatibai Genba Moze College Of Engineering


Wagholi, Pune, Maharashtra 412207

6
Covid Vaccine Statewise Analysis

Objective
The primary objective of our data science project is to provide a comprehensive and detailed
examination of the state-wise dynamics of the COVID-19 pandemic. In light of the unprecedented
global crisis caused by the spread of the novel coronavirus, understanding the nuanced impact of
COVID-19 at the state level is essential for effective response, mitigation, and policymaking.
Leveraging advanced data analytics techniques, statistical methods, and visualization tools, our
project aims to delve deeply into key metrics and indicators to uncover patterns, trends, and disparities
across different states.

Our analysis will encompass a wide range of factors including but not limited to infection rates,
mortality rates, testing capacities, vaccination progress, and the resilience of healthcare systems. By
meticulously collecting, cleaning, and analyzing data sourced from reputable governmental and health
organizations, we aim to provide a comprehensive view of the evolving COVID-19 situation across
states, from the onset of the pandemic to the latest available figures.

Through this analysis, our objective is to identify and highlight disparities in containment measures,
healthcare infrastructure, socio-economic factors, and demographic characteristics that contribute to
differential outcomes observed among states. By elucidating these disparities, we aim to provide
actionable insights to policymakers, healthcare professionals, and researchers, enabling them to
develop targeted interventions and strategies to mitigate the impact of COVID-19 and strengthen
resilience at the state level.

Furthermore, our project seeks to identify trends, correlations, and potential causal relationships
between various factors and COVID-19 outcomes, thus contributing to the body of knowledge
surrounding the pandemic and informing evidence-based decision-making. Ultimately, our objective
is to empower stakeholders with actionable intelligence and data-driven insights to effectively
navigate the complexities of the COVID-19 pandemic, minimize its impact, and work towards
building a more resilient public health infrastructure for future challenges.

The project also aims to assess the effectiveness of public health interventions and policy measures
implemented by different states in response to the pandemic. By analyzing the impact of measures
such as lockdowns, mask mandates, social distancing guidelines, and vaccination campaigns, we seek
to understand which strategies have been most successful in containing the spread of the virus and
mitigating its effects on public health and the economy. This assessment will help identify best
practices and lessons learned that can inform future pandemic preparedness and response efforts at the
state and national levels.

Furthermore, our project endeavors to engage in predictive modeling and scenario analysis to
anticipate future trends and potential outcomes of the pandemic across different states. By
incorporating factors such as vaccination rates, emerging variants, population mobility, and healthcare
capacity into our models, we aim to provide stakeholders with forecasts and projections that can guide
proactive decision-making and resource allocation. This forward-looking analysis will enable
policymakers and public health authorities to anticipate challenges, allocate resources efficiently, and
implement targeted interventions to prevent further spread of the virus and minimize its impact on
society.

Parvatibai Genba Moze College Of Engineering


Wagholi, Pune, Maharashtra 412207

7
Covid Vaccine Statewise Analysis

Problem Defintion
The global COVID-19 pandemic has presented an unprecedented challenge to public health systems,
governments, and societies worldwide. As the virus continues to spread, it has become increasingly
evident that understanding the nuanced impact of COVID-19 at the state level is crucial for effective
response and mitigation strategies. The diverse outcomes observed across different states underscore
the need for a comprehensive analysis of COVID-19 dynamics, encompassing key metrics such as
infection rates, mortality rates, testing capacities, vaccination progress, and healthcare system
resilience.

The primary problem addressed by our data science project is the lack of a detailed and granular
understanding of COVID-19 trends and disparities at the state level. While national-level data
provides valuable insights into the overall trajectory of the pandemic, it often masks variations and
disparities among states with distinct demographic, socio-economic, and healthcare characteristics.
Without a thorough analysis of state-specific data, policymakers, healthcare professionals, and
researchers may struggle to develop targeted interventions and strategies to effectively mitigate the
impact of COVID-19 and allocate resources where they are most needed.

One of the key challenges in addressing this problem is the availability and quality of state-level
COVID-19 data. While many states provide regular updates on case counts, testing metrics, and
vaccination progress, there may be inconsistencies in reporting standards and data collection methods
across states. Additionally, data may be subject to lag times, inaccuracies, and gaps, making it
challenging to conduct robust and reliable analysis. Therefore, our project aims to overcome these
challenges by collecting, cleaning, and analyzing state-level COVID-19 data from reputable
governmental and health organizations to ensure accuracy and consistency.

Another challenge is the complex and multifaceted nature of the COVID-19 pandemic, which is
influenced by a myriad of factors including but not limited to population density, socio-economic
disparities, healthcare infrastructure, public health interventions, and individual behaviors.
Understanding the interplay of these factors and their impact on COVID-19 outcomes at the state
level requires advanced data analytics techniques and sophisticated modeling approaches. Our project
seeks to leverage state-of-the-art data science methodologies, statistical techniques, and visualization
tools to unravel these complexities and provide actionable insights for decision-makers.

Furthermore, as the pandemic evolves and new variants emerge, the need for timely and relevant
information becomes increasingly critical. Therefore, our project aims to develop predictive models
and scenario analyses to anticipate future trends and potential outcomes of the pandemic across
different states. By incorporating factors such as vaccination rates, population mobility, and
healthcare capacity into our models, we seek to provide stakeholders with forecasts and projections
that can guide proactive decision-making and resource allocation.

In summary, our data science project addresses the pressing need for a comprehensive state-wise
analysis of COVID-19 to inform evidence-based decision-making and targeted interventions. By
overcoming challenges related to data availability, complexity, and timeliness, we aim to provide
stakeholders with actionable intelligence to navigate the complexities of the pandemic effectively and
work towards building a more resilient public health infrastructure for future challenges.

Parvatibai Genba Moze College Of Engineering


Wagholi, Pune, Maharashtra 412207

8
Covid Vaccine Statewise Analysis

Literature Survey:

The COVID-19 pandemic has spurred a vast body of research aimed at understanding its
epidemiology, transmission dynamics, and impacts on public health and society. A literature
survey reveals several key themes and findings relevant to our problem statement of conduc
state-wise analysis of COVID-19 dynamics.
1. State-Level Variations in COVID-19 Outcomes:
Numerous studies have documented significant variations in COVID-19 outcomes across
different states within countries. For example, research conducted in the United States has
highlighted disparities in infection rates, mortality rates, and vaccination coverage among states
with varying population densities, socio-economic profiles, and healthcare infrastructure
(Bilinski et al., 2021; Goldstein et al., 2021). Similar variations have been observed in other
countries such as India (Kulkarni et al., 2021) and Brazil (Vieira et al., 2021), underscoring the
need for state-specific analyses to inform targeted interventions.

2. Factors Influencing State-Level COVID-19 Dynamics:


Several factors have been identified as drivers of state-level variations in COVID-19 outcomes.
These include demographic characteristics, such as age distribution and population density,
socio-economic factors, such as income inequality and access to healthcare, and public health
interventions, such as mask mandates and stay-at-home orders (Courtemanche et al., 2020;
Hamidi et al., 2020). Understanding the interplay of these factors is essential for elucidating the
underlying determinants of COVID-19 disparities and informing evidence-based policymaking.

3. Data Challenges and Methodological Considerations:


A recurring theme in the literature is the importance of addressing data challenges and
methodological considerations in conducting state-wise analyses of COVID-19. These
challenges include inconsistencies in data reporting standards, lag times in data availability, and
biases in data collection methods (Gupta et al., 2020; Moehring et al., 2021). Researchers have
employed various statistical techniques, such as Bayesian modeling and time-series analysis, to
overcome these challenges and derive meaningful insights from imperfect data (Nguyen et al.,
2021; Salje et al., 2020).

4. Predictive Modeling and Scenario Analysis:


To anticipate future trends and potential outcomes of the pandemic, researchers have developed
predictive models and conducted scenario analyses at the state level. These models integrate
data on vaccination rates, population mobility, and healthcare capacity to project the trajectory
of COVID-19 under different scenarios (Chang et al., 2021; Chinazzi et al., 2020). By providing
decision-makers with forecasts and projections, these studies enable proactive planning and
resource allocation to mitigate the impact of the pandemic.

Parvatibai Genba Moze College Of Engineering


Wagholi, Pune, Maharashtra 412207

9
Covid Vaccine Statewise Analysis

REQUIREMENT SPECIFICATION (HARDWARE/SOFTWARE)


Hardware Requirements:
Computing Devices:

Laptops for development and testing purposes.


 Cloud infrastructure if you're considering cloud-based solutions for scalability.

Storage Devices:
 Sufficient storage capacity to store large datasets of vaccine distribution data.
 Options include hard disk drives (HDDs), solid-state drives (SSDs), or cloud-based
storage solutions.

Networking Equipment:
 Networking devices like routers, switches, and cables for local network setup.
 Internet connectivity for data retrieval from online sources and cloud services.

Software Requirements:
Operating System:
 Server-grade operating systems such as Linux distributions (e.g., Ubuntu Server,
CentOS) or Windows Server for hosting data processing and analysis software.
 Development and testing can be done on various operating systems including Windows,
macOS, or Linux.

Database Management System (DBMS):


 DBMS software for storing and managing vaccine distribution data efficiently.
 Options include relational databases like PostgreSQL, MySQL, or SQL Server, or
NoSQL databases like MongoDB, depending on data structure and requirements.

Programming Languages:
 Python for data analysis, scripting, and automation tasks.
 SQL for database querying and manipulation.

Data Analysis Tools:


 Pandas, NumPy, and SciPy for data manipulation and analysis in Python.
 Visualization libraries like Matplotlib and Seaborn for creating charts and graphs.
 Jupyter Notebook for interactive data analysis and visualization.

Parvatibai Genba Moze College Of Engineering


Wagholi, Pune, Maharashtra 412207

10
Covid Vaccine Statewise Analysis

Implementation
1:

import numpy as np

import pandas as pd

import seaborn as sns

import matplotlib.pyplot as plt

2 . :df = pd.read_csv("covid_vaccine_statewise.csv")

3 : print(df)
Output :

Updated On State Total Doses Administered Sessions Sites \


0 16-01-2021 India 48276.0 3455.0 2957.0
1 17-01-2021 India 58604.0 8532.0 4954.0
2 18-01-2021 India 99449.0 13611.0 6583.0
3 19-01-2021 India 195525.0 17855.0 7951.0
4 20-01-2021 India 251280.0 25472.0 10504.0
... ... ... ... ... ...
7840 11-08-2021 West Bengal NaN NaN NaN
7841 12-08-2021 West Bengal NaN NaN NaN
7842 13-08-2021 West Bengal NaN NaN NaN
7843 14-08-2021 West Bengal NaN NaN NaN
7844 15-08-2021 West Bengal NaN NaN NaN

First Dose Administered Second Dose Administered \


0 48276.0 0.0
1 58604.0 0.0
2 99449.0 0.0
3 195525.0 0.0
4 251280.0 0.0
... ... ...
7840 NaN NaN
7841 NaN NaN
7842 NaN NaN
7843 NaN NaN
7844 NaN NaN

Male (Doses Administered) Female (Doses Administered) \


0 NaN NaN
1 NaN NaN
2 NaN NaN
3 NaN NaN
4 NaN NaN
... ... ...
7840 NaN NaN
Parvatibai Genba Moze College Of Engineering
Wagholi, Pune, Maharashtra 412207

11
Covid Vaccine Statewise Analysis

7841 NaN NaN


7842 NaN NaN
7843 NaN NaN
7844 NaN NaN

Transgender (Doses Administered) ... 18-44 Years (Doses Administered) \


0 NaN ... NaN
1 NaN ... NaN
2 NaN ... NaN
3 NaN ... NaN
4 NaN ... NaN
... ... ... ...
7840 NaN ... NaN
7841 NaN ... NaN
7842 NaN ... NaN
7843 NaN ... NaN
7844 NaN ... NaN

45-60 Years (Doses Administered) 60+ Years (Doses Administered) \


0 NaN NaN
1 NaN NaN
2 NaN NaN
3 NaN NaN
4 NaN NaN
... ... ...
7840 NaN NaN
7841 NaN NaN
7842 NaN NaN
7843 NaN NaN
7844 NaN NaN

18-44 Years(Individuals Vaccinated) \


0 NaN
1 NaN
2 NaN
3 NaN
4 NaN
... ...
7840 NaN
7841 NaN
7842 NaN
7843 NaN
7844 NaN

45-60 Years(Individuals Vaccinated) 60+ Years(Individuals Vaccinated) \


0 NaN NaN
1 NaN NaN
2 NaN NaN
3 NaN NaN
4 NaN NaN
... ... ...
7840 NaN NaN
7841 NaN NaN
7842 NaN NaN
Parvatibai Genba Moze College Of Engineering
Wagholi, Pune, Maharashtra 412207

12
Covid Vaccine Statewise Analysis

7843 NaN NaN


7844 NaN NaN

Male(Individuals Vaccinated) Female(Individuals Vaccinated) \


0 23757.0 24517.0
1 27348.0 31252.0
2 41361.0 58083.0
3 81901.0 113613.0
4 98111.0 153145.0
... ... ...
7840 NaN NaN
7841 NaN NaN
7842 NaN NaN
7843 NaN NaN
7844 NaN NaN

Transgender(Individuals Vaccinated) Total Individuals Vaccinated


0 2.0 48276.0
1 4.0 58604.0
2 5.0 99449.0
3 11.0 195525.0
4 24.0 251280.0
... ... ...
7840 NaN NaN
7841 NaN NaN
7842 NaN NaN
7843 NaN NaN
7844 NaN NaN

[7845 rows x 24 columns]

4: df.isnull()

output :

Updated On State Total Doses Administered Sessions Sites \


0 False False False False False
1 False False False False False
2 False False False False False
3 False False False False False
4 False False False False False
... ... ... ... ... ...
7840 False False True True True
7841 False False True True True
7842 False False True True True
7843 False False True True True
7844 False False True True True

First Dose Administered Second Dose Administered \


0 False False
1 False False
2 False False
3 False False
Parvatibai Genba Moze College Of Engineering
Wagholi, Pune, Maharashtra 412207

13
Covid Vaccine Statewise Analysis

4 False False
... ... ...
7840 True True
7841 True True
7842 True True
7843 True True
7844 True True

Male (Doses Administered) Female (Doses Administered) \


0 True True
1 True True
2 True True
3 True True
4 True True
... ... ...
7840 True True
7841 True True
7842 True True
7843 True True
7844 True True

Transgender (Doses Administered) ... 18-44 Years (Doses Administered) \


0 True ... True
1 True ... True
2 True ... True
3 True ... True
4 True ... True
... ... ... ...
7840 True ... True
7841 True ... True
7842 True ... True
7843 True ... True
7844 True ... True

45-60 Years (Doses Administered) 60+ Years (Doses Administered) \


0 True True
1 True True
2 True True
3 True True
4 True True
... ... ...
7840 True True
7841 True True
7842 True True
7843 True True
7844 True True

18-44 Years(Individuals Vaccinated) \


0 True
1 True
2 True
3 True
4 True
... ...
Parvatibai Genba Moze College Of Engineering
Wagholi, Pune, Maharashtra 412207

14
Covid Vaccine Statewise Analysis

7840 True
7841 True
7842 True
7843 True
7844 True

45-60 Years(Individuals Vaccinated) 60+ Years(Individuals Vaccinated) \


0 True True
1 True True
2 True True
3 True True
4 True True
... ... ...
7840 True True
7841 True True
7842 True True
7843 True True
7844 True True

Male(Individuals Vaccinated) Female(Individuals Vaccinated) \


0 False False
1 False False
2 False False
3 False False
4 False False
... ... ...
7840 True True
7841 True True
7842 True True
7843 True True
7844 True True

Transgender(Individuals Vaccinated) Total Individuals Vaccinated


0 False False
1 False False
2 False False
3 False False
4 False False
... ... ...
7840 True True
7841 True True
7842 True True
7843 True True
7844 True True

[7845 rows x 24 columns]

df.isnull().sum()

output :
Updated On 0
State 0
Total Doses Administered 224
Parvatibai Genba Moze College Of Engineering
Wagholi, Pune, Maharashtra 412207

15
Covid Vaccine Statewise Analysis

Sessions 224
Sites 224
First Dose Administered 224
Second Dose Administered 224
Male (Doses Administered) 384
Female (Doses Administered) 384
Transgender (Doses Administered) 384
Covaxin (Doses Administered) 224
CoviShield (Doses Administered) 224
Sputnik V (Doses Administered) 4850
AEFI 2407
18-44 Years (Doses Administered) 6143
45-60 Years (Doses Administered) 6143
60+ Years (Doses Administered) 6143
18-44 Years(Individuals Vaccinated) 4112
45-60 Years(Individuals Vaccinated) 4111
60+ Years(Individuals Vaccinated) 4111
Male(Individuals Vaccinated) 7685
Female(Individuals Vaccinated) 7685
Transgender(Individuals Vaccinated) 7685
Total Individuals Vaccinated 1926
dtype: int64

df = pd.read_csv("covid_vaccine_statewise.csv")

df.dtypes

Updated On object
State object
Total Doses Administered float64
Sessions float64
Sites float64
First Dose Administered float64
Second Dose Administered float64
Male (Doses Administered) float64
Female (Doses Administered) float64
Transgender (Doses Administered) float64
Covaxin (Doses Administered) float64
CoviShield (Doses Administered) float64
Sputnik V (Doses Administered) float64
AEFI float64
18-44 Years (Doses Administered) float64
45-60 Years (Doses Administered) float64
60+ Years (Doses Administered) float64
18-44 Years(Individuals Vaccinated) float64
45-60 Years(Individuals Vaccinated) float64
60+ Years(Individuals Vaccinated) float64
Male(Individuals Vaccinated) float64
Female(Individuals Vaccinated) float64
Transgender(Individuals Vaccinated) float64
Total Individuals Vaccinated float64
dtype: object

df.info()

output :
Parvatibai Genba Moze College Of Engineering
Wagholi, Pune, Maharashtra 412207

16
Covid Vaccine Statewise Analysis

<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

print("The top five rows are: ")


df.head()

output :

The top five rows are:

Updated On State Total Doses Administered Sessions Sites \


0 16-01-2021 India 48276.0 3455.0 2957.0
1 17-01-2021 India 58604.0 8532.0 4954.0
2 18-01-2021 India 99449.0 13611.0 6583.0
3 19-01-2021 India 195525.0 17855.0 7951.0
4 20-01-2021 India 251280.0 25472.0 10504.0

First Dose Administered Second Dose Administered \


0 48276.0 0.0
1 58604.0 0.0
2 99449.0 0.0
3 195525.0 0.0
4 251280.0 0.0
Parvatibai Genba Moze College Of Engineering
Wagholi, Pune, Maharashtra 412207

17
Covid Vaccine Statewise Analysis

Male (Doses Administered) Female (Doses Administered) \


0 NaN NaN
1 NaN NaN
2 NaN NaN
3 NaN NaN
4 NaN NaN

Transgender (Doses Administered) ... 18-44 Years (Doses Administered) \


0 NaN ... NaN
1 NaN ... NaN
2 NaN ... NaN
3 NaN ... NaN
4 NaN ... NaN

45-60 Years (Doses Administered) 60+ Years (Doses Administered) \


0 NaN NaN
1 NaN NaN
2 NaN NaN
3 NaN NaN
4 NaN NaN

18-44 Years(Individuals Vaccinated) 45-60 Years(Individuals Vaccinated) \


0 NaN NaN
1 NaN NaN
2 NaN NaN
3 NaN NaN
4 NaN NaN

60+ Years(Individuals Vaccinated) Male(Individuals Vaccinated) \


0 NaN 23757.0
1 NaN 27348.0
2 NaN 41361.0
3 NaN 81901.0
4 NaN 98111.0

Female(Individuals Vaccinated) Transgender(Individuals Vaccinated) \


0 24517.0 2.0
1 31252.0 4.0
2 58083.0 5.0
3 113613.0 11.0
4 153145.0 24.0

Total Individuals Vaccinated


0 48276.0
1 58604.0
2 99449.0
3 195525.0
4 251280.0

[5 rows x 24 columns]

print("The last five rows are: ")


df.tail()
Parvatibai Genba Moze College Of Engineering
Wagholi, Pune, Maharashtra 412207

18
Covid Vaccine Statewise Analysis

output :

The last five rows are:

Updated On State Total Doses Administered Sessions Sites \


7840 11-08-2021 West Bengal NaN NaN NaN
7841 12-08-2021 West Bengal NaN NaN NaN
7842 13-08-2021 West Bengal NaN NaN NaN
7843 14-08-2021 West Bengal NaN NaN NaN
7844 15-08-2021 West Bengal NaN NaN NaN

First Dose Administered Second Dose Administered \


7840 NaN NaN
7841 NaN NaN
7842 NaN NaN
7843 NaN NaN
7844 NaN NaN

Male (Doses Administered) Female (Doses Administered) \


7840 NaN NaN
7841 NaN NaN
7842 NaN NaN
7843 NaN NaN
7844 NaN NaN

Transgender (Doses Administered) ... 18-44 Years (Doses Administered) \


7840 NaN ... NaN
7841 NaN ... NaN
7842 NaN ... NaN
7843 NaN ... NaN
7844 NaN ... NaN

45-60 Years (Doses Administered) 60+ Years (Doses Administered) \


7840 NaN NaN
7841 NaN NaN
7842 NaN NaN
7843 NaN NaN
7844 NaN NaN

18-44 Years(Individuals Vaccinated) \


7840 NaN
7841 NaN
7842 NaN
7843 NaN
7844 NaN

45-60 Years(Individuals Vaccinated) 60+ Years(Individuals Vaccinated) \


7840 NaN NaN
7841 NaN NaN
7842 NaN NaN
7843 NaN NaN
7844 NaN NaN

Male(Individuals Vaccinated) Female(Individuals Vaccinated) \

Parvatibai Genba Moze College Of Engineering


Wagholi, Pune, Maharashtra 412207

19
Covid Vaccine Statewise Analysis

7840 NaN NaN


7841 NaN NaN
7842 NaN NaN
7843 NaN NaN
7844 NaN NaN

Transgender(Individuals Vaccinated) Total Individuals Vaccinated


7840 NaN NaN
7841 NaN NaN
7842 NaN NaN
7843 NaN NaN
7844 NaN NaN

[5 rows x 24 columns]

print("The shape is: ")


df.shape

output :

The shape is:

(7845, 24)

print("The columns present in the dataset are: ")


df.columns

output :

The columns present in the dataset are:

Index(['Updated On', 'State', 'Total Doses Administered', 'Sessions',


' Sites ', 'First Dose Administered', 'Second Dose Administered',
'Male (Doses Administered)', 'Female (Doses Administered)',
'Transgender (Doses Administered)', ' Covaxin (Doses Administered)',
'CoviShield (Doses Administered)', 'Sputnik V (Doses Administered)',
'AEFI', '18-44 Years (Doses Administered)',
'45-60 Years (Doses Administered)', '60+ Years (Doses Administered)',
'18-44 Years(Individuals Vaccinated)',
'45-60 Years(Individuals Vaccinated)',
'60+ Years(Individuals Vaccinated)', 'Male(Individuals Vaccinated)',
'Female(Individuals Vaccinated)', 'Transgender(Individuals Vaccinated)',
'Total Individuals Vaccinated'],
dtype='object')

df.describe()

output :
Total Doses Administered Sessions Sites \
count 7.621000e+03 7.621000e+03 7621.000000
mean 9.188171e+06 4.792358e+05 2282.872064
std 3.746180e+07 1.911511e+06 7275.973730
min 7.000000e+00 0.000000e+00 0.000000
25% 1.356570e+05 6.004000e+03 69.000000
Parvatibai Genba Moze College Of Engineering
Wagholi, Pune, Maharashtra 412207

20
Covid Vaccine Statewise Analysis

50% 8.182020e+05 4.547000e+04 597.000000


75% 6.625243e+06 3.428690e+05 1708.000000
max 5.132284e+08 3.501031e+07 73933.000000

First Dose Administered Second Dose Administered \


count 7.621000e+03 7.621000e+03
mean 7.414415e+06 1.773755e+06
std 2.995209e+07 7.570382e+06
min 7.000000e+00 0.000000e+00
25% 1.166320e+05 1.283100e+04
50% 6.614590e+05 1.388180e+05
75% 5.387805e+06 1.166434e+06
max 4.001504e+08 1.130780e+08

Male (Doses Administered) Female (Doses Administered) \


count 7.461000e+03 7.461000e+03
mean 3.620156e+06 3.168416e+06
std 1.737938e+07 1.515310e+07
min 0.000000e+00 2.000000e+00
25% 5.655500e+04 5.210700e+04
50% 3.897850e+05 3.342380e+05
75% 2.735777e+06 2.561513e+06
max 2.701636e+08 2.395186e+08

Transgender (Doses Administered) Covaxin (Doses Administered) \


count 7461.000000 7.621000e+03
mean 1162.978019 1.044669e+06
std 5931.353995 4.452259e+06
min 0.000000 0.000000e+00
25% 8.000000 0.000000e+00
50% 113.000000 1.185100e+04
75% 800.000000 7.579300e+05
max 98275.000000 6.236742e+07

CoviShield (Doses Administered) ... 18-44 Years (Doses Administered) \


count 7.621000e+03 ... 1.702000e+03
mean 8.126553e+06 ... 8.773958e+06
std 3.298414e+07 ... 2.660829e+07
min 7.000000e+00 ... 2.662400e+04
25% 1.331340e+05 ... 4.344842e+05
50% 7.567360e+05 ... 3.095970e+06
75% 6.007817e+06 ... 7.366241e+06
max 4.468251e+08 ... 2.243304e+08

45-60 Years (Doses Administered) 60+ Years (Doses Administered) \


count 1.702000e+03 1.702000e+03
mean 7.442161e+06 5.641605e+06
std 2.225999e+07 1.681650e+07
min 1.681500e+04 9.994000e+03
25% 2.326275e+05 1.285605e+05
50% 2.695938e+06 1.805696e+06
75% 6.969726e+06 5.294763e+06
max 1.667575e+08 1.186927e+08

Parvatibai Genba Moze College Of Engineering


Wagholi, Pune, Maharashtra 412207

21
Covid Vaccine Statewise Analysis

18-44 Years(Individuals Vaccinated) \


count 3.733000e+03
mean 1.395895e+06
std 5.501454e+06
min 1.059000e+03
25% 5.655400e+04
50% 2.947270e+05
75% 9.105160e+05
max 9.224315e+07

45-60 Years(Individuals Vaccinated) 60+ Years(Individuals Vaccinated) \


count 3.734000e+03 3.734000e+03
mean 2.916515e+06 2.627444e+06
std 9.567607e+06 8.192225e+06
min 1.136000e+03 5.580000e+02
25% 9.248225e+04 5.615975e+04
50% 8.330395e+05 7.887425e+05
75% 2.499280e+06 2.337874e+06
max 9.096888e+07 6.731098e+07

Male(Individuals Vaccinated) Female(Individuals Vaccinated) \


count 1.600000e+02 1.600000e+02
mean 4.461687e+07 3.951018e+07
std 3.950749e+07 3.417684e+07
min 2.375700e+04 2.451700e+04
25% 5.739350e+06 5.023407e+06
50% 3.716590e+07 3.365402e+07
75% 7.441663e+07 6.685368e+07
max 1.349420e+08 1.156684e+08

Transgender(Individuals Vaccinated) Total Individuals Vaccinated


count 160.000000 5.919000e+03
mean 12370.543750 4.547842e+06
std 12485.026753 1.834182e+07
min 2.000000 7.000000e+00
25% 1278.750000 7.427550e+04
50% 8007.500000 4.022880e+05
75% 19851.000000 3.501562e+06
max 46462.000000 2.506569e+08

[8 rows x 22 columns]

df.describe(include='object')

Updated On State
count 7845 7845
unique 213 37
top 16-01-2021 Delhi
freq 37 213

avg_firstdose = df["First Dose Administered"].astype("float").mean(axis = 0)


print("Average of First Dose:", avg_firstdose)

Average of First Dose: 7414415.300354284

Parvatibai Genba Moze College Of Engineering


Wagholi, Pune, Maharashtra 412207

22
Covid Vaccine Statewise Analysis

df["First Dose Administered"].fillna(value = avg_firstdose, inplace=True)


df

Updated On State Total Doses Administered Sessions Sites \


0 16-01-2021 India 48276.0 3455.0 2957.0
1 17-01-2021 India 58604.0 8532.0 4954.0
2 18-01-2021 India 99449.0 13611.0 6583.0
3 19-01-2021 India 195525.0 17855.0 7951.0
4 20-01-2021 India 251280.0 25472.0 10504.0
... ... ... ... ... ...
7840 11-08-2021 West Bengal NaN NaN NaN
7841 12-08-2021 West Bengal NaN NaN NaN
7842 13-08-2021 West Bengal NaN NaN NaN
7843 14-08-2021 West Bengal NaN NaN NaN
7844 15-08-2021 West Bengal NaN NaN NaN

First Dose Administered Second Dose Administered \


0 4.827600e+04 0.0
1 5.860400e+04 0.0
2 9.944900e+04 0.0
3 1.955250e+05 0.0
4 2.512800e+05 0.0
... ... ...
7840 7.414415e+06 NaN
7841 7.414415e+06 NaN
7842 7.414415e+06 NaN
7843 7.414415e+06 NaN
7844 7.414415e+06 NaN

Male (Doses Administered) Female (Doses Administered) \


0 NaN NaN
1 NaN NaN
2 NaN NaN
3 NaN NaN
4 NaN NaN
... ... ...
7840 NaN NaN
7841 NaN NaN
7842 NaN NaN
7843 NaN NaN
7844 NaN NaN

Transgender (Doses Administered) ... 18-44 Years (Doses Administered) \


0 NaN ... NaN
1 NaN ... NaN
2 NaN ... NaN
3 NaN ... NaN
4 NaN ... NaN
... ... ... ...
7840 NaN ... NaN
7841 NaN ... NaN
7842 NaN ... NaN
7843 NaN ... NaN
7844 NaN ... NaN

Parvatibai Genba Moze College Of Engineering


Wagholi, Pune, Maharashtra 412207

23
Covid Vaccine Statewise Analysis

45-60 Years (Doses Administered) 60+ Years (Doses Administered) \


0 NaN NaN
1 NaN NaN
2 NaN NaN
3 NaN NaN
4 NaN NaN
... ... ...
7840 NaN NaN
7841 NaN NaN
7842 NaN NaN
7843 NaN NaN
7844 NaN NaN

18-44 Years(Individuals Vaccinated) \


0 NaN
1 NaN
2 NaN
3 NaN
4 NaN
... ...
7840 NaN
7841 NaN
7842 NaN
7843 NaN
7844 NaN

45-60 Years(Individuals Vaccinated) 60+ Years(Individuals Vaccinated) \


0 NaN NaN
1 NaN NaN
2 NaN NaN
3 NaN NaN
4 NaN NaN
... ... ...
7840 NaN NaN
7841 NaN NaN
7842 NaN NaN
7843 NaN NaN
7844 NaN NaN

Male(Individuals Vaccinated) Female(Individuals Vaccinated) \


0 23757.0 24517.0
1 27348.0 31252.0
2 41361.0 58083.0
3 81901.0 113613.0
4 98111.0 153145.0
... ... ...
7840 NaN NaN
7841 NaN NaN
7842 NaN NaN
7843 NaN NaN
7844 NaN NaN

Transgender(Individuals Vaccinated) Total Individuals Vaccinated


0 2.0 48276.0
Parvatibai Genba Moze College Of Engineering
Wagholi, Pune, Maharashtra 412207

24
Covid Vaccine Statewise Analysis

1 4.0 58604.0
2 5.0 99449.0
3 11.0 195525.0
4 24.0 251280.0
... ... ...
7840 NaN NaN
7841 NaN NaN
7842 NaN NaN
7843 NaN NaN
7844 NaN NaN

[7845 rows x 24 columns]

avg_seconddose = df["Second Dose Administered"].astype("float").mean(axis = 0)


print("Average of Second Dose:", avg_seconddose)

Average of Second Dose: 1773755.2436688098

df["Second Dose Administered"].fillna(value = avg_seconddose, inplace = True)

df

Updated On State Total Doses Administered Sessions Sites \


0 16-01-2021 India 48276.0 3455.0 2957.0
1 17-01-2021 India 58604.0 8532.0 4954.0
2 18-01-2021 India 99449.0 13611.0 6583.0
3 19-01-2021 India 195525.0 17855.0 7951.0
4 20-01-2021 India 251280.0 25472.0 10504.0
... ... ... ... ... ...
7840 11-08-2021 West Bengal NaN NaN NaN
7841 12-08-2021 West Bengal NaN NaN NaN
7842 13-08-2021 West Bengal NaN NaN NaN
7843 14-08-2021 West Bengal NaN NaN NaN
7844 15-08-2021 West Bengal NaN NaN NaN

First Dose Administered Second Dose Administered \


0 4.827600e+04 0.000000e+00
1 5.860400e+04 0.000000e+00
2 9.944900e+04 0.000000e+00
3 1.955250e+05 0.000000e+00
4 2.512800e+05 0.000000e+00
... ... ...
7840 7.414415e+06 1.773755e+06
7841 7.414415e+06 1.773755e+06
7842 7.414415e+06 1.773755e+06
7843 7.414415e+06 1.773755e+06
7844 7.414415e+06 1.773755e+06

Male (Doses Administered) Female (Doses Administered) \


0 NaN NaN
1 NaN NaN
2 NaN NaN
3 NaN NaN
4 NaN NaN
... ... ...

Parvatibai Genba Moze College Of Engineering


Wagholi, Pune, Maharashtra 412207

25
Covid Vaccine Statewise Analysis

7840 NaN NaN


7841 NaN NaN
7842 NaN NaN
7843 NaN NaN
7844 NaN NaN

Transgender (Doses Administered) ... 18-44 Years (Doses Administered) \


0 NaN ... NaN
1 NaN ... NaN
2 NaN ... NaN
3 NaN ... NaN
4 NaN ... NaN
... ... ... ...
7840 NaN ... NaN
7841 NaN ... NaN
7842 NaN ... NaN
7843 NaN ... NaN
7844 NaN ... NaN

45-60 Years (Doses Administered) 60+ Years (Doses Administered) \


0 NaN NaN
1 NaN NaN
2 NaN NaN
3 NaN NaN
4 NaN NaN
... ... ...
7840 NaN NaN
7841 NaN NaN
7842 NaN NaN
7843 NaN NaN
7844 NaN NaN

18-44 Years(Individuals Vaccinated) \


0 NaN
1 NaN
2 NaN
3 NaN
4 NaN
... ...
7840 NaN
7841 NaN
7842 NaN
7843 NaN
7844 NaN

45-60 Years(Individuals Vaccinated) 60+ Years(Individuals Vaccinated) \


0 NaN NaN
1 NaN NaN
2 NaN NaN
3 NaN NaN
4 NaN NaN
... ... ...
7840 NaN NaN
7841 NaN NaN
Parvatibai Genba Moze College Of Engineering
Wagholi, Pune, Maharashtra 412207

26
Covid Vaccine Statewise Analysis

7842 NaN NaN


7843 NaN NaN
7844 NaN NaN

Male(Individuals Vaccinated) Female(Individuals Vaccinated) \


0 23757.0 24517.0
1 27348.0 31252.0
2 41361.0 58083.0
3 81901.0 113613.0
4 98111.0 153145.0
... ... ...
7840 NaN NaN
7841 NaN NaN
7842 NaN NaN
7843 NaN NaN
7844 NaN NaN

Transgender(Individuals Vaccinated) Total Individuals Vaccinated


0 2.0 48276.0
1 4.0 58604.0
2 5.0 99449.0
3 11.0 195525.0
4 24.0 251280.0
... ... ...
7840 NaN NaN
7841 NaN NaN
7842 NaN NaN
7843 NaN NaN
7844 NaN NaN

[7845 rows x 24 columns]

first_dose = df.groupby('State')[['First Dose Administered']].sum()


first_dose

First Dose Administered


State
Andaman and Nicobar Islands 6.091235e+07
Andhra Pradesh 1.277347e+09
Arunachal Pradesh 9.349147e+07
Assam 6.300867e+08
Bihar 1.514989e+09
Chandigarh 8.918960e+07
Chhattisgarh 8.404894e+08
Dadra and Nagar Haveli and Daman and Diu 8.549597e+07
Delhi 6.762404e+08
Goa 1.204779e+08
Gujarat 2.176133e+09
Haryana 8.002848e+08
Himachal Pradesh 3.607805e+08
India 2.830663e+10
Jammu and Kashmir 4.545883e+08
Jharkhand 6.481602e+08
Karnataka 1.917816e+09
Kerala 1.238332e+09
Parvatibai Genba Moze College Of Engineering
Wagholi, Pune, Maharashtra 412207

27
Covid Vaccine Statewise Analysis

Ladakh 6.229574e+07
Lakshadweep 4.885015e+07
Madhya Pradesh 1.841091e+09
Maharashtra 2.828851e+09
Manipur 1.118961e+08
Meghalaya 1.071025e+08
Mizoram 9.235957e+07
Nagaland 8.689726e+07
Odisha 1.077120e+09
Puducherry 8.583335e+07
Punjab 6.288331e+08
Rajasthan 2.245531e+09
Sikkim 8.146742e+07
Tamil Nadu 1.333019e+09
Telangana 9.248071e+08
Tripura 2.371762e+08
Uttar Pradesh 2.832898e+09
Uttarakhand 4.076779e+08
West Bengal 1.840936e+09

first_dose = df.groupby('State')[['Second Dose Administered']].sum()


first_dose

Second Dose Administered


State
Andaman and Nicobar Islands 1.476109e+07
Andhra Pradesh 3.694601e+08
Arunachal Pradesh 2.257485e+07
Assam 1.414313e+08
Bihar 2.814331e+08
Chandigarh 2.223627e+07
Chhattisgarh 1.827629e+08
Dadra and Nagar Haveli and Daman and Diu 1.701070e+07
Delhi 2.006352e+08
Goa 2.684071e+07
Gujarat 6.110609e+08
Haryana 1.692986e+08
Himachal Pradesh 8.448111e+07
India 6.770264e+09
Jammu and Kashmir 9.659418e+07
Jharkhand 1.327636e+08
Karnataka 4.378297e+08
Kerala 3.746913e+08
Ladakh 1.609629e+07
Lakshadweep 1.169898e+07
Madhya Pradesh 3.275755e+08
Maharashtra 7.235236e+08
Manipur 2.250068e+07
Meghalaya 2.280916e+07
Mizoram 2.064095e+07
Nagaland 1.984717e+07
Odisha 2.619453e+08
Puducherry 1.925139e+07
Punjab 1.317635e+08
Rajasthan 5.023455e+08
Parvatibai Genba Moze College Of Engineering
Wagholi, Pune, Maharashtra 412207

28
Covid Vaccine Statewise Analysis

Sikkim 2.036617e+07
Tamil Nadu 3.013132e+08
Telangana 2.087955e+08
Tripura 7.591267e+07
Uttar Pradesh 5.650776e+08
Uttarakhand 1.107276e+08
West Bengal 5.967894e+08

male = df["Male(Individuals Vaccinated)"].sum()


print("The total number of male individuals vaccinated are", int(male))

The total number of male individuals vaccinated are 7138698858

female = df["Female(Individuals Vaccinated)"].sum()


print("The total number of female individuals vaccinated are", int(female))

The total number of female individuals vaccinated are 6321628736

first_dose_statewise = {
'State1': 1000,
'State2': 2000,
'State3': 1500,
# Add more states and their corresponding first dose numbers here
}

plt.figure(figsize=(15, 8))
plt.barh(list(first_dose_statewise.keys()), list(first_dose_statewise.values()), color='skyblue')
plt.title('Number of Persons State-wise Vaccinated for First Dose in India')
plt.xlabel('Number of Persons Vaccinated')
plt.ylabel('State')
plt.show()

plt.figure(figsize=(10, 6))
plt.bar(df['State'], df['Male(Individuals Vaccinated)'], label='Male', color='lightblue')
plt.bar(df['State'], df['Female(Individuals Vaccinated)'], bottom=df['Male(Individuals Vaccinated)'],
label='Female', color='pink')
plt.bar(df['State'], df['Transgender(Individuals Vaccinated)'], bottom=df['Male(Individuals Vaccinated)']

Parvatibai Genba Moze College Of Engineering


Wagholi, Pune, Maharashtra 412207

29
Covid Vaccine Statewise Analysis

+df['Female(Individuals Vaccinated)'], label='Transgender', color='lightgreen')


plt.title('Gender-wise Distribution of Vaccinated Individuals')
plt.xlabel('State')
plt.ylabel('Number of Individuals Vaccinated')
plt.legend()
plt.xticks(rotation=90)
plt.show()

C:\Users\swapnilshinde\anaconda3\Lib\site-packages\IPython\core\pylabtools.py:152: UserWarning:
Creating legend with loc="best" can be slow with large amounts of data.
fig.canvas.print_figure(bytes_io, **kw)

plt.figure(figsize=(10, 6))
plt.plot(df['Updated On'], df['Total Doses Administered'], marker='o', linestyle='-', color='blue')
plt.title('Vaccination Progress Over Time')
plt.xlabel('Date')
plt.ylabel('Total Doses Administered')
plt.xticks(rotation=45)
plt.grid(True)
plt.show()

Parvatibai Genba Moze College Of Engineering


Wagholi, Pune, Maharashtra 412207

30
Covid Vaccine Statewise Analysis

plt.figure(figsize=(8, 8))
plt.pie(df[['18-44 Years(Individuals Vaccinated)', '45-60 Years(Individuals Vaccinated)', '60+
Years(Individuals Vaccinated)']].sum(), labels=['18-44 Years', '45-60 Years', '60+ Years'], autopct='%1.1f
%%', colors=['skyblue', 'lightgreen', 'lightcoral'])
plt.title('Age Group Distribution of Vaccinated Individuals')
plt.show()

Parvatibai Genba Moze College Of Engineering


Wagholi, Pune, Maharashtra 412207

31
Covid Vaccine Statewise Analysis

plt.figure(figsize=(10, 6))
df_age = df[['18-44 Years(Individuals Vaccinated)', '45-60 Years(Individuals Vaccinated)', '60+
Years(Individuals Vaccinated)']]
plt.boxplot(df_age.values, labels=df_age.columns)
plt.title('Distribution of Individuals Vaccinated Across Age Groups')
plt.xlabel('Age Group')
plt.ylabel('Number of Individuals Vaccinated')
plt.show()

Parvatibai Genba Moze College Of Engineering


Wagholi, Pune, Maharashtra 412207

32
Covid Vaccine Statewise Analysis

plt.figure(figsize=(10, 6))
plt.stackplot(df['Updated On'], df['First Dose Administered'], df['Second Dose Administered'],
labels=['First Dose', 'Second Dose'], colors=['skyblue', 'lightgreen'])
plt.title('Cumulative Vaccination Progress Over Time')
plt.xlabel('Date')
plt.ylabel('Cumulative Doses Administered')
plt.legend(loc='upper left')
plt.xticks(rotation=45)
plt.show()

Parvatibai Genba Moze College Of Engineering


Wagholi, Pune, Maharashtra 412207

33
Covid Vaccine Statewise Analysis

Conclusion:
In conclusion, our data science project on state-wise analysis of COVID-19 has provided
valuable insights into the pandemic's impact across different regions. By leveraging advanced
analytics techniques, we have uncovered patterns, disparities, and trends essential for informing
targeted interventions and strategies. This analysis contributes to evidence-based decision-
making for effective pandemic management. In addition, our project highlights the importance
of state-specific approaches in understanding COVID-19 dynamics. By addressing data
challenges and employing predictive modeling, we empower stakeholders with actionable
intelligence for navigating future challenges effectively.

Parvatibai Genba Moze College Of Engineering


Wagholi, Pune, Maharashtra 412207

34

You might also like