CLASS: XII
INFORMATICS PRACTICES (065)
Complete Practical File
Session: 2026-2027
Submitted By: ________________
Roll No: __________
Teacher: __________________
Page 1 of 18
, CERTIFICATE
This is to certify that the practical
file submitted by ……………………… who is the
student of Class XII, St. Marks Public
School, Kuberpur, Agra is a bonafide
record of work done during the
academic session 2026-2027.
Teacher Signature: __________
Examiner Signature: __________
Page 2 of 18
, Q1: Create a Pandas Series from dictionary and
ndarray.
Aim: To create Pandas Series using dictionary and
ndarray.
Solution:
import pandas as pd
import numpy as np
data = {'A':10,'B':20,'C':30}
s1 = pd.Series(data)
arr = np.array([100,200,300])
s2 = pd.Series(arr)
print(s1)
print(s2)
Output:
A 10
B 20
C 30
0 100
1 200
2 300
Q2: Print elements above 75th percentile from a
Series.
Aim: To filter values above 75th percentile.
Solution:
import pandas as pd
import numpy as np
# Creating a sample Series
data = pd.Series([10, 20, 30, 40, 50, 60, 70, 80, 90,
100])
print("Original Series:")
Page 3 of 18