daft.DataFrame.exclude#

DataFrame.exclude(*names: str) daft.dataframe.dataframe.DataFrame[source]#

Drops columns from the current DataFrame by name

This is equivalent of performing a select with all the columns but the ones excluded.

Example

>>> df_without_x = df.exclude('x')
Parameters

*names (str) – names to exclude

Returns

DataFrame with some columns excluded.

Return type

DataFrame