Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
4 views22 pages

Bordered Modified Practical File Styled

The document outlines a series of practical tasks for Class XII Informatics Practices, focusing on data manipulation using pandas and SQL. Tasks include creating data frames, performing statistical analysis, filtering data, and importing/exporting data between pandas and databases. It also involves creating and managing tables, executing SQL queries, and visualizing data with charts.

Uploaded by

mrdraken026
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views22 pages

Bordered Modified Practical File Styled

The document outlines a series of practical tasks for Class XII Informatics Practices, focusing on data manipulation using pandas and SQL. Tasks include creating data frames, performing statistical analysis, filtering data, and importing/exporting data between pandas and databases. It also involves creating and managing tables, executing SQL queries, and visualizing data with charts.

Uploaded by

mrdraken026
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

Practical Task - Page 1

Content
Practical Task Page 1

Practical File- Informatics Practices (Class XII)


#1 Create a pandas series from a dictionary of values and an ndarray.
Practical Task - Page 2

Content
Practical Task Page 2

#2. Given a Series, print all the elements that are above the 75th percentile.
Practical Task - Page 3

Content
Practical Task Page 3

#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.
Practical Task - Page 4

Content
Practical Task Page 4

#4. Create a data frame based on ecommerce data and generate descriptive
statistics (mean, median, mode, quartile, and variance).
Practical Task - Page 5

Content
Practical Task Page 5

#5. Create a data frame for examination result and display row labels, column
labels data types of each column and the dimensions
Practical Task - Page 6

Content
Practical Task Page 6

#6. Filter out rows based on different criteria such as duplicate rows.
Practical Task - Page 7

Content
Practical Task Page 7

#7. Find the sum of each column, or find the column with the lowest mean.
Practical Task - Page 8

Content
Practical Task Page 8

#8. Locate the 3 largest values in a data frame.


Practical Task - Page 9

Content
Practical Task Page 9

#9. Subtract the mean of a row from each element of the row in a Data Frame.
Practical Task - Page 10

Content
Practical Task Page 10

#10. Replace all negative values in a data frame with a 0.


Practical Task - Page 11

Content
Practical Task Page 11

#11. Replace all missing values in a data frame with a 999.


Practical Task - Page 12

Content
Practical Task Page 12

#12. Importing and exporting data between pandas and CSV file
Practical Task - Page 14

Content
Practical Task Page 13

Importing Data from MySQL to Data Frame.


#13. Importing and exporting data between pandas and MySQL database.
Practical Task - Page 15

Content
Practical Task Page 14

Exporting data from Data Frame to MYSQL.


Practical Task - Page 17

Content
Practical Task Page 15

#14. Given the school result data, analyse the performance of the students on
different parameters, e.g subject wise or class wise.
Practical Task - Page 18

Content
Practical Task Page 16

#15. For the Data frames created above, analyze and plot appropriate charts with
title and legend.
Practical Task - Page 19

Content
Practical Task Page 17

#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.
Practical Task - Page 21

Content
Practical Task Page 18
Practical Task - Page 22

Content
Practical Task Page 19

#17. Create a student table with the student id, name, and marks as attributes
where the student id is the primary key.
#18. Insert the details of a new student in the above table.
#19. Delete the details of a particular student in the above table.
Practical Task - Page 23

Content
Practical Task Page 20

#20. Use the select command to get the details of the students with marks more
than 80.
#21. Create a new table (order ID, customer Name, and order Date) by joining
two tables (order ID, customer ID, and order Date) and (customer ID, customer
Name, contact Name, country).
Practical Task - Page 25

Content
Practical Task Page 21

#22. Create a foreign key in one of the two tables mentioned above
#23. Find the min, max, sum, and average of the marks in a student marks table.
#24. Find the total number of customers from each country in the table (customer
ID, customer Name, country) using group by.
Practical Task - Page 26

Content
Practical Task Page 22

#25. Create a new table (name, date of birth) by joining two tables (student id,
name) and (student id, date of birth).
#26. Write a SQL query to order the (student ID, marks) table in descending order
of the marks.

You might also like