October 2019
Beginner to intermediate
674 pages
16h 43m
English
The del command can be used to delete a single column as shown in the following code:
In [67]: del memberDF["Height"]In [68]: memberDF
The following is the output:

Instead of del, the pop method can be used, just like in dictionaries:
In [65]: height2 = memberDF.pop("Height2")In [66]: memberDF
The following is the output:

Read now
Unlock full access