Best Answer · By JanBask Data Science Expert
Ranjana Admin JanBask Expert
Answered on Jan 15, 2020
To permanently delete or remove a column, we have to create a dataframe to implement the operation.
import pandas as pd
df = pd.DataFrame({'col1':[1,2,3,4],'col2':[444,555,666,444],'col3':['abc','def','ghi','xyz']})
df.head()