woodwork.datatable.DataTable.drop

DataTable.drop(columns)[source]

Drop specified columns from a DataTable.

Parameters

columns (str or list[str]) – Column name or names to drop. Must be present in the DataTable.

Returns

DataTable with the specified columns removed.

Return type

woodwork.DataTable