Professional Academy of Commerce
Test MM. 30
Class XII (IP) Time: 1 hr
Python with pandas -1 (Set – 1)
General Instructions:
1. All questions are compulsory.
2. Questions 1 to 5 are 1 marks each.
3. Questions 6 to 10 are 3 marks each.
4. Question 11 and 12 is of 5 marks.
1. Name any three python libraries commonly used for scientific and analytical use.
2. What does NumPy stand for?
3. What is the use of Pandas tool?
4. What does PANDAS stand for?
5. Name three important data structures supported by Pandas?
6. List the basic features of PANDAS library/tool?
7. What is data structure?
8. What does the following statement do?
Import pandas as pd
9. Write three important features of series?
10. What are the different ways to construct series. Explain with examples.
11. How to create a series with an example: A python sequence, NumPy Array, A dictionary, A scalar
value
12. Write a program to store a population of 4 cities with an index of the previous 4 years. Write
functions to do the following:
a. Print the average population of the recent two years.
b. Print the grand total of all cities’ population.
c. Print the highest population of each city.
d. Print the difference between the first year and last year.
e. Delete entry of one year from the series.
Contact No. 9654160677, 7838565154