0% found this document useful (0 votes)
20 views30 pages

Informatics Practices Cheshta Gupta

Uploaded by

gmssssanghi2681
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views30 pages

Informatics Practices Cheshta Gupta

Uploaded by

gmssssanghi2681
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 30

lOMoARcPSD|50211068

Informatics Practices-Cheshta Gupta

CBSE boards (Salwan Public School)

Scan to open on Studocu

Studocu is not sponsored or endorsed by any college or university


Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])
lOMoARcPSD|50211068

Informatics Practices
Project File
Class 12

NAME- Cheshta Gupta, Kumud and Devansh


Sehrawat
CLASS- XII
(CBSE)ROLLNO :-14641952,14641928,14641924
SCHOOL- Basava International School
SUBJECT TEACHER- Parnita Gupta

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])


lOMoARcPSD|50211068

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])


lOMoARcPSD|50211068

INFORMATICS PRACTICES
PRACTICAL FILE
CLASS – 12TH

PROJECT TITLE : Korean Drama


Analysis

CONCEPTS USED : Pandas, Matplotlib,


CSV

COMPILER VERSION : PYTHON 3.11

SUBMITTED TO : Ms. Parnita Gupta

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])


lOMoARcPSD|50211068

DEVELOPED BY : Cheshta Gupta, Kumud


and Devansh Sehrawat

INDEX
S.NO. CONTENTS
1. Certificate
2. Acknowledgement
3. Data Collection
4. References
5. Project Synopsis
6. Reasons for choosing the
topic
7. a) hardware requirements
b) software requirements
C) Limitations
8. Source code

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])


lOMoARcPSD|50211068

9. OUTPUTS to the source code

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])


lOMoARcPSD|50211068

CERTIFICATE

This is to certify that the KOREAN


DRAMA ANALYSIS Informatics
practices project is developed by
CHESHTA GUPTA, KUMUD and
DEVANSH SEHRAWAT under my
supervision in the computer lab of
BASAVA INTERNATIONAL SCHOOL in
the session 2023-2024. The work done
by her is original.

Teacher-in-charge

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])


lOMoARcPSD|50211068

External Examiner

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])


lOMoARcPSD|50211068

ACKNOWLEDGEMENT
We would like to express our special
thanks of gratitude to our teacher Ms.
Parnita Gupta as well as our Principal
Ms. Manimala Roy, who gave us the
golden opportunity to do this wonderful
project on the topic KOREAN DRAMA
ANALYSIS which also helped us in doing
a lot of research and we came to know
about so many new things. we would
also like to thank our parents, who
helped us a lot in finishing this project
within the Time limit.

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])


lOMoARcPSD|50211068

DATA COLLECTION
The data is an extract from a dataset from the
website of Kaggle
(https://www.kaggle.com/datasets), which
contains various types of DataFrames. This dataset
contains more than 100 Korean Dramas to explore.
The various columns are:
• Name: Korean Drama name
• Year of release: Release year of the drama
• Aired Date: Aired Date (start) - (end)
• Aired On: Aired on what day(s) of the week
• Number of Episode: How many episodes are there
• Network: What Network is the drama aired on
• Duration: How long is one episode approximately
• Content Rating: Content rate for appropriate audience
• Synopsis: Short story of the drama
• Cast: Actors and Actresses in the drama
• Genre: Genre that the drama is listed in
Tags: Tags that the drama is listed in
Rank: Ranking on the website.
Rating: Rating by the users on the website out of ten

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])


lOMoARcPSD|50211068

PROJECT SYNOPSIS
PROJECT TITLE:
Korean Drama Analysis

PROBLEM DEFINATION:
The project has been made to use and check the
codes we have learned. There are approximately 10
operations done on the selected dataset

TEAM MEMBER:
Cheshta Gupta (12TH D), Kumud(12TH C), Devansh
Sehrawat(12TH C)

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])


lOMoARcPSD|50211068

MEMBER DETAIL:
This project is developed by Cheshta
Gupta, Kumud and Devansh Sehrawat.
All the operations are completed by as
per our learning. It took approximately
two weeks to develop this project.

Reason For Choosing The Topic

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])


lOMoARcPSD|50211068

A Korean drama more popularly known K-


drama, is a type of television series in the
Korean language made in South Korea. They
are popular worldwide, especially in Asia,
partially due to the sudden craze of Korean
Culture and their widespread availability via
streaming services, which often offer
subtitles in multiple languages. The reason
for choosing this topic was to study
information about each K drama taken in
the Dataset as well as making a user-
friendly menu in which people can know
more about Korean Dramas and their
details.

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])


lOMoARcPSD|50211068

HARDWARE REQUIREMENTS:
⦁ A Computer/Laptop with Operating System
⦁ Windows 10 or above
⦁ 70.0 KB (71,682 bytes) RAM and 72.0 KB
(73,728 bytes) disk space
⦁ Python 3.8.3 or higher version

SOFTWARE REQUIREMENTS:
⦁ NumPy
⦁ Pandas Library preinstalled
⦁ Matplotlib Library preinstalled
⦁ Imported csv files

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])


lOMoARcPSD|50211068

LIMITATIONS:
⦁ It is not a web-based project.
⦁ More functionality can be added as per
requirement.
⦁ No provision to print hard copies.

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])


lOMoARcPSD|50211068

CODES
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
df1 =
pd.read_csv("C:/Users/dell/Downloads/5_6080
170998043251423.csv")
y=0
while y == 0:
print('!~~~~Welcome to the K-drama
menu~~~~!')
print('Please enter a number')
print('Press 1 to display entire data')
print('Press 2 to display specific top or
bottom entries')

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])


lOMoARcPSD|50211068

print('Press 3 to iterate the dataframe')


print('Press 4 to display the max/min value
of each column')
print('Press 5 to display the date of airing')
print('Press 6 to view the duration graph')
print('Press 7 to access a particular field')
print('Press 8 to delete a row/column')
print('Press 9 to group the values by their
genre')
print('Press 10 to show the episode graph')
Print(‘press 11 to add data’)
Print(‘press 12 to delete all the data’)
print('Press 0 to exit')
x = int(input("Enter no.-"))
if (x == 1):
print(df1)

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])


lOMoARcPSD|50211068

elif (x == 2):
g = input("Enter t for top or b for bottom-")
if (g == 't'):
f = int(input('Enter no. of entries-'))
print(df1.head(f))
else:
j = int(input('Enter no. of entries-'))
print(df1.tail(j))
elif (x == 3):
u = input('Enter r for rows or c for
columns-')
if (u == 'r'):
for index, row in df1.iterrows():
print(row)
else:

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])


lOMoARcPSD|50211068

for col, values in df1.iteritems():


print(f"Column: {col}")
print(values)
elif (x == 4):
ml = int(input('Enter 11 for max or 12 for
min values-'))
if(ml==11):
print(df1.max())
else:
print(df1.min())
elif (x == 5):
print(df1['Aired Date'])
elif (x == 6):
type1 = input('Enter the type of
graph(bar/pie/plot)-')
if (type1 == 'plot'):

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])


lOMoARcPSD|50211068

ls1 = input('Enter the linestyle


(dotted/solid/dashed/dashdot/none)-')
color1 = input('Enter the color name-')
plt.plot(df1['Name'], df1['Year of
Release'], color=color1, linestyle=ls1,
marker='*')
plt.xlabel("Names")
plt.ylabel('Year of Release')
plt.show()
elif (type1 == 'bar'):
color1 = input('Enter the colour name-
')
plt.bar(df1['Name'], df1['Year Of
Release'], color=color1)
plt.xticks(rotation=45)
plt.xlabel('Names')

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])


lOMoARcPSD|50211068

plt.ylabel('Year of Release')
plt.show()
else:
plt.pie(df1['Number of Episode'],
labels=df1['Name'], startangle=90,
shadow=True)
plt.title('Episodes')
plt.legend()
plt.show()
elif (x == 7):
print('columns=', df1.columns)
print('rows=', df1.index)
z = input('Enter column index-')
a = int(input('Enter row index-'))
b = df1.at[a, z]
print(b)

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])


lOMoARcPSD|50211068

elif (x == 8):
klj = input('Enter r for rows or c for
columns-')
if klj == 'r':
row1 = int(input('Enter the row
index(0-9)-'))
df1 = df1.drop(df1.index[row1])
print(df1)
else:
print(df1.columns)
coll = int(input('Enter the column
index(0-7)-'))
df1 = df1.drop(df1.columns[coll],
axis=1)
print(df1)
elif (x == 9):

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])


lOMoARcPSD|50211068

g1 = df1.groupby('Genre')
print(g1.count())
elif (x == 10):
plt.barh(df1['Name'], df1['Number of
Episode'], color='pink')
plt.xlabel('Name')
plt.ylabel('Number of Episodes')
plt.show()
elif( x==11):
Tt1 = int(‘enter the data’)
Tt2 = df1.append(Tt1,Index=True)
print( Tt2)
elif( x ==12):
Tt3 = df1.drop
else:

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])


lOMoARcPSD|50211068

print('Thank you!')

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

OUTPUT

Menu 1

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])


lOMoARcPSD|50211068

Menu 2

Menu 3

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])


lOMoARcPSD|50211068

Menu 4

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])


lOMoARcPSD|50211068

Menu 5

Menu 6

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])


lOMoARcPSD|50211068

Menu 7

Menu 8

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])


lOMoARcPSD|50211068

Menu 9

Menu 10

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])


lOMoARcPSD|50211068

Menu 11

Menu 12

Downloaded by GOVERNMENT MODEL SCH SANGHI ([email protected])

You might also like