CBSE Class 11 Information Practices Introducing Python Pandas Worksheet

Read and download free pdf of CBSE Class 11 Information Practices Introducing Python Pandas Worksheet. Students and teachers of Class 11 Informatics Practices can get free printable Worksheets for Class 11 Informatics Practices Introducing Python Pandas in PDF format prepared as per the latest syllabus and examination pattern in your schools. Class 11 students should practice questions and answers given here for Informatics Practices in Class 11 which will help them to improve your knowledge of all important chapters and its topics. Students should also download free pdf of Class 11 Informatics Practices Worksheets prepared by teachers as per the latest Informatics Practices books and syllabus issued this academic year and solve important problems with solutions on daily basis to get more score in school exams and tests

Worksheet for Class 11 Informatics Practices Introducing Python Pandas

Class 11 Informatics Practices students should download to the following Introducing Python Pandas Class 11 worksheet in PDF. This test paper with questions and answers for Class 11 will be very useful for exams and help you to score good marks

Class 11 Informatics Practices Worksheet for Introducing Python Pandas

Very Short Answer Type Questions


Question: Write the shape of the following and arrays:

CBSE-Class-11-Information-Practices-Introducing-Python-Pandas-Worksheet-1

Answer: (a) (4,) (b) (c) (2,4)

Question: NumPy stands for . . . . . . . . . . . . . . . . . .
Answer: Numerical Python.

Question: How to install Python Pandas? Write command.
Answer: pip install pandas.

Question: NumPy is installed when you install Pandas. (True/False).
Answer: True.

 

Short Answer Type Questions

Question: What is Pandas library of Python? What is its significance?
Answer: Pandas library of Python is for data analysis. It makes available various tools for data analysis and makes it simple and easy process.

Question: What do you understand by axes in a NumPy array? Define axes for a 2D ndarray?
Answer: Axes of an array describes the order of indexing into the array. For ex- axes=0 refres to the first index coordinate, axis=1 the second etc.

Question: How is Series data structure different from a DataFrame data structure?
Answer: A Series is a one-dimensional object that can hold any data ype such as integer, float and strings. It has only one axis(0).
A DataFrame is a two dimensional object that can have columns with potential different types. It has two axis(axis 0 and 1).

Question: Name some common data structures of Python‟s Pandas library?
Answer: Numpy Array, Series , DataFrame.

 

Question: If a Python list is having 7 integers and a numpy array is also having 7 integers, then how are these two data structure similar or different from one another?
Answer: 
1. Numpy array will be occupying less space than list.
2. Vectorized operation is possible with numpy array but not with list.
3. The process of accessing elements is same in both.

Question: Given a list L = [3,4,5] and an ndarray N having elements 3,4,5, what will be the result produced by:

(a) L * 3

(b) N * 3

(c) L + L

(d) N + N

Answer: (a)[3,4,5,3,4,5,3,4,5]

(b) ([9,12,15])

(c) [3,4,5,3,4,5]

(d) ([6,8,10])

Question: Write code to create ndarray having six zeros in it. Write statements to change 3rd and 5th elements of this ndarray to 15 and 25 respectively.
Answer:

CBSE-Class-11-Information-Practices-Introducing-Python-Pandas-Worksheet-2

Question: How is a series object different from and similar to ndarrays? Support your answer with example.
Answer: Series object is a one dimensional object that contains array like values and associated indexes of those values. ndarrays are also similar to series objects but there are some differences that makes them distinctively different types. which are-

  1. in ndarrays, you can perform vectorized operations only if the shapes of two ndarrays match, otherwise it returns an error. but with series objects, the data of two series object is aligned as per matching indexes for non-matching indexes, NaN is returned.
  2. in ndarrays, indexes are always numeric starting from 0 onwards, but series object can have any type of indexes including numbers, letters, labels, strings etc.

CBSE-Class-11-Information-Practices-Introducing-Python-Pandas-Worksheet-3

Question: Write a python code to create a series object Temp1 that stores temperatures of seven days in it. Take any random seven temperatures.
Answer:

CBSE-Class-11-Information-Practices-Introducing-Python-Pandas-Worksheet-4

Question: Write a python code to create a series object Temp1 that stores temperatures of seven days of week. Its indexes should be „Sunday‟, „Monday‟, . . . „Saturday‟.
Answer:

CBSE-Class-11-Information-Practices-Introducing-Python-Pandas-Worksheet-5

Question: Write commands to print following details of series object seal.
(a) If the series is empty. (b) Indexes of the series.
(c) The data type of underlying data (d) If the series stores any NaN value.

Answer:

CBSE-Class-11-Information-Practices-Introducing-Python-Pandas-Worksheet-6

 

Skill Based Questions

Question: given the following series objects:

CBSE-Class-11-Information-Practices-Introducing-Python-Pandas-Worksheet-7

(a) What will be the result of S1 + S2?
(b) What will be the result of S1 – S2?

CBSE-Class-11-Information-Practices-Introducing-Python-Pandas-Worksheet-8

Question: Consider the following Series object namely S:

CBSE-Class-11-Information-Practices-Introducing-Python-Pandas-Worksheet-9

What will be returned by following statements?
(a) S *100 (b) S>0 (c)S1 = pd.Series(S) (d) S2=pd.Series(S1) + 3
What will be the values of Series objects S1 and S2 created above ?

Answer:

CBSE-Class-11-Information-Practices-Introducing-Python-Pandas-Worksheet-10

Question: What will be the output produced by: (suppose pandas has been imported as pd)

CBSE-Class-11-Information-Practices-Introducing-Python-Pandas-Worksheet-11

CBSE-Class-11-Information-Practices-Introducing-Python-Pandas-Worksheet-12

Question: What will be the output produced by following code, considering the Series object S given in above question.

(a) print(s[1:1]

(b)print(s[0:1])

(c) print(s[0:2])

(d) s[0:2]=12

Print(s)

(e) print(s.index)

print(s.values)

CBSE-Class-11-Information-Practices-Introducing-Python-Pandas-Worksheet-13

Question: Find the error and correct:
data=np.array([„a‟,‟b‟,‟c‟,‟d‟,‟e‟,‟f‟])
s=pd.Series(data,index=[100,101,102,103,104,105])
print(s[102,103,104])

Answer:
data=np.array([„a‟,‟b‟,‟c‟,‟d‟,‟e‟,‟f‟])
s=pd.Series(data,index=[100,101,102,103,104,105])
print(s[2:5])

Question: if Ser is a Series type object having 30 values, then how are statements (a), (b) and (c), (d) similar and different?
(a) print(Ser.head()) (b) print(Ser.head(8))
(c) print(Ser.tail()) (d) print(Ser.tail(11))
​​​​​​​
Answer: (a) will print top 5 values (b) will print top 8 values
(c ) will print 5 bottom values (d) will print 11 bottom values

Worksheet for CBSE Informatics Practices Class 11 Introducing Python Pandas

We hope students liked the above worksheet for Introducing Python Pandas designed as per the latest syllabus for Class 11 Informatics Practices released by CBSE. Students of Class 11 should download in Pdf format and practice the questions and solutions given in the above worksheet for Class 11 Informatics Practices on a daily basis. All the latest worksheets with answers have been developed for Informatics Practices by referring to the most important and regularly asked topics that the students should learn and practice to get better scores in their class tests and examinations. Expert teachers of studiestoday have referred to the NCERT book for Class 11 Informatics Practices to develop the Informatics Practices Class 11 worksheet. After solving the questions given in the worksheet which have been developed as per the latest course books also refer to the NCERT solutions for Class 11 Informatics Practices designed by our teachers. We have also provided a lot of MCQ questions for Class 11 Informatics Practices in the worksheet so that you can solve questions relating to all topics given in each chapter.

Where can I download latest CBSE Printable worksheets for Class 11 Informatics Practices Introducing Python Pandas

You can download the CBSE Printable worksheets for Class 11 Informatics Practices Introducing Python Pandas for latest session from StudiesToday.com

Is there any charge for the Printable worksheets for Class 11 Informatics Practices Introducing Python Pandas

There is no charge for the Printable worksheets for Class 11 CBSE Informatics Practices Introducing Python Pandas you can download everything free

Are there any websites that offer free test sheets for Class 11 Informatics Practices Introducing Python Pandas

Yes, studiestoday.com provides all latest NCERT Introducing Python Pandas Class 11 Informatics Practices test sheets with answers based on the latest books for the current academic session

What topics are covered in CBSE Class 11 Informatics Practices Introducing Python Pandas worksheets?

CBSE Class 11 Informatics Practices Introducing Python Pandas worksheets cover all topics as per the latest syllabus for current academic year.

How can I use worksheets to improve my Class 11 Informatics Practices scores?

Regular practice with Class 11 Informatics Practices worksheets can help you understand all concepts better, you can identify weak areas, and improve your speed and accuracy.