Read and download free pdf of CBSE Class 12 Informatics Practices Data Handling using Pandas Assignment Set C. Get printable school Assignments for Class 12 Informatics Practices. Class 12 students should practise questions and answers given here for Chapter 2 Data Handling using Pandas I Informatics Practices in Class 12 which will help them to strengthen their understanding of all important topics. Students should also download free pdf of Printable Worksheets for Class 12 Informatics Practices prepared as per the latest books and syllabus issued by NCERT, CBSE, KVS and do problems daily to score better marks in tests and examinations
Assignment for Class 12 Informatics Practices Chapter 2 Data Handling using Pandas I
Class 12 Informatics Practices students should refer to the following printable assignment in Pdf for Chapter 2 Data Handling using Pandas I in Class 12. This test paper with questions and answers for Class 12 Informatics Practices will be very useful for exams and help you to score good marks
Chapter 2 Data Handling using Pandas I Class 12 Informatics Practices Assignment
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:
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:
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 Querying and SQL Functions Assignment |
CBSE Class 12 Informatics Practices Data Handling using Pandas II Assignment |
CBSE Class 12 Informatics Practices Internet and Web Assignment |
CBSE Class 12 Informatics Practices Societal Impacts Assignment Set A |
CBSE Class 12 Informatics Practices Societal Impacts Assignment Set B |
CBSE Class 12 Informatics Practices Chapter 2 Data Handling using Pandas I Assignment
We hope you liked the above assignment for Chapter 2 Data Handling using Pandas I which has been designed as per the latest syllabus for Class 12 Informatics Practices released by CBSE. Students of Class 12 should download and practice the above Assignments for Class 12 Informatics Practices regularly. We have provided all types of questions like MCQs, short answer questions, objective questions and long answer questions in the Class 12 Informatics Practices practice sheet in Pdf. All questions have been designed for Informatics Practices by looking into the pattern of problems asked in previous year examinations. You can download all Revision notes for Class 12 Informatics Practices also absolutely free of cost. Lot of MCQ questions for Class 12 Informatics Practices have also been given in the worksheets and assignments for regular use. All study material for Class 12 Informatics Practices students have been given on studiestoday. We have also provided lot of Worksheets for Class 12 Informatics Practices which you can use to further make your self stronger in Informatics Practices.
What are benefits of doing Assignment for CBSE Class 12 Informatics Practices Chapter 2 Data Handling using Pandas I?
a. Score higher marks: Regular practice of Informatics Practices Class 12 Assignments for chapter Chapter 2 Data Handling using Pandas I will help to improve understanding and help in solving exam questions correctly.
b. As per CBSE pattern: All questions given above follow the latest Class 12 Informatics Practices Sample Papers so that students can prepare as per latest exam pattern.
c. Understand different question types: These assignments include MCQ Questions for Class 12 Informatics Practices with answers relating to Chapter 2 Data Handling using Pandas I, short answers, long answers, and also case studies.
d. Improve time management: Daily solving questions from Chapter 2 Data Handling using Pandas I within a set time will improve your speed and accuracy.
e. Boost confidence: Practicing multiple assignments and Class 12 Informatics Practices mock tests for Chapter 2 Data Handling using Pandas I reduces exam stress.
How to Solve CBSE Class 12 Informatics Practices Chapter 2 Data Handling using Pandas I Assignment effectively?
a. Start with Class 12 NCERT and syllabus topics: Always read the chapter carefully before attempting Assignment questions for Class 12 Informatics Practices Chapter 2 Data Handling using Pandas I.
b. Solve without checking answers: You should first attempt the assignment questions on Chapter 2 Data Handling using Pandas I yourself and then compare with provided solutions.
c. Use Class 12 worksheets and revision notes: Refer to NCERT Class 12 Informatics Practices worksheets, sample papers, and mock tests for extra practice.
d. Revise tricky topics: Focus on difficult concepts by solving Class 12 Informatics Practices MCQ Test.
e. Maintain notebook: Note down mistakes in Chapter 2 Data Handling using Pandas I assignment and read them in Revision notes for Class 12 Informatics Practices
How to practice CBSE Class 12 Informatics Practices Chapter 2 Data Handling using Pandas I Assignment for best results?
a. Solve assignments daily: Regular practice of Chapter 2 Data Handling using Pandas I questions will strengthen problem solving skills.
b.Use Class 12 study materials: Combine NCERT book for Class 12 Informatics Practices, mock tests, sample papers, and worksheets to get a complete preparation experience.
c. Set a timer: Practicing Class 12 Informatics Practices Chapter 2 Data Handling using Pandas I assignment under timed conditions improves speed and accuracy.
You can download free Pdf assignments for CBSE Class 12 Informatics Practices Chapter 2 Data Handling using Pandas I from StudiesToday.com
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
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
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
Yes, we have provided detailed answers for all questions given in assignments for Chapter 2 Data Handling using Pandas I Class 12 Informatics Practices