PAPER SET 1
Write a python script to do following on Salesman table with the 20
following fields : (sid, sname, city, commission)
1. Insert at least 10 records.
2. Change the record value of city ‘surat’ to ‘Baroda’ .
3. Display salesman’s detail whose name start with ‘P’
PAPER SET 2
Write Python Script to do followings on student.csv with following
fields
(rollno, sname, marks1, marks2, marks3)
1. Read the csv file to generate the data frame.
2. Add a column of total_marks in the data frame.
3. Display alternate records from student.csv file.
4. Display the first 6 rows.
PAPER SET 3
Create table ordertbl (oid, year, totalorder) into a SQLite 20
database with appropriate constraints.
1. Insert at least 5-10 records into the ordertbl.
2. Export order table data into order.csv file.
3. Write a python script that reads the order.csv file and plot a bar
chart that shows totalorder of the year. Also decorate the chart
with appropriate title, labels, colors etc.
PAPER SET 4
Create CSV File for manager with following fields 20
mid,mname,degree,salary
Create a python script to perform the following task.
1.Read data in Dataframe.
2.Display manager whose salary is minimum, maximum.
3. Sort the data according to mname wise.
4. Export final dataframe to CSV as manger_backup.csv
PAPER SET 5
create table tblemp with fields eid, ename, join_year, salary in sqlite 20
database
1. Insert at least 10 records.
2. Export emp table data into emp.csv file.
3. Write a python script that reads the emp.csv file and plot a scatter
graph that shows ename wise salary. Also decorate the chart with
appropriate title, labels,marker, colors etc.
PAPER SET 6
20
Create Product.csv with the following fields
pid ptype pname cost_price Sell_price
ptype should be from 1) clothing 2) Electronics
Write python script for following task:
1.Read data from Product.csv in Dataframe.
2. Add column Profit field in dataframe by following calculation
sell_price - cost_price
3. Display the product of ptype = “clothing”
4. Display product rows between 3th to 7th row.