Rahul Cs Project 2024
Rahul Cs Project 2024
Dehradun
CANDIDATE’S SIGN:-
INTERNAL’S SIGN:-
EXTERNAL’S SIGN:-
ACKNOWLEDGEMENT
⮚ INTRODUCTION
⮚ EXISTING SYSTEM
⮚ PROPOSED SYSTEM
⮚ RESOURCES REQUIRED
⮚ TABLES
⮚ REFRENCES
INTRODUCTION
VEGETABLE PRICES
This project has been made for analyzing
the VEGETABLE PRICES IN INDIA
OVER LAST 5 YEARS.
The given data compares the prices of
three different vegetables(onion, tomato,
potato) over last 5 years with different
data visualisation methods.
OBJECTIVE OF THE PROJECT
⮚ User friendly
⮚ Less error
⮚ Search facility
RESOURCES REQUIRED
MINIMUM HARDWARE
REQUIREMENTS:
●MONITOR : ANY
MINIMUM SOFTWARE
REQUIREMENTS:
SYSTEM DESIGN
INPUT DESIGN:
Input design is the process of converting
user-oriented input to a computer-based
format. Input design is a part of overall
system design, which requires very careful
attention. Often the collection of input data
is the most expensive part of the system.
THE MAIN OBJECTIVE OF THE INPUT
DESIGN ARE:
⮚ Produce cost effective method of input.
What is Python?
Python is a popular programming language. It was created by
Guido van Rossum, and released in 1991.
It is used for:
WHY PYTHON?
● Python works on different platforms (Windows, Mac, Linux,
Raspberry Pi, etc).
● Python has a simple syntax similar to the English language.
● Python has syntax that allows developers to write programs
with fewer lines than some other programming languages.
● Python runs on an interpreter system, meaning that code
can be executed as soon as it is written. This means that
prototyping can be very quick.
● Python can be treated in a procedural way, an object-
oriented way or a functional way.
Rank
import numpy as np
Data=pd.read_csv("C:\\Users\\farha\\OneDrive\\Documents\\
Book.csv",encoding='latin1')
print(Data)
import pandas as pd
columns=["Year","Host city"]
df=pd.read_csv("C:\\Users\\farha\\OneDrive\\Documents\\
Data2.csv",usecols=columns,encoding='latin1')
plt.plot(df.Year)
plt.show()
Data=pd.read_csv("C:\\Users\\farha\\OneDrive\\Documents\\
Book.csv",encoding='latin1')
print(Data)
columns=["Competitors","Nations"]
df=pd.read_csv("C:\\Users\\farha\\OneDrive\\Documents\\
Data3.csv",usecols=columns,encoding='latin1')
plt.rcParams["figure.figsize"] = [7, 3]
plt.rcParams["figure.autolayout"] = True
plt.plot(df.Competitors,df.Nations)
plt.show()
BAR GRAPH
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
#First to show full data-:
Data=pd.read_csv("C:\\Users\\farha\\OneDrive\\Documents\\
Book.csv",encoding='latin1')
print(Data)
#analysing data with graphs-:
import pandas as pd
from matplotlib import pyplot as plt
columns=["Year","Nations"]
df=pd.read_csv("C:\\Users\\farha\\OneDrive\\Desktop\\
Data6.csv",usecols=columns,encoding='latin1')
print("content in csv file",df)
plt.rcParams["figure.figsize"] = [7.00, 3.50]
plt.rcParams["figure.autolayout"] = True
x_axis=("Year")
y_axis=("Nations")
plt.bar(x_axis,y_axis,width=5,color="red")
#importing csv file to extract data
plt.show()
Data=pd.read_csv("C:\\Users\\farha\\OneDrive\\Documents\\
Book.csv",encoding='latin1')
print(Data)
#analysing data with graphs-:
import pandas as pd
from matplotlib import pyplot as plt
columns=["Compititors","Sports"]
df=pd.read_csv("C:\\Users\\farha\\OneDrive\\Desktop\\
Data7.csv",usecols=columns,encoding='latin1')
print("content in csv file",df)
plt.rcParams["figure.figsize"] = [7.00, 3.50]
plt.rcParams["figure.autolayout"] = True
x_axis=("Compititors")
y_axis=("Sports")
plt.bar(x_axis,y_axis,width=5,color="red")
#importing csv file to extract data
plt.show()
x_axis=[1473,1032,745,179,155,155,132,110,99,91]
y_axis=['China','Japan','South Korea','Iran','India','Kazakhastan','Thailand','North
Korea','Chinese Taipie','Indonesia']
plt.bar(x_axis,y_axis,width=5,color='red')
plt.show()
df=pd.read_csv("C:\\Users\\farha\\OneDrive\\Documents\\
Table2.csv",encoding='latin1')
df.plot(kind='line',color=['red','blue','yellow','green','black'])
plt.title=('Medal count')
plt.xlabel=['contries']
plt.ylabel=['Medals']
plt.show()
OUTPUTS-:
= RESTART: C:\Users\farha\AppData\Local\Programs\Python\Python311\
table.py
Edition Year Host city ... Sports Events Top-ranked team
0 I 1951 New Delhi ... 6.0 57.0 Japan (JPN)
1 II 1954 Manila ... 8.0 76.0 Japan (JPN)
2 III 1958 Tokyo ... 13.0 97.0 Japan (JPN)
3 IV 1962 Jakarta ... 13.0 88.0 Japan (JPN)
4 V 1966 Bangkok ... 14.0 143.0 Japan (JPN)
5 VI 1970 Bangkok ... 13.0 135.0 Japan (JPN)
6 VII 1974 Tehran ... 16.0 202.0 Japan (JPN)
7 VIII 1978 Bangkok ... 19.0 201.0 Japan (JPN)
8 IX 1982 New Delhi ... 21.0 147.0 China (CHN)
9 X 1986 Seoul ... 25.0 270.0 China (CHN)
10 XI 1990 Beijing ... 27.0 310.0 China (CHN)
11 XII 1994 Hiroshima ... 34.0 338.0 China (CHN)
12 XIII 1998 Bangkok ... 36.0 377.0 China (CHN)
13 XIV 2002 Busan ... 38.0 419.0 China (CHN)
14 XV 2006 Doha ... 39.0 424.0 China (CHN)
15 XVI 2010 Guangzhou ... 42.0 476.0 China (CHN)
16 XVII 2014 Incheon ... 37.0 439.0 China (CHN)
17 XVIII 2018 Jakarta and Palembang ... 46.0 465.0 China (CHN)
18 XIX 2022 Hangzhou ... NaN NaN NaN
=== RESTART:
C:/Users/farha/AppData/Local/Programs/Python/Python311/result.py ==
content in csv file Sports Events
0 6 57
1 8 76
2 13 97
3 13 88
4 14 143
5 13 135
6 16 202
7 19 201
8 21 147
9 25 270
10 27 310
11 34 338
12 36 377
13 38 419
14 39 424
15 42 476
16 37 439
17 46 465
=== RESTART:
C:/Users/farha/AppData/Local/Programs/Python/Python311/result.py ==
content in csv file Year Top-ranked team
0 1951 Japan (JPN)
1 1954 Japan (JPN)
2 1958 Japan (JPN)
3 1962 Japan (JPN)
4 1966 Japan (JPN)
5 1970 Japan (JPN)
6 1974 Japan (JPN)
7 1978 Japan (JPN)
8 1982 China (CHN)
9 1986 China (CHN)
10 1990 China (CHN)
11 1994 China (CHN)
12 1998 China (CHN)
13 2002 China (CHN)
14 2006 China (CHN)
15 2010 China (CHN)
16 2014 China (CHN)
17 2018 China (CHN)
GRAPHS-:
LINE GRAPH-:
1:Graph of no of Nations participanted and no. of participants…
2: Graph of sports and event took place.
3:Graph of medal count with respect to participants
BARGRAPH-:
1:Graph of Participants with respect to no. of sports-:
2: Graph of no of Nations participanted and no. of
participants…-:
3:Gold medal count-:
⮚ https://www.business-standard.com/article/
current-affairs/over-400-rise-in-cyber-crime-
cases-against-children-in-2020-ncrb-data-
121111400320_1.html