Professional Documents
Culture Documents
List of Practical 2022-23 IP XII
List of Practical 2022-23 IP XII
Data Handling
1. Create a pandas series from a dictionary of values and an ndarray
2. Given a Series, print all the elements that are above the 75th percentile.
3. Create a Data Frame quarterly sales where each row contains the item category, item name, and expenditure. Group the rows by the
category, and print the total expenditure per category.
4. Create a data frame based on ecommerce data and generate descriptive statistics (mean, median, mode, quartile, and variance)
5. Create a data frame for examination result and display row labels, column labels data types of each column and the dimensions
6. Filter out rows based on different criteria such as duplicate rows..
7. Find the sum of each column, or find the column with the lowest mean.
8. Locate the 3 largest values in a data frame.
9. Subtract the mean of a row from each element of the row in a Data Frame.
10. Replace all negative values in a data frame with a 0.
11. Replace all missing values in a data frame with a 999.
12. Importing and exporting data between pandas and CSV file
13. Importing and exporting data between pandas and MySQL database
Visualization
14. Given the school result data, analyse the performance of the students on different parameters, e.g subject wise or class
wise.
15. For the Data frames created above, analyze and plot appropriate charts with title and legend.
16. Take data of your interest from an open source (e.g. data.gov.in), aggregate and summarize it. Then plot it using different
plotting functions of the Matplotlib library.
STUDENT
Student Cla Name Game Grade SUPW Grade1 Queires
No. ss
1 11 Sameer Cricket A Photography A *Display the names of the students who are getting grade ‘C’ in either
2 12 Sujit Tennis B Gardening C GAME or SUPW
*Display the number of students getting grade ‘A’ in cricket
3 11 Vinay Cricket B Planting C
*Display the different games offered in the school
4 12 Deepak Badminton B Photography C *Display the SUPW taken by the students, whose name starts with ‘A’
5 11 Raju Badminton A Music A *Add a new column named ‘Marks’
6 11 Meena Chess A Social Work B *Assign a value 200 for Marks for all those who are getting grade ‘B’ or
7 12 Sheela Chess C Social Work B above in GAME.Arrange the whole table in the alphabetical order of SUPW.
8 12 Narayan Cricked C Planting A
9 12 Kishore Badminton A Photography B
RECIPIENT SENDER
Library
No Title Author Type Pub Qty Price
1 Data Structure Lipschutz DS McGraw 4 217 (a)Select all the PROG type published by BPB from
2 Computer Studies French FND Galgotia 2 75 Library.
(b) Display a list of all books with price more than
3 Advanced Pascal Schildt PROG McGraw 4 350
130 and sorted by Qty.
4 Dbase Dummies Palmer DBMS PustakM 5 130
(c) Display all the books sorted by price in ascending
5 Mastering C++ Gurewich PROG BPB 3 295
order .
6 Guide Network Freed NET ZPress 3 200 (d) count the number of books published by PHI.
7 Mastering Foxpro Seigal DBMS BPB 2 135 (e) Display the average price for qyt < 3 .
8 DOS guide Norton OS PHI 3 175
9 Basic for beginners Morton PROG BPB 3 40
10 Mastering Window Cowart OS BPB 1 225