0% found this document useful (0 votes)
6 views5 pages

Part 2

Uploaded by

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

Part 2

Uploaded by

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

Part 2: Data Visualization

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

18 Use above data and subplot sanitizer data and handwash


data.
w
19. Display following bowling figures through bar chart:

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)

You might also like