drop

DataFrame.drop(name)[source]

Remove the column identified by name.

Args:

name (str):

Name of the column to be removed. Must match exactly one column in the current instance.

Returns:
DataFrame:

Updated version of the current instance.