Dataset.remove_labels

Dataset.remove_labels(labels) → self

Remove labels from a dataset, if they exist. All labels are case-insensitive and stored lowercase.

Parameters:

labels : str[] A list of labels to remove from the dataset. Labels can only use alphanumeric characters and underscores, and may be include up to one colon to create a multipart label (e.g., school:humanities). Labels can currently only be assigned to datasets owned by an organization, and you must be an administrator of that organization to view and edit labels.

Returns:

self (a Dataset)

Last updated