1# axis=1 tells Python that we want to apply function on columns instead of rows
2# To delete the column permanently from original dataframe df, we can use the option inplace=True
3df.drop(['A', 'B', 'C'], axis=1, inplace=True)
you will get a confirmation link on this - you will have to click that for successful submission of your answer. we require this to keep the website free of spam, bots and unhelpful content
please ensure to add code which is syntactically corrent and executes properly
you will get a confirmation link on this - you will have to click that for successful submission of your question. we require this to keep the website free of spam, bots and unhelpful content