You are on page 1of 2

Content

S.NO Programs Pg No.


* Pandas Programs 1-29
1. Create a pandas series from a dictionary of 2-3
values and an ndarray.
2. Write a program to create a series object using a 4-5
dictionary that stores the number of students in
each section of class 12 in your class.
3. Write Python program to Create a Data Frame 6-7
with the help of dictionary, which contains the
information about Marks of five students of five
subjects. Write commands to create dictionary
also.
4. Write python code to create a data frame from a 8-9
2D dictionary, Sales which stores the quarter-
wise sales as inner dictionary for two years.
5. Write a program to create a series object from an 10-11
ndarray that stores characters from ‘a’ to ‘g’.
6. Create a data frame for examination result and 12-13
display row labels, column labels data types of
each column and the dimensions.
7. Filter out rows based on different criteria such as 14-15
duplicate rows.
8. Write a program to Import and export data 16-17
between dataframe and CSV file.
9. Create a series object Vowel to store all vowels 18-19
individually. Its index should be 1,2,3,4,5.Convert
it into dataframe and display.
10. Create a series object population to store the 20-21
population of five different metro cities and display
the population that are more than 30 Lacs.
11. Consider the following Series S. What will be 22-23
returned by the following statements?
12. Consider the given DataFrame ‘Genre’. Write 24-25
suitable Python statements for the following.
13. Create the series object S with values as 26-27
‘COMFORTABLE’ and index ranging from S1 to
S11 and perform the operations.
14. Create a dataframe ‘Student’ from two series - 28-29
Name and Grade, Name and marks of five
students.
* Matplotlib Programs 31-39
15. Write a program to display a horizontal bar chart 32-33
of the number of students in a class.
16. Write a program to analyse the performance of 34-35
the students subject wise on the school result
data using matplotlib library.
17. Write a program to visualize a weather report for 36-37
three consecutive weeks through Line Plot using
‘Weather.csv’ .
18. Given below are the sugar levels for men and 38-39
women in a city. Compare the sugar levels
amongst them through a histogram.
* SQL Queries 41-49
19. Preeti manages database in a blockchain start 42-45
up. For business purposes , she created a
table named BLOCKCHAIN. Assist her by writing
the following queries.
20. Write SQL commands for the following queries (i) 46-47
to (v) based on the relations Teacher and posting
given below.
21. Write suitable SQL queries for the following. 48-49

You might also like