6.Write a Python program to create a Dataframe Score containing following data :–

 

Solution :- 

import pandas as pd
dict = {‘Arnab’:[90,91,97],
           ‘Ramit’:[92,81,96],
           ‘Samriddhi’:[89,91,88],
            ‘Riya’:[81,71,67],
            ‘Mallika’:[94,95,99],
             ‘Preeti’:[88,78,76]}
score = pd.DataFrame(dict,[‘Maths’,’Science’,’Hindi’])
print(score)

Output :-