> For the complete documentation index, see [llms.txt](https://docs.cascade.io/cascade/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cascade.io/cascade/functions-and-expressions/functions/table/nth.md).

# NTH

NTH( `column`, `index`)

Returns the *n*th element of a given column

{% hint style="info" %}
NTH() and INDEX() are aliases of each other.
{% endhint %}

### Inputs

| Input    | Description                                                                                                                                  |
| -------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| `column` | Column of any type                                                                                                                           |
| `index`  | Index of element to return. Index of 1 returns the first element. `index` must be within the length of `column`, otherwise returns an error. |

### Output

Element within `column` defined by `index`

### Example

{% embed url="<https://datawrapper.dwcdn.net/C8XgA/1/>" %}
