0% found this document useful (0 votes)
27 views

Python Programs Final PDF

Uploaded by

nareennandha18
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views

Python Programs Final PDF

Uploaded by

nareennandha18
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 29

PM SHRI KENDRIYA VIDYALAYA

AIR FORCE STATION SULUR

INFORMATICS PRATICES
INVESTIGATORY PROJECT
(2024-2025)

SUBMITTED BY : C.NAREEN NANDHA


SUBMITTED TO: SMT.S.SANGEETHA
BOARD ROLL NO:

1|P a g e
CERTIFICATE

This is to certify that C. Nareen Nandha, of class 12th Science of PM SHRI


Kendriya Vidyalaya AFS Sulur has completed her Informatics Practices project
as part of CBSE's AISSCE examination 2024-25 under my guidance. She has
taken proper care and shown utmost sincerity in completing this project. I
certify that this project is up to my expectation and as per the guidelines issued
by CBSE.

Signature of the internal Examiner


(Smt . S .Sangeetha )

Signature of the principal


(Mister Rakash Kumar Mishra )

Signature of the External Examier

2|P a g e
ACKNOWLEDGEMENT

I undertook this project work, as part of 12th INFORMATICS PRACTICES course. I


have tried to apply my best knowledge and experience, gained during the study
and class work experience. It requires a systematic study, insight vision and
professional approach during the period of project making.

I would like to extend my sincere gratitude to my teacher Smt. Sangeetha. I am


very thankful to our Principal Mr. Rakesh Kumar Mishra for giving valuable
time and moral support to do this project work.

3|P a g e
INDEX

S Contents Page
.no no

1. Introduction 5
2. Dataset 10
3. Python programs 12

4. Conclusion 28
5. Bibliography 29

4|P a g e
INTRODUCTION
Python is a high-level, general-purpose programming language. Its design
philosophy emphasizes code readability with the use of significant indentation.

Python is dynamically typed and garbage-collected. It supports multiple


programming paradigms, including structured (particularly procedural), object-
oriented and functional programming. It is often described as a "batteries
included" language due to its comprehensive standard library.

Guido van Rossum began working on Python in the late 1980s as a successor to
the ABC programming language and first released it in 1991 as Python 0.9.0.
Python 2.0 was released in 2000. Python 3.0, released in 2008, was a major
revision not completely backward-compatible with earlier versions. Python
2.7.18, released in 2020, was the last release of Python 2.

Python consistently ranks as one of the most popular programming languages,


and has gained widespread use in the machine learning community

5|P a g e
DATABASES
In computing, a database is an organized collection of data or a type of data
store based on the use of a database management system (DBMS), the
software that interacts with end users, applications, and the database itself to
capture and analyze the data. The DBMS additionally encompasses the core
facilities provided to administer the database. The sum total of the database,
the DBMS and the associated applications can be referred to as a database
system. Often the term "database" is also used loosely to refer to any of the
DBMS, the database system or an application associated with the database.

Small databases can be stored on a file system, while large databases are
hosted on computer clusters or cloud storage. The design of databases spans
formal techniques and practical considerations, including data modeling,
efficient data representation and storage, query languages, security and
privacy of sensitive data, and distributed computing issues, including
supporting concurrent access and fault tolerance.

Computer scientists may classify database management systems according to


the database models that they support. Relational databases became
dominant in the 1980s. These model data as rows and columns in a series of
tables, and the vast majority use SQL for writing and querying data. In the
2000s, non-relational databases became popular, collectively referred to as
NoSQL, because they use different query languages.

6|P a g e
PANDAS
Pandas (styled as pandas) is a software library written for the Python
programming language for data manipulation and analysis. In particular, it
offers data structures and operations for manipulating numerical tables and
time series. It is free software released under the three-clause BSD license. The
name is derived from the term "panel data", an econometrics term for data
sets that include observations over multiple time periods for the same
individuals, as well as a play on the phrase "Python data analysis".: 5 Wes
McKinney started building what would become Pandas at AQR Capital while he
was a researcher there from 2007 to 2010.

The development of Pandas introduced into Python many comparable features


of working with DataFrames that were established in the R programming
language.The library is built upon another library, NumPy.

DATEFRAME
In computing, a database is an organized collection of data or a type of data
store based on the use of a database management system (DBMS), the
software that interacts with end users, applications, and the database itself to
capture and analyze the data. The DBMS additionally encompasses the core
facilities provided to administer the database. The sum total of the database,
the DBMS and the associated applications can be referred to as a database
system. Often the term "database" is also used loosely to refer to any of the
DBMS, the database system or an application associated with the database.

7|P a g e
Small databases can be stored on a file system, while large databases are
hosted on computer clusters or cloud storage. The design of databases spans
formal techniques and practical considerations, including data modeling,
efficient data representation and storage, query languages, security and
privacy of sensitive data, and distributed computing issues, including
supporting concurrent access and fault tolerance.

Computer scientists may classify database management systems according to


the database models that they support. Relational databases became
dominant in the 1980s. These model data as rows and columns in a series of
tables, and the vast majority use SQL for writing and querying data. In the
2000s, non-relational databases became popular, collectively referred to as
NoSQL, because they use different query languages.

MATPLTLIB
Matplotlib is a plotting library for the Python programming language and its
numerical mathematics extension NumPy. It provides an object-oriented API for
embedding plots into applications using general-purpose GUI toolkits like
Tkinter, wxPython, Qt, or GTK. There is also a procedural "pylab" interface
based on a state machine (like OpenGL), designed to closely resemble that of
MATLAB, though its use is discouraged. SciPy makes use of Matplotlib.

Matplotlib was originally written by John D. Hunter. Since then it has had an
active development community and is distributed under a BSD-style license.
Michael Droettboom was nominated as matplotlib's lead developer shortly

8|P a g e
before John Hunter's death in August 2012 and was further joined by Thomas
Caswell. Matplotlib is a NumFOCUS fiscally sponsored project.

CSV (COMMA SEPARATED VALUES)


Comma-separated values (CSV) is a text file format that uses commas to
separate values, and newlines to separate records. A CSV file stores tabular
data (numbers and text) in plain text, where each line of the file typically
represents one data record. Each record consists of the same number of fields,
and these are separated by commas in the CSV file. If the field delimiter itself
may appear within a field, fields can be surrounded with quotation marks.

The CSV file format is one type of delimiter-separated file format.Delimiters


frequently used include the comma, tab, space, and semicolon. Delimiter-
separated files are often given a ".csv" extension even when the field separator
is not a comma. Many applications or libraries that consume or produce CSV
files have options to specify an alternative delimiter.

The lack of adherence to the CSV standard RFC 4180 necessitates the support
for a variety of CSV formats in data input software. Despite this drawback, CSV
remains widespread in data applications and is widely supported by a variety of
software, including common spreadsheet applications such as Microsoft
Excel.Benefits cited in favor of CSV include human readability and the simplicity
of the format.

9|P a g e
THE CSV DATASET USED
Mobile- games

10 | P a g e
11 | P a g e
Python program – 1
Aim- To create a Dataframe by importing a CSV file

Source code -

Output-

12 | P a g e
Python program – 2

Aim – Accessing the elements of the Dataframe using both loc and iloc

Source code –

(OR)

Here,both gives the same output

13 | P a g e
Output-

14 | P a g e
python program -3

Aim- To access a single element form the dataframe

Source code –

Output –

15 | P a g e
Python program – 4

Aim- to filtering the values of a dataframe

Source code –

Output-

16 | P a g e
Python program – 5

Aim- To modify the values of the dataframe

Source code –

Output :

17 | P a g e
Python program – 6

Aim – to implement the operations of the dataframe

Source code –

18 | P a g e
Python program – 7

Aim – to implement the attributes of a data frame

Source code –

Output-

19 | P a g e
Python program -8

Aim-To delete a dataset from a dataframe

Source code –

Output –

20 | P a g e
Python program – 9

Aim- to Renaming a row and a column of a dataframe

Source code –

Output –

21 | P a g e
Python program – 10

Aim- to implement a statatical funcition on a dataframe ( ‘mode()’)

Source code –

Output –

22 | P a g e
Python program – 11

Aim- to show the data in a horizontal bargraph format

Source code –

Output –

23 | P a g e
Python program – 12

Aim- to create a histogram using the given Data set

Source code –

Output-

24 | P a g e
Python program – 13

Aim- to create a line chart with the top 5 games

Source code -

25 | P a g e
Output-

26 | P a g e
Python program – 14

Aim- to create a line chart using the oldest release date

Source code –

27 | P a g e
Output –

CONCLUSION
After careful analysis and capabilities of constraints of application , it can be
concluded that it is a highly efficient Python Programme .While the programme
has some limitations it is not a dire failure and can be easily worked upon .Thus
one may conclude that the project “T20BATTING ANALYSIS SYSTEM” is a
success.

28 | P a g e
BIBLIOGRAPHY –

1. Informatics Practices for class XII by : Sumita Arora


2. https://www.python.org/
3. https://www.learnpython.org/
4. https://www.research.org/

29 | P a g e

You might also like