Pandas: Series & DataFrame: Class 12 Previous Year Questions
Every CBSE board exam question on Pandas: Series & DataFrame (Class 12 Informatics Practices (IP)) from 2023 to 2026, with the years it was asked and the official marking-scheme answer in the free app.
Key facts
- Weightage: about 20.5 marks per board paper on average (rank 2 of 5 chapters in Class 12 Informatics Practices (IP))
- Asked in board exams: 2023, 2024, 2025, 2026
- Typical question marks: 1-mark × 20, 2-mark × 10, 3-mark × 8, 4-mark × 2, 5-mark × 2
- Questions on BoardPrep: 60 (28 short answer, 18 MCQ, 7 very short, 4 Assertion-Reason, 3 long answer), 60 with official marking-scheme answers
Pandas: Series & DataFrame questions asked in CBSE board exams
Repeated questions first. Open the free app to see each question as it appeared in the paper, with its marking scheme.
- What will be the output of the following Python code ? import pandas as pd dd={'One':1,'Two':2,'Three':3,'Seven':7} rr=pd.Series(dd) rr['Four']=4 print(rr) One (i) Two Three 3 Seven 7 dtype: int64 2190 (ii) One Two Three Four Seven 7 dtype: int64 (iii) Four On…
Board 20241 markMCQRepeated: 2023,2024 - What will be the output of the following code : import pandas as pd sl=pd.Series(data=2*(3,10)) print(sl)
Board 20232 marksshort answerRepeated: 2023,2024 - What will be the output of the following code ? 10. import pandas as pd myser = pd.Series([0, 0,0]) print(myser) (i) (ii) (ii) (iv)
Board 20231 markvery shortRepeated: 2023,2024 - Find the output of the following code: import pandas as pd lst1=[20,35,40] ser1=pd.Series([20,35,40]) print(lst1+ lst1) print(ser1+ser1)
CBSE practice 2023-242 marksshort answerRepeated: 2023,2024 - (a) 'a', 'b', 'c' NumPy array Pandas Series , 'first', 'second' 'third' (assign) 2 import pandas as pd i…
Board 20262 marksshort answer - State whether the following statement is True or False : 1 In Pandas Series, the Positional index can be a string or an integer.
Board 20261 markvery short - Pandas DataFrame , (column) (delete ) axis (value) ? 1 (A) axis = -1 (B) axis = 0 (C) axis = 1 (D) axis =
Board 20261 markMCQ - scholarship (DataFrame) : 3 + 1 + 1 = 5 Name Course Amount 0 Ananya B.Sc. 62000 1 Karan B.Tech 67000 2 Simran MCA 64000 3 Rahul BCA 70000 4 Priya BA 69000 : I. (Dictionary of Serie…
Board 20265 markslong answer - (a) List any two characteristics of Pandas library in Python. 2 OR (b) Briefly explain the purpose of Boolean Indexing with respect to DataFrames. Support your answer with a suitable example.
Board 20262 marksshort answer - In the context of creating a Pandas Series from a dictionary, which of the following statement is correct ? 1 (A) The values of the dictionary become the indices of the Series. (B) The keys of the dictionary become the values of the Series. (C) The keys of the…
Board 20261 markMCQ - (a) Pandas Series (Python program) : 3 July 31 Aug 31 Sept 30 Oct 31 (Index labels) - July, Aug, Sept, Oct (scalar values) …
Board 20263 marksshort answer - We can add a new row to a DataFrame DF using the ______ method. 1 (A) DF.add() (B) DF.loc[] (C) DF.loc() (D) DF.addloc[]
Board 20261 markMCQ - * 5 P a g e 8. Aditya is working on a DataFrame named df. He has written the statement : 1 print(df.loc['S2']) What will the above statement do ? (A) Display the data of the row having label 'S2'. (B) Display the columns of the DataFrame. (C) Display the data …
Board 20261 markMCQ - * 7 P a g e 13. Which of the following is an example of maintaining good net etiquette ? 1 (A) Spamming emails or messages to strangers. (B) Ignoring other’s opinions in online discussions. (C) Not using copyrighted materials without permission of the owner. (…
Board 20261 markMCQ - In Pandas, when extracting a portion of a Series ser1 using ser1[start:end] with positional indices start and end, which of the following statements is true ? 1 (A) The element at the end index is included in the output. (B) The element at the end index is exc…
Board 20261 markMCQ - (A) : Pandas DataFrame (columns) (data type) (values) 1 (R) : DataFrames 2D arrays (implement) , (allow ) …
Board 20261 markvery short - State whether the following statement is True or False : 1. In Python, we cannot create an empty DataFrame.
Board 20251 markvery short - 3(A): Pandas drop(· method DataFrame rows 3 ·(R) : drop·) method axis parameter faff a rows (axis=0) (delete ) columns (axis=1) (delete ) · I
Board 20252 marksshort answer - DataFrame Doctor : DID Name Department Fee Dr. Joe 101 ENT 1500 Dr. Salma 102 UROLOGY 1600 Dr. Jeet 103 ORTHO 1550 Dr. Neha ENT 104 1200 105 Dr. Vikram ORTHO 1700 fafafaa fm 3faa Python statements fmfa : (i) DataFrame Doctor f rows 1 (ii) (value) 200 f 1 (iv) …
Board 20254 marksshort answer - (a)(scalar values)Pandas Series code import pandas data = [50, 15, 40] series = pd.series(data, Index=['x', 'y', 'z']) Print(series) (b) output Python code : NAME COLOUR Red Apple 10 Blue Berry 15 Green Guava 20 import as pd data=[('COLOUR':'Red','NAME':'Apple…
Board 20253 marksshort answer
Practise all 60 Pandas: Series & DataFrame questions with answers →
Other Class 12 Informatics Practices (IP) chapters
Frequently asked questions
How many marks does Pandas: Series & DataFrame carry in the CBSE Class 12 Informatics Practices (IP) board exam?
Across recent CBSE board papers, Pandas: Series & DataFrame carried about 20.5 marks per paper on average, making it number 2 of 5 chapters by weightage.
Which years were Pandas: Series & DataFrame questions asked in CBSE boards?
Questions from Pandas: Series & DataFrame appeared in the 2023, 2024, 2025, 2026 CBSE Class 12 board exams.
Where can I practise Pandas: Series & DataFrame previous year questions for free?
On BoardPrep: all 60 Pandas: Series & DataFrame questions are free to practise online, with official CBSE marking-scheme answers where published.