Home Page [www.mystudyzone.com]

Write a command to change the column headers to “First” and “Second” respectively. Ans: df1.rename(columns={' a':'First','b':'Second '}, inplace =True) 28. Give the difference between apply() and applymap() functions of pandas. apply ( ) applymap ( ) Can be used with series and dataframe. Can be used only with dataframe. Operates on entire rows or columns at a time. Operates only on ... ................
................