# Importing Datasets

{% hint style="info" %}
This page was generated from content adapted from the [AWS Developer Guide](https://github.com/awsdocs/amazon-forecast-developer-guide.git)
{% endhint %}

## Related Time Series

* **Note**\
  A related time series that contains any values within the forecast horizon is treated as a forward-looking time series.
* **Note**\
  To upgrade an existing predictor to AutoPredictor, see [Upgrading to AutoPredictor](https://github.com/kevinslin/aws-reference-notes/blob/main/services/amazon_forecast/howitworks-predictor.md#upgrading-autopredictor)

## Item Metadata

* **Note**\
  To upgrade an existing predictor to AutoPredictor, see [Upgrading to AutoPredictor](https://github.com/kevinslin/aws-reference-notes/blob/main/services/amazon_forecast/howitworks-predictor.md#upgrading-autopredictor)

## Handling Missing Values

* **Important**\
  For both target and related time series datasets, `mean`, `median`, `min`, and `max` are calculated based on a rolling window of the 64 most recent data entries before the missing values.


---

# 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://awsnotes.dendron.so/machine-learning/amazon-forecast/topics/importing-datasets.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.
