You are on page 1of 28

DESIGNATION: PGT(IP)

SHUBH DIXIT
ACKNOWLEDGEMENT
We embarked on this Project as a component of
our XII-Informatics Practices curriculum. We
endeavored to apply our extensive knowledge and
experience, acquired through both academic study
and the pandemic s impact. However, creating a
1

software system Is typically an Intricate and time


Intensive process that demands systematic
scrutiny, visionary Insight, and professional
expertise during design and development.
Furthermore, developers always require the
assistance and well wishes of those with
significant experience and Innovative Ideas within
their immediate circle. We express heartfelt
1

appreciation to our Vandana Rathore Ma am


for guiding us throughout this project. Our Principal
Fr. James T.M.I deserves sincere gratitude for
providing valuable time and moral support In
developing this software. Lastly, we would like to
extend our deepest thanks to our parents for being
a constant source of inspiration while allowing us
the freedom necessary for successful completion
of this software endeavor.
CONTENTS 3

. Introduction
. Objective & Scope of the Project
. Theoretical Background
. System Implementation
o 4. 1 The Hardware used
4.2 The Software used
o

. System Design & Development


. References
Introduction
The software in question is a highly efficient and
eco friendly tool that streamlines the process of E
purchasing. It boasts an intuitive and user-friendly
interface, which allows users to easily explore tours,
travels, and hotels. To facilitate smooth interaction, it
utilizes GUI programming over the network.

One of the key features of this project is its


computerized database that is capable of producing
different reports. Moreover, an application has been
tied to the database for easy access and management.
This makes it easier for users to keep track of their
data and manage it efficiently.

What sets this software apart is its ease of use .


minimal training is required to operate it effectively.
As a result, it can be used as a powerful tool for
automating online tours with ease. The coding and
designing have been done using Net Beans IDE, while
MySQL serves as the back-end RDBMS.

Overall, this software offers an all-In-one solution


for E-purchasing while being environmentally
friendly at the same time. With its user-friendly
interface and powerful features, it is sure to become
a valuable asset for those in the tourism industry
looking to streamline their operations.
• Behavior lysis**: Investigate
listening Spotify i
often listen ration
listeni sessi•on times
most
active.

. **Gen Artist
Determine rtists most
popula mong
Spotify

• Playlist Creation ration**: m•ine


create
explori factors uence
choices extent which

Contextual Listening**:
ndersta ifferent
contexts. workouts. relaxation.
setting choose

mood
6. **Data Privacy and Security**: Consider the
implications of data privacy and security
regarding user listening habits on the
platform and offer recommendations for
safeguarding user information.

,iY ,m:,,2mm1,:lu1,-:,,t,,ll l ,!!,J!,.9A mR !,,!. d,,w d!J


H m[,WW,!HIA!ld,mwllrulina.SUJ!!
VA,ll,&.1.-. ,
l!,!,J!IIJq,J!. 1Jg JU!tth,tr.mruttPll Y&AU.!!!l!!. ,
!W!!!1JoJl!l..111W"1J.1dh,mmmu,mJ!!b!td!UmiJ1t
m1r:1d!! .!!15b,l,!Jm!:i51luL,-ltl!L.m:.a1, ,1!Hl,
2 9 1l!t, ,J!L!'2Wl, ,U .-£P .Hm, ·" ,l,,s. 1 !l!,! ,,,,fltffl!,
UR, ,1lfx.uawml,l.i!.,!IW11!.RS!!Ut m!L,,!!ld. ,h,oh!!,
mlhk1.1Jin!,S!!: ,ll..t,fi!!dJu:,,2lwmiktlt•!-t£S!,!lL
!!!Jbi! c!,mR ,Sb!.,flrd, Ml!Jh!l!ud,!!:I,,,
:i,a. jc=-•in• '"h• n me$ 9f .Iha ,n.lumpc ,(Nama p.na
. .,!l, - a. Jl.,,:1 1}!Ao, , - "¥, ."¥n'¥,!,= - - --h.Ar.: , -¥:- -

Y.l!dl!!! l Irut ,Hmt,mm.mniatn,11!tHH,,m,t!!.,


1Hb.,mmmnA,m1oi ,ru1,lb1Jc.,,bu11.,wllh n,1.,rm1 ,lm!,SM,
l l ,kef I,"Y:JJl,!t A,,!I,maUf.l!d., a !! l. !!t - .,d,
A I!'-, ih!UA!! .S ttm!m!d, 1m!ltMUU8,!!
H !.,l.t, jfflU,1ffl! 2tml,t1
g,y,ftl,tt, r:t,,,2mnu!,1Jl1!,M!!d,,,2,1:Jffl. P, 1,ta,t! I,J,t, ,H,UL,,
!Hm.Ui
Series sional labeled
types

string dates). it· I
le
element
la index. Series
perform
operation •
Series le

sional.
la structu
it· simila

Series. II
index. versatile
lation
ning. filtering.
PYTHON
5. System Design & Development

MENU:

======================= t(t:. 1 f'lt( 1:r-1:ut-' proiecnaemo-1.py ==


----Namaskar Aapka Swagat Hai----
---- Iqj Q]GHI
Do You Wanted To Continue The Program For Yes Type (1)1
1
MENU
1. Csv padhne ke liye
2. Manipulstion karne ke liye
3. Analysis
4. Ajeeb cheez dekhne ke liye
5.Sayo Nara

Aapane Kya Choose Kiya Hai

Code:
import pandas as pd
import matplotlib.pyplot as pit
import numpy as np
print("----Namaskar Aapka Swagat Hai------------")
print("--- qj Q)GHI ")
y="p"
whil=int(input("Do You Wanted To Continue The Program For Yes Type (1)"))
while whil==1:
print(whil)
b=pd.read_csv("dataa1.csv")
print('" MENU
1. Csv padhne ke liye
2. Manipulstion karne ke liye
3. Analysis
4. Ajeeb cheez dekhne ke liye
5.Sayo Nara

1. Csv e
OUTPUT:
FOR PURA DATA
uo rou vritanieo 10 vommue Ine l'"'rogram i--or ves Iype·1,rI
1
MENU
1. Csv padhne ke liye
2. Manipulstion karne ke lije
3. Analy$iS
4. Ajeeb cheez dekhne ke liye
5_S;;1ya Nara

Aa a"e Kya Choose Kiya Hai1

1 Pura D;;;ita
2.Selective Data

Aaparae Kya Choo$e Kiya Hai1


Age Gender ... preffered_pcd_duralion pod_variety_satisfaclion
0 20-35 Female . Both Ok
1 Dec-20 I'r,11ale ... NaN Satisfied
2 3 60 others ... Both Satisfied
3 20-35 FemalE! . NaN Ok
4 20-35 Female Both Ok
...
294 35-60 Female .. Longer Ok
295 35-60 Femal!s, Langer Sal"isfi.;id
295 20-35 Female _ Both Dissatisfied
297 Dec-20 Female ... Both Ok
29S 20-35 Female .. Both Satisfied

[299 l"(]V1"S x 20 columns)


1

CODE:
11 11
:h=int(input( Aapane Kya Choose Kiya Hai ))
ch1=int(input(."Aapane Kya Choose Kiya Hai"))
f ch==1 :
print(
111

1.Pura Data
2.Selective Data
Ill)

11
ch1=int(input(_"Aapane Kya Choose Kiya Hai ))
if ch1==1:
a=pd.read_csv("dataa.csv")

print(a)
else:
OUTPUT:---- -- -
FOR SELECTIVE DATA:
Aapane Kya Choose Kiya Hai1

1 Pura Data
2.Selective Data

Aapane Kya Choose Kiya Hai2


Age ... Energy- The energy of a song
0 20-35 ... 89
1 20-35 ... 93
2 35-60 ... 84
3 20-35 ... 92
4 20-35 ... 84
5 20-35 ... 86
6 20-35 ... 78
7 20-35 ... 76
8 20-35 ... 37
9 20-35 . 72
10 20-35 ... 87
11 20-35 ... 83
12 20-35 ... 82
13 20-35 ... 83
14 20-35 ... 84
15 20-35 ... 75
16 20-35 ... 61
17 20-35 ... 81
18 20-35 ... 80
19 20-35 ... 61
20 20-35 ... 63
21 20-35 ... 68
22 20-35 ... 68
23 20-35 . 81
24 20-35 ... 95
25 20-35 ... 83
26 20-35 ... 90
27 35-60 ... 94
28 20-35 ... 80

[29 rows x 24 columns]


1

CODE: ,
:::h=int(input("Aapane Kya Choose Kiya Hai"))
tt:ch1=int(input("Aapane Kya Choose Kiya
Hai")) f ch==1 :
print("'
1.Pura Data
2.Selective Data
Ill)

ch1=int(input("Aapane Kya Choose Kiya Hai"))


if ch1==1:
a=pd.read_csv("dataa.csv")

print(a)
else:
2. MANIPULATION KARNE KE LIYE
OUTPUT:
Aapane Kya Choose Kiya Hai1
Age
enter value16
Gender
enter valueMAle
spotify_usage_periad
enter value12
Unnamed: 3
enter value12
spotify_listening_device
enter value34
spotify_listening_device.1
enter value56
spotify_subscription_plan
enter value34
premium_ sub_wiIiingness
enter value23
preffered_premium_plan
enter value66
preferred_listening_content
enter value45
fav_music_genre
enter valuegh
music_time_slot
enter valuer
music_lnfluencial_mood
enter valuefh
music_lis_frequency
enter valueghgh
music_expl_method
enter value45
music_recc_rating

B. ADDCOLUMNS
CODE FOR ADD COLUMNS
if ch1==2:

c=input("enter the name of columns")


for i in b..index :
I=[]
print.(i)
val=input("enter the value")
I.append(vgi,I)
b[c]=I
print(b)
OUTPUT:
Aapane Kya Choose Kiya Hai2
enter the name of columnssff
0
enter the value23
1
enter the value33
2
enter the value22
3
enter the value
4
enter the value3
5
enter the value33
6
enter the value3
7
enter the value3
8
enter the value3
9
enter the value3
103
enter the value
11
3enter the value
12
enter the value3
13
3enter the value
14
enter the value3
15
enter the value3
16
enter the value3
17
enter the value3

C.DELETE ROW:
CODE FOR DELETE ROW
if ch1==3:
a=int(input('Write the Index of row to Delet_e,Index are 1 to 30"))
d=b.drop'(a,axis=O)
print(d)

Output:
Aapane Kya Choose Kiya Hai2

1. Add Row
2. Add Columns
3. Delete Row
4. Delete Columns

Aapane Kya Choose Kiya Hai3


Write the Index of row to Delete ,Index are 1 to 303
Age ... Energy- The energy of a song
0 20-35 89
1 20-35 93
2 35-60 84
4 20-35 84
5 20-35 86
6 20-35 78
7 20-35 76
8 20-35 37
9 20-35 72
10 20-35 87
11 20-35 83
12 20-35 82
13 20-35 83
14 20-35 84
15 20-35 75
16 20-35 61
17 20-35 81
18 20-35 80
19 20-35 61
20 20-35 63
21 20-35 68
22 20-35 68
23 20-35 81
24 20-35 95
25 20-35 83
26 20-35 90
27 35-60 94
28 20-35 80

D. Delete Columns:
CODE FOR DELETE COLUMNS
else
a=int(input('Write the Index of row to Delete,lndex are 1 to 20"))
c=b.drop(a,axis=1)
print(c)

OUTPUT:
Aapane Kya Choose Kiya Hai4
Write the Index of row to Delete,Index are 1 to 205
Age ... Energy- The energy of a song
0 20-35 ... 89
1 20-35 ... 93
2 35-60 84
3 20-35 ... 92
4 20-35 ... 84
6 20-35 78
7 20-35 ... 76
8 20-35 ... 37
9 20-35 72
10 20-35 87
11 20-35 83
12 20-35 82
13 20-35 83
14 20-35 84
15 20-35 75
16 20-35 61
17 20-35 81
18 20-35 80
19 20-35 61
20 20-35 63
21 20-35 68
22 20-35 68
23 20-35 81
24 20-35 95
25 20-35 83
26 20-35 90
27 35-60 94
28 20-35 80

[28 rows x 24 columns]


4. ANALYSIS:

#Analysis
if ch==3:
print("'
1. To Display The First Five Rows
2. To Display The First Five Columns
3. To Display The Last Five Rows
4. To Display The Last Five Columns
5. To Display The Size ,Shape
6. To Display The Index
7. To Display The Larged Number
8. To Display The Lowest Number
"')
ch3=int(input("Aapane Kya Choose Kiya Hai"))
if ch3==1 :
print(''The First Five Row Are ")
print(b.head())

if ch3==2:
print(''The First Five Columns Are")
print(b.count())
if ch3==3:
print(''The Last Five Row Are ")
print(b.tail())
if ch3==4:
print(''The Last Five Row Are ")
print(b.tail())
if ch3==5:
a=input("Aapko Kya Dekhna Hai Size.Shape")
if a=="Size" :
print(''The Size OF Data of Spotify",b.size)
else:
print(''The Shape OF Data of spotify",b.shape)
if ch3==6:
print(''The Index OF Data of spotify",b.index)

Aapane Kya Choose Ki ya Hai1


The First Fiye Row Are
Age ... Energy- The -energy :of a song
o 20-:-35 89
1 20<35 93
2 35.-60 84
3 20-3.5 92
4 20-:-35 84

[5 rows:·x24 column ]
Aapane Kya Choose Kiya Hai2
The First Five Columns Are
Age 29
Gender 29
spotify_usage_period 29
Unnamed: 3 D
spotify_listening_device 29
spotify_listening_device.1 29
spotify_subscription_plan 29
premium_sub_willingness 29
preffered_premium_plan 1D
preferred_listening_content 29
fav_music_genre 29
music_time_slot 29
music_lnfluencial_mood 29
music_lis_frequency 29
music_expl_method 29
music_recc_rating 29
pod_lis_frequency 29
fav_pod_genre 16
preffered_pod_format 16
pod_host_preference 15
preffered_pod_duration 16
pod_variety_satisfaction 29
Beats.Per.Minute -The tempo of the song 29
Energy- The energy of a song 29
dtype: int64

Aapane Kya Choose Kiya Hai3


The Last Five Row Are
Age ... Energy- The energy of a song
24 20-'35 95
25 20-35----------------------------S3
26 20-35 90
27-35-60 94
28 20-35 80

[-5 rows x'24 columns]

.Aap-ane Kya Chaos Kiya H_ai4


The Last Five Row Are
Age ... Energy- The_energy of a song
2.4 20-35 95
25 20-35 83
26 20-35 90
27 35-60 94
18 20-35 80

[5 rows·x 24 columns]
Aapane Kya Choose.Kiya Hai5
Aapko Ky-a Dekhna Hai Size,Shi3.peSize
The Size OF Data of Spotify 696
1
MENU
1. Csv padhne ke liye
2. Manipulstion karne ke liye
3. Analysis
4. Ajeeb cheez dekhne ke liye
5.Sayo Nara

Aapane Kya Choose Kiyp Hai;3

1. To Display The First Five Rows


2. To Display The First Five Columns
3. To Display The Last Five Rows
4. To Display The Last Five Columns
5. To Display The Size ,Shape
6. To Display The Index
7. To Display The Larged Number
8. To Display The Lowest Number

Aapane Kya Choose Kiya Hai5


Aapko Kya Dekhna Hai Size,Shapeshape
The Shap.e OF Data of spotify (29, 24)

Aapane Kya Choose. Kiya Hai6


The Index OF Data of spotify RangeJndex(start=O, stop=29, step=i)
1

5. AJEEB CHEEZ DEKHNE KE LIYA


MENU
1. Csv padhne ke liye
2. Manipulstion karne ke liye
3. Analysis
4. Ajeeb cheez dekhne ke liye
5.Sayo Nara

Aapane Kya Choose Kiya Hai4

1. Bar Chart
2. Line Chart
3.Histogram
4.Pie chart
CODE FOR BAR CHART:
if ch==4:
print("'
1. Bar Chart
2. Line Chart
3.Histogram
4.Pie chart
"')

ch4=int(input("Aapane Kya Choose Kiya Hai"))


if ch4==1:
x=np.arange(28)
a=["Smartphone",'\able","Smart watch",'Tv","smart ","Smartphone","computer ","Smart watch",'Tv","computer","Smartphone",'\able","Smart watch",'Tv","computer","Smartphone",'\able","Smart watch'
de=[4,2,2,3,1,6,1,7,1,9,2,7,9,5,4,8,2,1,5,1,9,5,3,6,1,2,4,2,5]
b.plot(kind='bar",linestyle="--",linewidth=6)
plt.xlabel("Device User In Family")
plt.ylabel(''Number Of Device")
plt.title("Spo_Data")
plt.xticks(x,a)
pit.show()

if ch4==2:

OUTPUT:
, , Figure □ X
1

Spo □ata
- Unnamed: 3

-
175 - spotify_lEst:enirn;t_device
- music_recc_rating
15.0 - Beats.Per.Minute -The tempo of the song
Energy- The energ,Yof a song
-
. ).25
·>
(])
0

0
QJ
100
.Q
...
E
:, 75
z

50

2.
5

llNE CHART
CODE FOR LINECHART
if ch4==2:
x=np.arange(8)
o=["leisure time",'Workout session","Study Hours"," While Traveling","Relaxation"," stress relief',"Social gatherings"," parties"]
print("Line Chart")
de=[ 4,2,2,3,1,6,1,5,3,6,2,7,2,5,4,3,2,1,5,1,4,5,3,2,1,2,4,2,5]
rec=[3,2,4,4,4,3,3,5,4,4,3,3,3,1,5,2,1,4,3,4,4,5,4,1,3,4,7,3,1]
plt.plot(de,marker=''v",markeredgecolor="red",color="orange",label=" Below Age 25")
plt.plot(rec,marker='lt",markeredgecolor="Green",color="blue'',label="Above Age 25 ",linestyle=''dashdot")
pit.ylabel("music_Iis_frequency")
plt.title("Spo_Data")
pit.legend()
pit.yticks(x,o)
pit.show()

OUTPUT:
1
• Fig1-1re 1 □ X

parties ..... Below Age 25


-+ - Above Age 25
atherings V V

·ess relief

.elaxation ....
I
Traveling

1dy Hours

it session V

sure l:i"me --'-- --------------------------------------------------------------------------'


.10 15 20

C.HISTOGRAM

CODE FOR HISTOGRAM


if c.h4==3:
print( Histogram
11 11
)

b.plot{kind= hist hatc.h..: . .0. Iinestyle=


11 11 1 1 11 11 11
, , : )

plt:xlabelf Device User In Family


1 11
)

plt.ylabel( Number Of Device


11 11

plt..title(' Spo_Data 1
')
1

_pit.show()

OUTPUT:
, _-, Figure - □ X
1

Spo_Data
- Unnamed: 3
17.5 sgoi:ify_listening_device
- music_recc_rating
- B_g f ,Per.Min.l'lte: -The te.mpo of the song
15.0
Ener;g¥- The energy of a song
QI
- 12.5
>

-
'1l
0
0 10.0
....
w
_Q

E
::, 7.5
z

5.0

2.5

0.0
0 25 50 75 100 125 150 175
Devke User In Family

D.PIE CHART :
CODE FOR PIE CHART:
J-'"• · - .. \I
ifch4==4:

print(."'
1.spotify_listening_device
2. music_recc_rating
3. Beats.Per.Minute -The tempo of the song
4. Energy- The energy of a song

ch3=int(input("Aapane Kya Choose Kiya Hai"))


if ch3==1:
b.plot(kind="pie",y="spotify_Iistening_device")
pit.show()
if ch3==2:
b.plot(kind="pie",y="music_recc_rating")
pit.show()
if ch3==3:
b.plot(kind="pie",y="Beats.Per.Minute -The tempo of the song")
pit.show()
if ch3==4:
b.plot(kind="pie",y="Energy- The energy of a song")
pit.show()
Aapane Kya Choose Kiya Hai4

1.s.potify_Iistening_ devi.ce
2.mu.sic _re.cc:_rab ng_
3..Beats.Per.Minute -The tempo of the song
4.Energy- The energy of a song·

Aap-ane Kya Choose-Kiya Hai

OUTPUT:

1. spotltv_Hstenlnu_devlce
D X

---
1
0 10
98
7

--
2
3'
1:: -4
s
.,
Tl
- 5
2

I
- 6 l

---
Cl
C
0
·c - 7

i I
- 8
9 28
., ,i 11
! ,-

--
12
0
f;l-
13

-
15
23
•+. 4- 16
.17
10

-
18
19

Q I

2. muslc_recc_ratlng -
• • Figure1 U X

-
8
- 0
-1

--
- •.3
- 4

-
Cl
C
'.µ - L
eI -
0
V
V
28

---
uI 27
'iii
;:,
E 26

-
---
20 21
16

18
17
19

++l+Q:;!;ligi
15

3. Beats.Per.Minute-The tempo 01the song


• • Figure 1 □ X

---
1
C
0 "' 2
D
VJ
3 9 8 7
<U
:5
00 - 4 2
-

----
E -
C. 1
< 0
. 6r
U 8
. 9 28
f;-
2l 10
::, 27
C 11
i 12
..

I:-
:
& 15
ti 23
"< 21 22
U'

-
"'

-
16

17
18
19

+l+O. ligi
*
4. .Eneruv- The eneruv ot a sonu

• • Figure 1 □ X

-
6 5
0l

-
0, 3
C
s: 4

----
12
.5
0"' 6
>- 13 7
e' 8
' " 14
C
QJ
Q J 9
-f"-
10
>- 15

-
e' 11
QJ
C 12
LU
13

--
14

20 15
21 22 23 16
17
18
19

-
5. SAYO NARA:
CODE FOR SAYO NARA
Do You Wanted To Continue The Program For Yes Type (1.)1
1
MENU
1. Csv padhne ke liye
2. Manipulstion karne ke liye
3. Analysis
4. Ajeeb cheez dekhne ke liye
5.Sayo Nara

Aapane Kya Choose Kiya Hai5


Thank You For The Killing Of
Program

OUTPUT:

KHl. X

Youf program is still r-l!nhi ·g!


Do you want to kill it?

l- 6K, Jl Cancel

ences
In order to work on this project the
following books and literature are
referred by me during the various
phases of development of the project
https://www.spotify.com/

You might also like