0% found this document useful (0 votes)
60 views

IP Practical File

This document contains a practical file submitted by Kartik Dadwal, a class 12 student, to his teacher Mr. Navdeep Kumar. The practical file lists 15 practical questions related to data analysis using pandas and SQL. For each question, space is provided to write the code, show the output, and provide explanations for the analysis done.

Uploaded by

Kartik Dadwal
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)
60 views

IP Practical File

This document contains a practical file submitted by Kartik Dadwal, a class 12 student, to his teacher Mr. Navdeep Kumar. The practical file lists 15 practical questions related to data analysis using pandas and SQL. For each question, space is provided to write the code, show the output, and provide explanations for the analysis done.

Uploaded by

Kartik Dadwal
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/ 14

Practical File

Informatics Practices

Kartik Dadwal
Class 12th C
Roll Number 28
Submitted to Mr Navdeep Kumar

Practical File Session 2021-22 1

Practical Questions

1. Create a pandas series from dictionary of list and ndarray.


2. Create a database based on e-commerce data and generate
descriptive statistics(mean, mode, median, quartile and variance.)
3. Replace all negative values in data frame with a zero.
4. Locate the three largest values in a data frame.
5. Given a series, print all elements that are above 75 percentile.
6. Replace all the missing values in a data frame with 999.
7. Importing and exporting data between pandas and CSV ile.
8. Importing and exporting data between pandas and my SQL.
9. Given the school result data, analyse the performance of students
on di erent parameters, eg subject wise or class wise.
10.Subtract the mean of row from each element of the row in a data
frame.
11. Create a student table with student ID, name and marks s attributes
where the student ID is the primary key.
12. Insert the details of new student in above table.
13.Delete the details of particular student in above table.
14.Use the select command to get details of the students with marks
more than 80.
15. Find the min, max, sum and average in the student marks table.

Practical File Session 2021-22 2


ff

1. Code and Output▼

Practical File Session 2021-22 3


2. Code and Output▼

Practical File Session 2021-22 4

3. Code and Output▼

Practical File Session 2021-22 5

4. Code and Output▼

Practical File Session 2021-22 6



5. Code and Output▼

Practical File Session 2021-22 7

6. Code and Output▼

Practical File Session 2021-22 8



7. Code and Output▼

Practical File Session 2021-22 9



8. Code and Output▼

Practical File Session 2021-22 10


9. Code and Output▼

Practical File Session 2021-22 11


10. Code and Output▼

Practical File Session 2021-22 12



11. Code and Output▼

12. Code and Output▼

13. Code and Output▼

Practical File Session 2021-22 13


14. Code and Output▼

15. Code and Output▼

Practical File Session 2021-22 14

You might also like