Q. Dictionary S_marks contains the following data:


S_marks = {'name': ['Pashmi', 'Harsh', 'Ganesh', 'Priya', 'Vivek'], ‘Grade: [A1, A2, B1', 'A1', 'B2']}

Write a statement to create dataframe called df. Assume that Pandas has been imported as pd.


Answer :-

df = pd. DataFrame (S_marks)

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post