IP PANDAS FILE SAKSHAMm
IP PANDAS FILE SAKSHAMm
S1 S2
A 10 A 80
B 40 B 20
C 34 C 74
D 60 D 90
ANSWER
OUTPUT
2. Consider Two Objects X And Y, Where X Is A
List And Y Is A Series. Both Have Values
20,40,90,110. Find Output Of:
a) print (x*2)
b) print (y*2)
ANSWER
OUTPUT
OUTPUT
5. Consider The Data Frame Below:
ANSWER
OUTPUT
6. Consider the following dataframe, find
the mean and find the sum of the values.
ANSWER
OUTPUT
ANSWER
OUTPUT
8. Given a DataFrame:
ANSWER
OUTPUT
PYHTON CSV
10-14
OUTPUT
11. Write a program to read from a CSV file
and create a dataframe. The file’s column
header should use column numbers 0,1,2… etc.
ANSWER
OUTPUT
OUTPUT
OUTPUT
MATPLOTLIB
16. Write a program to record a
student's performance in 10 unit tests.
ANSWER
OUTPUT
17. Write a program to plot a car chart
from medals won by Australia and India.
ANSWER
OUTPUT
18. Write a program to plot a horizontal bar
chart from the heights of some students.
ANSWER
OUTPUT
19. A survey gathers heights and weights of
100 participants and records the participants'
ages. Write a program to plot histogram from
above data with 20 bins.
ANSWER
OUTPUT
20. Write a program to record no. of online
classes in a dictionary and show it in the form of
a bar graph.
ANSWER
OUTPUT
--THANKYOU--