XII IP Practical-Sample Papers-2024
XII IP Practical-Sample Papers-2024
1. Write a Python pro Display the index 3 to 7 using loc.gram to create and display a series 5
of even numbers 2, 4, 6, 8, 10, 12, 14,18, 20 with index value a, b, c, d, e, f, g, h, I, j
using Pandas module. Also do the following:
2.Write a python program to draw a bar chart with the following information : 3
a) Create the above HOTEL table with Hno as primary key and insert the records
b) Display details of hotels whose name starts with ‘A’ and ends with ‘N’.
c) Delete the details of 3 star hotels
d) To increase the ratings of 4 star hotels to 5 star.
e) Change the column heading from contact to Phone.
Table Name - Hotel
1. Create the given DataFrame of dictionary . 5
Write commands to :
i. Display the DataFrame
ii. Change the index to S01, S02, S03, S04
iii. Change the index to Name column
iv. Change the index to default value
v. Delete the column total using del.
10 15 10 10 10 15 20 20 20 20 20 25 25
4. Journal : 5
5. Project : 5
6. Viva : 5