# Dataset.add\_labels

### Dataset.<mark style="color:purple;">add\_labels</mark>(*labels*) → self

Add labels to a dataset. All labels are case-insensitive and stored lowercase.

### **Parameters:**

**`labels` :&#x20;*****str\[]***\
A list of labels to add to 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:**&#x20;

**self (a** [**Dataset**](https://docs.redivis.com/api/client-libraries/redivis-python/reference/dataset)**)**

{% hint style="success" %}
**See also**

* [Dataset.remove\_labels()](https://docs.redivis.com/api/client-libraries/redivis-python/reference/dataset/dataset.remove_labels)
* [Dataset.update()](https://docs.redivis.com/api/client-libraries/redivis-python/reference/dataset/dataset.update)
  {% endhint %}
