ACKNOWLEDGEMENT
We wish to express our deep gratitude and sincere thanks to
the Principal, Mr.S.SIVAPRAKASH, Principal, for his
encouragement and for all the facilities that he provided for
this project work. We sincerely appreciate his magnanimity by
taking us into his fold for which We shall remain indebted to.
We extend our hearty thanks to Mr. S.Vivek, INFORMATICS
PRACTICES faculty, who guided us to the successful
completion of this project. We take this opportunity to express
our deep sense of gratitude for his invaluable guidance,
constant encouragement, immense motivation, which has
sustained our efforts at all the stages of this Project work.
We can’t forget to offer our sincere thanks to our parents and
to our classmates who helped us to carry out this project work
successfully and for their valuable advice and support, which
we received from them time to time.
Olympic Games Analysis
Olympic
System
System
Index
S. No Topic Page No.
1. Certificate 2
2. Acknowledgement 3
3. About Project and Software 4
used
4. Olympic Games Analysis 6
System (Introduction)
5. Python Overview 8
6. MySQL Overview 11
7. Database and Table Design 13
8. Source Code 14
9. Output 23
10. Bibliography 37
OLYMPIC GAMES DATA ANALYSIS SYSTEM 1
AIM:To Develop:
Olympic Games Analysis System
Front End:
Python 3.8.2
Back End:
My SQL Server 5.1
Operating System:
Windows 10
Minimum Hardware and Software Requirements:
Operating System:
x86 64-bit CPU (Intel / AMD architecture)
4 GB RAM.
5 GB free disk space.
Open Source Software being used:
1. Python 3.8.2
a. Pandas
b. Matplotlib
OLYMPIC GAMES DATA ANALYSIS SYSTEM 4
Pandas:
Pandas is a high-level data manipulation tool developed by
Wes McKinney. It is built on the Numpy package and its key
data structure is called the DataFrame. DataFrames allow
you to store and manipulate tabular data in rows of
observations and columns of variables.
Matplotlib:
The matplotlib Python library, developed by John Hunter
and many other contributors, is used to create high-quality
graphs, charts, and figures. The library is extensive and
capable of changing very minute details of a figure.
OLYMPIC GAMES DATA ANALYSIS SYSTEM 5
Olympic Games Analysis System
Introduction
OLYMPICS HISTORY
According to historical records, the first ancient Olympic
Games can be traced back to 776 BC. They were dedicated to
the Olympian gods and were staged on the ancient plains of
Olympia. They continued for nearly 12 centuries, until
Emperor Theodosius decreed in 393 A.D. that all such
"pagan cults" be banned.
THE GAMES AND RELIGION
The Olympic Games were closely linked to the religious
festivals of the cult of Zeus, but were not an integral part of a
rite. Indeed, they had a secular character and aimed to show
the physical qualities and evolution of the performances.
OLYMPIC GAMES DATA ANALYSIS SYSTEM 6
About our Analysis System:
This Analysis system is capable of analyzing performance of
all countries in Olympic, No. of medal won, No. of times
country participated in Olympics visually as well as in
tabular form.
This visualization system contains a list of all Medals won by
different Countries in the Summer and Winter Olympics
from 1896 to 2016 Olympic.
Uses of our project:
This program can be used to analyze the performance of
different countries in Olympics till now.
This program can also be used for a predictive model as to
which country is likely to fetch the highest number of gold in
a particular sports category (just an example), etc.
OLYMPIC GAMES DATA ANALYSIS SYSTEM 7
PYTHON : OVERVIEW
Python is a high-level, interpreted, interactive and object-
oriented scripting language. Python is designed to be highly
readable. It uses English keywords frequently where as other
languages use punctuation, and it has fewer syntactical
constructions than other languages.
Python is Interpreted − Python is processed at
runtime by the interpreter. You do not need to compile
your program before executing it. This is similar to PERL
and PHP.
Python is Interactive − You can actually sit at a Python
prompt and interact with the interpreter directly to write
your programs.
Python is Object-Oriented − Python supports Object-
Oriented style or technique of programming that
encapsulates code within objects.
Python is a Beginner's Language − Python is a great
language for the beginner-level programmers and
supports the development of a wide range of applications
from simple text processing to WWW browsers to games.
OLYMPIC GAMES DATA ANALYSIS SYSTEM 8
History of Python
Python was developed by Guido van Rossum in the late
eighties and early nineties at the National Research Institute
for Mathematics and Computer Science in the Netherlands.
Python is derived from many other languages, including ABC,
Modula-3, C, C++, Algol-68, SmallTalk, and Unix shell and
other scripting languages.
Python is copyrighted. Like Perl, Python source code is now
available under the GNU General Public License (GPL).
Python is now maintained by a core development team at the
institute, although Guido van Rossum still holds a vital role
in directing its progress.
Python Features
Easy-to-learn − Python has few keywords, simple
structure, and a clearly defined syntax. This allows the
student to pick up the language quickly.
OLYMPIC GAMES DATA ANALYSIS SYSTEM 9
Easy-to-read − Python code is more clearly defined and
visible to the eyes.
Easy-to-maintain − Python's source code is fairly easy-
to-maintain.
A broad standard library − Python's bulk of the
library is very portable and cross-platform compatible on
UNIX, Windows, and Macintosh.
Interactive Mode − Python has support for an
interactive mode which allows interactive testing and
debugging of snippets of code.
Portable − Python can run on a wide variety of hardware
platforms and has the same interface on all platforms.
Extendable − You can add low-level modules to the
Python interpreter. These modules enable programmers
to add to or customize their tools to be more efficient.
Databases − Python provides interfaces to all major
commercial databases.
GUI Programming − Python supports GUI
applications that can be created and ported to many
system calls, libraries and windows systems, such as
Windows MFC, Macintosh, and the X Window system of
Unix.
Scalable − Python provides a better structure and
support for large programs than shell scripting.
OLYMPIC GAMES DATA ANALYSIS SYSTEM 10
MySQL Overview
What is MySql?
SQL is the core of a relational database which is used for
accessing and managing the database. By using SQL, you
can add, update or delete rows of data, retrieve subsets of
information, modify databases and perform many actions.
The different subsets of SQL are as follows:
DDL (Data Definition Language) – It allows you to
perform various operations on the database such as
CREATE, ALTER and DELETE objects.
DML (Data Manipulation Language) – It allows you
to access and manipulate data. It helps you to insert,
update, delete and retrieve data from the database.
DCL (Data Control Language) – It allows you to
control access to the database. Example – Grant or Revoke
access permissions.
OLYMPIC GAMES DATA ANALYSIS SYSTEM 11
TCL (Transaction Control Language) – It allows you
to deal with the transaction of the database. Example –
Commit, Rollback, Savepoint, Set Transaction.
Features of MySql:
Some features and advantages of MySql are:
Robust Transactional Support
Comprehensive Application Development
Ease of Management
High Performance
Open Source & 24 * 7 Support
Secure Data Protection
High Availability
Scalability & Flexibility
OLYMPIC GAMES DATA ANALYSIS SYSTEM 12
Database and Table Design
**The above screenshots have been taken after importing csv data to MySQL
OLYMPIC GAMES DATA ANALYSIS SYSTEM 13
Comma Separated Values (C.S.V) File
Excel View:
OLYMPIC GAMES DATA ANALYSIS SYSTEM 14
Notepad View:
OLYMPIC GAMES DATA ANALYSIS SYSTEM 15
CODING
OLYMPIC GAMES DATA ANALYSIS SYSTEM 16
OLYMPIC GAMES DATA ANALYSIS SYSTEM 17
OLYMPIC GAMES DATA ANALYSIS SYSTEM 18
OLYMPIC GAMES DATA ANALYSIS SYSTEM 19
OLYMPIC GAMES DATA ANALYSIS SYSTEM 20
OLYMPIC GAMES DATA ANALYSIS SYSTEM 21
OLYMPIC GAMES DATA ANALYSIS SYSTEM 22
OLYMPIC GAMES DATA ANALYSIS SYSTEM 23
OUTPUT
OLYMPIC GAMES DATA ANALYSIS SYSTEM 24
OLYMPIC GAMES DATA ANALYSIS SYSTEM 25
OLYMPIC GAMES DATA ANALYSIS SYSTEM 26
OLYMPIC GAMES DATA ANALYSIS SYSTEM 27
OLYMPIC GAMES DATA ANALYSIS SYSTEM 28
OLYMPIC GAMES DATA ANALYSIS SYSTEM 29
OLYMPIC GAMES DATA ANALYSIS SYSTEM 30
OLYMPIC GAMES DATA ANALYSIS SYSTEM 31
OLYMPIC GAMES DATA ANALYSIS SYSTEM 32
OLYMPIC GAMES DATA ANALYSIS SYSTEM 33
: : : : : : : : : ; :
OLYMPIC GAMES DATA ANALYSIS SYSTEM 34
OLYMPIC GAMES DATA ANALYSIS SYSTEM 35
OLYMPIC GAMES DATA ANALYSIS SYSTEM 36
OLYMPIC GAMES DATA ANALYSIS SYSTEM 37
_____________________________
OLYMPIC GAMES DATA ANALYSIS SYSTEM 38
Bibliography
Youtube (Computer Wallah by A.k Pandey)
Informatics Practices Class 12 by Sumita Arora.
Informatics Practices Class 12 by Preeti Arora.
https://stackoverflow.com/ (for error resolving)
Google Images
https://www.tutorialspoint.com/
Google Search Engine
OLYMPIC GAMES DATA ANALYSIS SYSTEM 39