pymovements.Events.drop#
- Events.drop(columns: str | list[str]) None[source]#
Remove columns from the events data frame.
Notes
The minimal schema columns
name,onsetandoffsetcannot be removed.- Parameters:
columns (str | list[str]) – The columns in the event data frame to remove.
- Raises:
ValueError – If
columnsdo not exist in the event dataframe or it is not allowed to remove them.