Informatics Practices Cheshta Gupta
Informatics Practices Cheshta Gupta
Informatics Practices
Project File
Class 12
INFORMATICS PRACTICES
PRACTICAL FILE
CLASS – 12TH
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
CERTIFICATE
Teacher-in-charge
External Examiner
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.
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
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)
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.
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
LIMITATIONS:
⦁ It is not a web-based project.
⦁ More functionality can be added as per
requirement.
⦁ No provision to print hard copies.
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')
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:
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)
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):
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:
print('Thank you!')
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
OUTPUT
Menu 1
Menu 2
Menu 3
Menu 4
Menu 5
Menu 6
Menu 7
Menu 8
Menu 9
Menu 10
Menu 11
Menu 12