CBSE 2026 results are out, Mukul scored a perfect 100/100 in Computer ScienceSee all toppers →
CBSE · Informatics Practices · 7 min read

Pandas for Class 12 IP: The 25 Marks Most Students Underprepare

Data Handling using Pandas carries 25 of the 70 theory marks in CBSE Class 12 Informatics Practices, the joint-largest block alongside SQL. Most questions ask you to predict output rather than define a term, so reading about dataframes does not prepare you. Writing and running small snippets weekly does.

Why this block decides your grade

Pandas and SQL together are 50 of the 70 theory marks. Get both fluent and the paper is largely done; leave either late and no amount of societal-impacts revision compensates.

What is actually examined

  • Series and DataFrame creation, and the difference between them
  • Selecting rows and columns, including loc and iloc
  • Adding, modifying and deleting rows and columns
  • Head, tail and basic descriptive functions
  • Handling missing data
  • Importing and exporting CSV files
  • Simple plotting with Matplotlib

The question type that catches people

Output prediction. You are shown four lines of Pandas and asked what prints. Knowing what a dataframe is tells you nothing about what a particular slice returns.

The specific traps that repeat: confusing loc (label-based) with iloc (position-based); forgetting that slicing with loc includes the end label while iloc does not; and assuming an operation changes the dataframe when it returns a copy.

How to practise properly

  • Five snippets a week, written and run, from Class 11 onwards.
  • Predict the output before running, then compare. The gap between your guess and reality is your revision list.
  • Keep one CSV of your own and query it all year, so the data is familiar and the syntax is what varies.
  • Do previous years' Pandas questions in one sitting; the repetition is obvious quickly.

Don't skip the practical

The 30 practical marks include Pandas work. CBSE expects a minimum of 15 Pandas programs, 4 Matplotlib programs and 15 SQL queries in the practical file, so the file itself is a revision plan if you start it early.

{ }

Frequently asked questions

How many marks is Pandas in Class 12 IP?+
Data Handling using Pandas carries 25 of the 70 theory marks, joint-largest with Database Query using SQL.
What is the difference between loc and iloc?+
loc selects by label and includes the end label when slicing. iloc selects by integer position and excludes the end position. Questions testing this distinction are common.
How many Pandas programs are needed in the IP practical file?+
CBSE expects a minimum of 15 Pandas programs, 4 Matplotlib programs and 15 SQL queries.
Can I learn Pandas without knowing Python?+
No. Pandas is a Python library, so basic Python must come first. Class 11 IP covers that Python foundation.

Written by Kajal Mehta (Kajal Ma'am), founder of Kwickprep, teaching computer subjects since 2006. Updated 2026-09-03.

Choosing between ICSE and CBSE?

Ask Kajal Ma'am directly, 20+ years teaching computer science. Free demo class first, no payment.

Talk to Kajal Ma'am on WhatsApp

Or see the courses course →

Studying outside India?

We coach CBSE, IGCSE & international students across the globe, one-to-one, in your local time zone.

Visit International →