Python Programs Final PDF
Python Programs Final PDF
INFORMATICS PRATICES
INVESTIGATORY PROJECT
(2024-2025)
1|P a g e
CERTIFICATE
2|P a g e
ACKNOWLEDGEMENT
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.
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.
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.
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.
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.
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.
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)
13 | P a g e
Output-
14 | P a g e
python program -3
Source code –
Output –
15 | P a g e
Python program – 4
Source code –
Output-
16 | P a g e
Python program – 5
Source code –
Output :
17 | P a g e
Python program – 6
Source code –
18 | P a g e
Python program – 7
Source code –
Output-
19 | P a g e
Python program -8
Source code –
Output –
20 | P a g e
Python program – 9
Source code –
Output –
21 | P a g e
Python program – 10
Source code –
Output –
22 | P a g e
Python program – 11
Source code –
Output –
23 | P a g e
Python program – 12
Source code –
Output-
24 | P a g e
Python program – 13
Source code -
25 | P a g e
Output-
26 | P a g e
Python program – 14
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 –
29 | P a g e