---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.3
alternate:
  - https://catboost.ai/docs/en/concepts/python-reference_pool_set_timestamp.md
---
> **Documentation Index:** Fetch the complete configuration index at https://catboost.ai/docs/en/llms.txt

# set_timestamp

<!-- source: en/_includes/work_src/reusage-python/set_timestamp__desc.md -->
Set timestamps for all input objects.
<!-- endsource: en/_includes/work_src/reusage-python/set_timestamp__desc.md -->


## Method call format {#call-format}

```python
set_timestamp(timestamp)
```

## Parameters {#parameters}

### timestamp

#### Description

Timestamps for all input objects.
Should contain non-negative integer values.
Useful for sorting a learning dataset by this field during training.

**Possible types**

- list
- numpy.ndarray
- pandas.DataFrame
- pandas.Series
- [polars.Series](https://docs.pola.rs/api/python/stable/reference/series/index.html)

**Default value**

Required parameter
