drop() (Pandas)

df.drop() removes specified rows or columns from a DataFrame by their labels. Use columns=... to delete columns and index=... (or labels with axis) to delete…