InterviewSolution
Saved Bookmarks
| 1. |
Write the command using Insert() function to add a new column in the last place(3rd place) named “Salary” from the list Sal=[10000,15000,20000] in an existing dataframe named EMP already having 2 columns. |
|
Answer» EMP.insert(loc=3,column=”Salary”,value=Sal) |
|