CBSE Class 12 Informatics Practices Data Handling using Pandas Assignment Set C

Read and download the CBSE Class 12 Informatics Practices Data Handling using Pandas Assignment Set C for the 2025-26 academic session. We have provided comprehensive Class 12 Informatics Practices school assignments that have important solved questions and answers for Chapter 2 Data Handling using Pandas I. These resources have been carefuly prepared by expert teachers as per the latest NCERT, CBSE, and KVS syllabus guidelines.

Solved Assignment for Class 12 Informatics Practices Chapter 2 Data Handling using Pandas I

Practicing these Class 12 Informatics Practices problems daily is must to improve your conceptual understanding and score better marks in school examinations. These printable assignments are a perfect assessment tool for Chapter 2 Data Handling using Pandas I, covering both basic and advanced level questions to help you get more marks in exams.

Chapter 2 Data Handling using Pandas I Class 12 Solved Questions and Answers

Question: Write import Statement for Pandas Module
Answer: import pandas as pd

Question: Difference between a list and a series.
Answer: In Lists, index value can not be changed eg. [10, ‘Hello’, True]
In Series, index value can be changed.
s2 = pd.Series([‘Hello’, 10, True], index=[2,1,3])
2 Hello
1 10
3 True

Question: Create an empty series.
Answer: import pandas as pd
s=pd.Series()
print(s) 

Question: What will be output of the following:
s = pd.Series([1,2,3,4,5])
s.size
Answer: 5 # s.size gives numbers of elements

Question: CSV stands for ________________________________________
Answer: Comma separated values.

Question:_______________Return the sum over requested axis in Data Frame Df.
Answer: Df.sum

Question:__________________Return the minimum over requested axis in Data Frame Df.
Answer: Df.min

Question: Create a series from dictionary.
Answer: import pandas as pd
data = {‘a’ : 0., ‘b’ : 1., ‘c’ : 2.}
s = pd.Series(data)
print(s)

Question: What will be output of the following:
s = pd.Series([1,2,3,4,5])
s.ndim
Answer: 1 # ndim gives the dimension of series

Question: __________________ function returns first n rows from the object based on position.
Answer: head()

Question: __________________ function returns last n rows from the object based on position.
Answer: tail()

Question: Predict the Output:
import pandas as pd
L=[[‘Rahul’,17],[‘Mohit’,18]]
Df=pd.DataFrame(L, columns=[‘Name’,’Age’])
print(Df)
Answer: Name        Age
  0          Rahul          17
 1          Mohit           18

Question: _____________ is used to check the Null values in a Data Frame.
Answer: isnull ( )

Question: Which of the following is used to replace Null values in a Data Frame?
Answer: fillna ( )

Question: What does DataFrame df.columns give?
Answer: Shows the columns name of Data Frame df.

Question: Axis=1 in a Data Frame represents.
Answer: columns

Question: Axis=0 in a Data Frame represents
Answer: Rows

Question: The file extension of a csv file is _________________
Answer: csv

Question: The library to be imported to export and import DataFrame to and from a csv file is_____________
Answer: pandas

Question: CSV stands for ________________________________________
Answer: Comma separated values.

Question: How many Data Structures available in Pandas?
Answer: Two Data Structures available in Pandas
1. Data Series / Series 2. Data Frame

Question: Create a series which contains 5 numbers and alphabets as index.
Answer: import pandas as pd
s = pd.Series([1,2,3,4,5],index = [‘a’,’b’,’c’,’d’,’e’])

Question: Create a series and multiply every element by 2
Answer: import pandas as pd
s = pd.Series([1,2,3,4,5])
print(s*2)

Question: Create a series which contains names of person.
Answer: import pandas as pd
s=pd.Series([‘suman’,’ravi’,’swati’])
print(s)

Question: By default a csv file opens with __________________
Answer: excel

Question: Write a python program to export the DataFrame ‘df1’ to a csv file ‘file1.csv’ in the current folder.
Answer: import pandas as pd
df1.to_csv(‘file1.csv’)

Question: Write a python program to export the DataFrame ‘df1’ to a csv file ‘file1.csv’ in ‘mycsv’ folder under ‘D’ drive.
Answer: import pandas as pd
df1.to_csv(‘d:/mycsv/file1.csv’)

Question: Study the following program, then write the output if we open the file ‘file1.csv’ in excel.
import pandas as pd
d={‘designation’:[‘manager’,’clerk’,’salesman’, ‘director’]
,’salary’:[25000,15000,14000,30000]}
df=pd.DataFrame(d)
df.to_csv(‘file1.csv’)
Answer: 

CBSE-Class-12-Informatics-Practices-Data-Handling-using-Pandas-Assignment-Set-C-1

 

Question: Study the following program, then write the output if we open the file ‘file1.csv’ in excel.
import pandas as pd
d={‘designation’:[‘manager’,’clerk’,’salesman’,’director’]
,’salary’:[20000,15000,22000,30000]}
df=pd.DataFrame(d)
df.to_csv(‘file1.csv’, index=False)
Answer: 

CBSE-Class-12-Informatics-Practices-Data-Handling-using-Pandas-Assignment-Set-C

 

Question: Write a python program to export the DataFrame ‘df1’ to a csv file ‘file1.csv’ in ‘mycsv’ folder under ‘D’ drive without index of the Dataframe.
Answer: import pandas as pd
df1.to_csv(‘d:/mycsv/file1.csv’, index=False)

Question: Write a python program to export the DataFrame ‘df1’ to a csv file ‘file1.csv’ in the current folder without index of the Dataframe.
Answer: import pandas as pd
df1.to_csv(‘file1.csv’, index=False)

CBSE Class 12 Informatics Practices Chapter 2 Data Handling using Pandas I Assignment

Access the latest Chapter 2 Data Handling using Pandas I assignments designed as per the current CBSE syllabus for Class 12. We have included all question types, including MCQs, short answer questions, and long-form problems relating to Chapter 2 Data Handling using Pandas I. You can easily download these assignments in PDF format for free. Our expert teachers have carefully looked at previous year exam patterns and have made sure that these questions help you prepare properly for your upcoming school tests.

Benefits of solving Assignments for Chapter 2 Data Handling using Pandas I

Practicing these Class 12 Informatics Practices assignments has many advantages for you:

  • Better Exam Scores: Regular practice will help you to understand Chapter 2 Data Handling using Pandas I properly and  you will be able to answer exam questions correctly.
  • Latest Exam Pattern: All questions are aligned as per the latest CBSE sample papers and marking schemes.
  • Huge Variety of Questions: These Chapter 2 Data Handling using Pandas I sets include Case Studies, objective questions, and various descriptive problems with answers.
  • Time Management: Solving these Chapter 2 Data Handling using Pandas I test papers daily will improve your speed and accuracy.

How to solve Informatics Practices Chapter 2 Data Handling using Pandas I Assignments effectively?

  1. Read the Chapter First: Start with the NCERT book for Class 12 Informatics Practices before attempting the assignment.
  2. Self-Assessment: Try solving the Chapter 2 Data Handling using Pandas I questions by yourself and then check the solutions provided by us.
  3. Use Supporting Material: Refer to our Revision Notes and Class 12 worksheets if you get stuck on any topic.
  4. Track Mistakes: Maintain a notebook for tricky concepts and revise them using our online MCQ tests.

Best Practices for Class 12 Informatics Practices Preparation

For the best results, solve one assignment for Chapter 2 Data Handling using Pandas I on daily basis. Using a timer while practicing will further improve your problem-solving skills and prepare you for the actual CBSE exam.

Where can I download in PDF assignments for CBSE Class 12 Informatics Practices Chapter 2 Data Handling using Pandas I

You can download free Pdf assignments for CBSE Class 12 Informatics Practices Chapter 2 Data Handling using Pandas I from StudiesToday.com

How many topics are covered in Chapter 2 Data Handling using Pandas I Informatics Practices assignments for Class 12

All topics given in Chapter 2 Data Handling using Pandas I Informatics Practices Class 12 Book for the current academic year have been covered in the given assignment

Is there any charge for this assignment for Chapter 2 Data Handling using Pandas I Informatics Practices Class 12

No, all Printable Assignments for Chapter 2 Data Handling using Pandas I Class 12 Informatics Practices have been given for free and can be downloaded in Pdf format

Are these assignments for Chapter 2 Data Handling using Pandas I Class 12 Informatics Practices designed as per CBSE curriculum?

Latest syllabus issued for current academic year by CBSE has been used to design assignments for Chapter 2 Data Handling using Pandas I Class 12

Are there solutions or answer keys for the Class 12 Informatics Practices Chapter 2 Data Handling using Pandas I assignments

Yes, we have provided detailed answers for all questions given in assignments for Chapter 2 Data Handling using Pandas I Class 12 Informatics Practices