final practical questions
final practical questions
b. Write the Python code to plot a line chart with the DataFrame DF created in
previous
question where names and marks should be plotted on x and y axis
respectively. Also
add appropriate title of the chart, title of x and y axis respectively.
Name Score
0 Manish 35.5
1 Dheeraj 58.5
2 Ravi 89
3 Shyam 73
vii. To change the dataframe index from 0,1,2,3 to ‘S1’,’S2’,’S3’,’S4’
respectively.
viii. To print first three rows of DataFrame DF.
ix. To add a new column percentage with values 6.25, 5.50, 10.25, 9.50
respectively.
x. To remove the Score column.
d. Write the Python code to plot a bar chart with the DataFrame DF created in
previous
question where names and score should be plotted on x and y axis
respectively. Also
add appropriate title of the chart, title of x and y axis respectively.