Part 2
Part 2
16 Plot following data on line chart and follow the given instructions:
Day Monday Tuesday Wednesday Thursday Friday
Income 510 350 475 580 600
a. Write a title for the chart "The Weekly Income Report".
b. Write the appropriate titles of both the axes.
c. Write code to Display legends.
d. Display red color for the line.
e. Use the line style - dashed
f. Display diamond style markers on data points Code:
Output:
17 Consider the following data of a medical store and plot the
data on the line chart and Customize the chart as you wish:
Month Masks Sanitizer Hand wash
March 1500 4400 6500
April 3500 4500 5000
May 6500 5500 5800
June 6700 6000 6300
July 6000 5600 6200
August 6800 6300 4500
Code:
Output:
18
165
1 6
2 18
3 10
4 5
Overs Runs
Code:
Output
19 Write a program to import from csv file and program to export data to csv file .
import pandas as pd
df=pd.read_csv(“book1.csv)
print(df)