Q. Write a Python statement using the above dataframe Student to get a new dataframe with name taken as index and implementing pivoting.
Answer :-
df.pivot (index = 'Name', columns = ‘Subjects’).filina (' ')
Answer :-
df.pivot (index = 'Name', columns = ‘Subjects’).filina (' ')
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )