Ip Final
Ip Final
“PRACTICAL FILE”
Submitted By:
Name : Vivek Bhova
Class/Sec : XII Science
Roll No. :
Submitted To:
Mrs.Priyanka Mate
Internal Examiner
Page 1 of 29
CERTIFICATE
Date: _______________
……………………… ……………………….
…………………………
(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.
Page 3 of 29
Vivek Bhova
Roll No.
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:
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:
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:
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
Constraints:
Page 25 of 29
1. To join product and company and display in tabular form like - <pname>
manufactured by <company>
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.
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.
Page 28 of 29
12.Display the product number, product name and company in the descending order of
their price.
14.Display product number and product names in their ascending order of names.
Page 29 of 29