0% found this document useful (0 votes)
8 views29 pages

Ip Final

Uploaded by

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

Ip Final

Uploaded by

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

INFORMATICS PRACTICES

“PRACTICAL FILE”

Submitted By:
Name : Vivek Bhova
Class/Sec : XII Science
Roll No. :

Submitted To:
Mrs.Priyanka Mate
Internal Examiner

B.R. International School


Dharampur,Valsad–3 9 6 0 5 0
Affiliation No. 430190
Session:2023 – 24

Page 1 of 29
CERTIFICATE

This is to certify that Master Vivek Bhova of class/sec XII Science


has successfully completed his “Practical File” to my satisfaction and
submitted the same during the academic year 2024 – 25.

The project is the result of his efforts and endeavours.

Date: _______________

……………………… ……………………….

(Internal Examiner) (Principal )

…………………………

(External Examiner)

Page 2 of 29
ACKNOWLEDGEMENT
It is my privilege to express my most sincere regards to all who
directly and indirectly helped me to complete my investigatory project
work.

First of all, I would like to thank, God the almighty for everything that
I am and for giving me strength and insight to undertake this
investigatory project.

I deeply express my sincere gratitude to the Principal Mr. Shelesh


kumar for his noble guidance and providing sufficient facilities which
have contributed to the successful completion of this investigatory
project.

I am grateful to my Informatics Practices mentor Mrs.Priyanka Mate


who has been generous in providing valuable inputs, guidance and
kind cooperation to me throughout my project work. It is indeed her
continuous inspiration that led me all the way to accomplish this
investigatory project.

I take this opportunity to thank all my teachers, supporting staff,


parents and peer members for their moral support, innovative
suggestions and lots of cheerful moments that have been very helpful
in various phases of the completion of this investigatory project.

Page 3 of 29
Vivek Bhova

Roll No.

1. To create a pandas series from a dictionary of values and a ndarray.

Code:

Output:

Code:

Output:

Page 4 of 29
Page 5 of 29
2. To create a series object that stores the initial budget allocated(5000/- each) for the four
quarters.

Code:

Output:

Page 6 of 29
3. To Create a DataFrame named as student using a list of name of 5 Students.

Code:

Output:

Page 7 of 29
4. To create a dataframe and use head and tail function.

Code:

Output:

Page 8 of 29
5. Write a program for above created DataFrame(df) which stores data, to select the rows
and columns on boolean condition where age should be greater than 25.

Code:

Output:

6. To add a column namely hobbies having data Writing, Singing, Gardening, Drawing,
Dancing in the above created DataFrame.

Page 9 of 29
Code:

Output:

7. Write a program to re-index the original DataFrame create above(Pno. 4).

Code:

Page 10 of 29
Output:

8. Create a dataframe for examination result and display data type and the dimensions.

Code:

Page 11 of 29
Output:

9. Write a program to print the DataFrame df, one row at a time.

Code:

Page 12 of 29
Output:

10. Write a program to create two DataFrames which stores the points of two teams in two
events(4 players of each) and to find the total points scored by the the teams.

Page 13 of 29
Code:

Output:

11. Write a program to find the difference of points between Team1 and Team2 using the
DataFrames created above.

Page 14 of 29
Code:

Output:

12. Write a program to find the average points between both the teams using DataFrames
created above.

Page 15 of 29
Code:

Output:

13. Write a program to get the maximum points scored by each team in the DataFrames
created above.

Page 16 of 29
Code:

Output:

14. Write a program to connect both the DataFrames created above.

Code:

Page 17 of 29
Output:

15. Write a program to delete the p2 column from the merged_df created above.

Code:

Page 18 of 29
Output:

16. Draw the bar graph representing the number of students in each class.(Assume your
own data)

Page 19 of 29
Code:

Output:

17. For the Data frames created above, analyze, and plot appropriate charts with title and
legend.

Page 20 of 29
Code:

Output:

18. Write a program to plot a Horizontal bar chart from the heights of some students.

Page 21 of 29
Code:

Output:

Page 22 of 29
19. Write a program to plot a line chart to depict the changing weekly onion prices for 4
weeks. Give appropriate axes labels.

Code:

Output:

Page 23 of 29
20. Write a program to plot a pie chart

Code:

Output:

Page 24 of 29
21. Create the following table products and write queries given below:

Table: Products

Pcode Pname Qty Price Company

P1001 iPad 120 15000 Apple

P1002 LED TV 100 85000 Sony

P1003 DSLR Camera 10 25000 Philips

P1004 iPhone 50 95000 Apple

P1005 LED TV 20 45000 MI

P1006 Bluetooth Speaker 100 20000 Ahuja

Constraints:

1. Pcode- Primary Key


2. Pname- Not Null

Command to create the table:

Command to insert records:

Page 25 of 29
1. To join product and company and display in tabular form like - <pname>
manufactured by <company>

2. Covert all product name into capital.

3. Display the cube of products quantity for more than or 100 in quantity.

Page 26 of 29
4. Divide the price by 3 and display the 1 fraction digit for price more than 40,000.

5. Display pname (last four letters only),qty , price with 2 decimal points and company
for price in between 30000 to 80000.

6. Display maximum price of products.

7. Display the total quantities of all product.

Page 27 of 29
8. Display the average price of LED and Apple products.

9. Find the difference between maximum price and minimum price from the table.

10.Display unique products from the table.

11.Count the unique company from products.

Page 28 of 29
12.Display the product number, product name and company in the descending order of
their price.

13.Display product minimum price for each company.

14.Display product number and product names in their ascending order of names.

15.Display maximum price of products manufactured by apple.

Page 29 of 29

You might also like