# Dataset properties

You can use Dataset properties to document the unique qualities, features, or characteristics of a dataset. These properties can be added as a dictionary when logging the dataset or after it's created.

Properties are *optional* and work with `Dataset.origin`, `Dataset.clean` and `Dataset.modeling` by assigning to the properties parameter, as shown below:

```python
origin_resource = FileResource(paths="items.csv")
properties = {"test":10, "QA":"Approved", "Bool":True}
 
# Assigning properties while logging an origin dataset 
origin_dataset = Dataset.origin(
                  name = "Origin_Dataset",
                  resource = origin_resource,
                  properties=properties)

iteration.log(origin_dataset)
```

You can also **update** **or add dataset properties** after a dataset has been logged. You must re-log your dataset to an iteration to save your updated dataset properties.

<pre class="language-python"><code class="lang-python"># Updating or adding properties after logging origin dataset
origin_dataset.properties = {"test":1, "QA":"Not started", "Bool":False}

# Re-log dataset to save updated properties
<strong>iteration.log(origin_dataset)
</strong></code></pre>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.vectice.com/24.4/glossary/concepts/datasets/dataset-properties.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
