Www.mystudyzone.com

Write a small python code to delete a column namely “head1” from a dataframe df1. Ans: df = df1.pop(‘head1’) ... contents of dataframe also be sorted according to values of row and columns.there are two to sort in Pandas(dataframe) 1. By value : using sort_values() function ... List only the columns Count and price using loc. ................
................