0% found this document useful (0 votes)
75 views18 pages

Unemployment

The document outlines a project focused on analyzing unemployment rates across different states in India using Python. It details the tools and libraries used for data manipulation and visualization, including Pandas and Matplotlib, and provides source code examples for data handling and graphical representation. The conclusion emphasizes the project's aim to present unemployment statistics effectively through various visual formats.

Uploaded by

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

Unemployment

The document outlines a project focused on analyzing unemployment rates across different states in India using Python. It details the tools and libraries used for data manipulation and visualization, including Pandas and Matplotlib, and provides source code examples for data handling and graphical representation. The conclusion emphasizes the project's aim to present unemployment statistics effectively through various visual formats.

Uploaded by

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

INDEX

1.CERTIFICATE

2. ACKNOWLEDGEMENT
3. AIM
4. INTRODUCTION
5. THEORETICAL APPROACH
6. SOURCE CODE
7. OUTPUTS
8. CONCLUSION
9. BIBLIOGRAPHY
AIM
 Gathering data of different states
unemployment rate in India
Displaying it in an form of table with
:- The help of Data Frame
:- with graphical output

 Displaying the unemployed rate/ percentage


of different states
:- with DataFrame
INTRODUCTION

Unemployment, statistics has


traditionally had been collected, compiled and
disseminated once every ten years by the
Ministry of Labor and Employment (MLE),
primarily from sample studies conducted by the
National Sample Survey Office. Other than
these 5-year sample studies, India has – except
since 2017 – never routinely collected monthly,
quarterly or yearly nationwide employment
and unemployment statistics. In 2016, Centre
for Monitoring Indian Economy – a non-
government entity based in Mumbai, started
sampling and publishing monthly
unemployment in India statistics.
 The following tools or libraries are used for
data analysis and manipulation.
1- Data Frame:- A Data Frame is a 2-Dimensional
(2-D) data structure that can store data of
different types (including characters, integers,
floating-points values, factor, and more) in
columns. There are many ways to summarize
and access the data storage in Data Frame,
using attributes and methods provided by the
Data Frame object.

2- Pandas:- it is popular library for working with


data.

3- Matplotlib:- it is a 2-D plotting library in python


that is used as it is a robust, free and easy library
that helps in visualizing figures.
___ THEORITICAL APPROACH ___
 What Is Python?
Python is an interpreted, object-oriented, high-level
programming language with dynamic semantics. Its high-
level built in data structures, combined with dynamic
typing and dynamic binding, make it very attractive for
Rapid Application Development, as well as for use as a
scripting or glue language to connect existing
components together. Python's simple, easy to learn
syntax emphasizes readability and therefore reduces the
cost of program maintenance. Python supports modules
and packages, which encourages program modularity
and code reuse. The Python interpreter and the
extensive standard library are available in source or
binary form without charge for all major platforms, and
can be freely distributed.
Often, programmers fall in love with Python because of
the increased productivity it provides. Since there is no
compilation step, the edit-test-debug cycle is incredibly
fast. Debugging Python programs is easy: a bug or bad
input will never cause a segmentation fault. Instead,
when the interpreter discovers an error, it raises an
exception. When the program doesn't catch the
exception, the interpreter prints a stack trace. A source
level debugger allows inspection of local and global
variables, evaluation of arbitrary expressions, setting
breakpoints, stepping through the code a line at a time,
and so on. The debugger is written in Python itself,
testifying to Python's introspective power. On the other
hand, often the quickest way to debug a program is to
add a few print statements to the code Feature
 Features of Python.
Python provides lots of features like

1.Easy to Learn and Use: - python is easy to learn


and use. It is a developer- Friendly and high-level
programing language.

2.Expressive Language: - python language is


expressive means that it is more understandable.

3.Interpreted language: - python is an Interpreted


language. the interpreter executes the code line
by line at a time. This makes debugging easy and
thus suitable for beginners.

4.Cross-platform language: - python can run


equally on different platforms such as windows,
Linux, Unix and Macintosh, Etc. so, we can say that
python is a portable language.

5.Free and open Source: - python language is


freely available at official web Addresses. The
source code is also available. Therefore, it is open
source.

6.Object-Oriented Language:- Python supports


Object-Oriented language and concepts of classes
and objects come into existence.

7.Language standard library: - Python has a large


and broad library and provides a rich set of
modules and functions for rapid application
development.
8. Extensible:-It implies that other languages such
as C/C++ can be used to compile the code and
thus it can be used further in our python code.
9. GUI Programming Support:-Graphical user
interfaces can be developed using Python.

Data Visualization in python: -


Using Python besides organizing data and
information in tabular format it can also be
represented pictorially using visual elements like
charts /graphs/maps.
matplotlib library’s pilot interface is used for the
same.

The software works.


1. Python pandas Library.
2. NumPy Library.
3. Matplotlib Library.
4. MS-word 2010 for Documentation.
5. Snipping tool for screenshots
SOURCE CODES
import pandas as pd

df=pd.read_csv("D:\\unemployment.csv")

print(df)
df.tail()

df.head()

df.shape()

df.count
df.empty

df.dtypes

print(len(df)) df.ndim

df.T
df.axes

df.iloc[2:5]
import matplotlib.pyplot as pl

month=[6.2,11.6,14.1,5.3,5.0,1.2,23.4]

states=['andra pradesh','gao','delhi','tamilnadu','kerala','gujarat','Haryana']

pl.xlabel('MONTHS')

pl.ylabel('STATES')

pl.title('UNEMPLOYMENT')

pl.barh(states,month,color='k')

pl.show()
import matplotlib.pyplot as pl

states=['assam','bihar','karnataka','himachal pradesh','jammu and


kashmir','punjab','maharashtra']

month=[10.2,13.2,2.0,11.8,13.2,9.0,4.3]

pl.plot(states,month,linewidth=4)

pl.xlabel('STATES')

pl.ylabel('MONTH')

pl.title('UNEMPLOYMENT')

pl.show()
import matplotlib.pyplot as pl
state=['Andra
pradesh','Assam','Bihar','Chhattisgarh','Delhi','Goa','Gujarat','
Haryana','Himachal Pradesh','Jammu & Kashmir','Karnataka']
percentage=[4.8,0.4,11.8,0.1,9.6,10.9,1.6,22.9,9.2,23.2,3.8]
pl.title('UNEMPLOYMENT')
pl.xlabel('state')
pl.ylabel('percentage')
pl.bar(state,percentage)
pl.xticks(rotation='vertical')
pl.show()
import pandas as pd

import matplotlib.pyplot as pl

x=['Andra
pradesh','Assam','Bihar','Chhattisgarh','Delhi','Goa','Gujarat','Haryana
','Himachal Pradesh','Jammu &
Kashmir','Karnataka','jharkhand','Kerala','Madhya
Pradesh','Maharashtra','Meghalaya','Odisha','Puducherry','Punjab','R
ajasthan','Tamil Nadu','Talangana','Tripura','Uttar
Pradesh','Uttarakhand','West Bangal']

y=[4.8,0.4,11.8,0.1,9.6,10.9,1.6,22.9,9.2,23.2,3.8,12.2,6.4,0.9,4.0,2.3,2.
9,7.3,7.0,23.8,4.1,8.3,17.0,4.0,0.5,3.3]

pl.title('UNEMPLOYMENT')

pl.pie(y,labels=x,radius=1.5)

pl.show()
__. CONCLUSION .__

“ UNEMPLOYMENT “
Has been prepared to get the number/rate
of unemployed people in different
states of India in last few month’s
BIBLIOGRAPHY
In the order to work on this project titled
UNEMPLOYMENT , the following books and
literature are referred by me during the various
phases of the project.
1:- NCERT Informatics Practices class XII
2:- https://colab.research.google.com/
3:-On-line help of python
Other than the above-maintained books , the
suggestions and supervision of my teachers and
class experience also helped me to develop this
software project.

You might also like