Q. What is following statement doing?


df.drop(["Total", "Order"], axis = 1)

Answer :-

The given statement is deleting the columns 'Total' and 'Order' from the DataFrame df.

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post