# Index list float

## Description

This operation extracts specific elements from a list of float values.

***

## Data types

These are the input/output expected data types for this operation:

### Input data

<img src="https://965373739-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkxZeV4nlXcIAjMGZxzLI%2Fuploads%2F1xCRVGn5ZE9G6t2TCSf6%2Flistfloat.png?alt=media&#x26;token=5e3340fe-2810-46b1-891e-38fd02f423a8" alt="" data-size="line"> - The input lists of float values.

### Output data <a href="#output-data" id="output-data"></a>

<img src="https://965373739-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkxZeV4nlXcIAjMGZxzLI%2Fuploads%2FVRA4GGvcxkHaPdNtfwO2%2Fstring.png?alt=media&#x26;token=932286ef-3348-48bb-837d-5e8c79f05c77" alt="" data-size="line"> - The specific elements you want to extract.

***

## Parameters

These are the parameters you need to configure to use this operation (mandatory parameters are marked with a <mark style="color:red;">**\***</mark>):

<details>

<summary>Index<mark style="color:red;"><strong>*</strong></mark></summary>

Enter the list level you want to extract. Note that to extract the first level, you must enter the number `0`, and so on.

</details>

***

## Example

Suppose you want to **extract a specific value** **from your input list of float values**:

1. In your Pipeline, open the required [Action](https://onum.gitbook.io/onum-docs/the-workspace/pipelines/actions) configuration and select the input **Field**.
2. In the **Operation** field, choose **Index list float**.
3. Set **Index** to `1`.
4. Give your **Output field** a name and click **Save**. You'll get the value corresponding to the indicated position. For example:

```
0.0, -1.0, 2.0 -> -1.0
```

{% hint style="info" %}
You can try out operations with specific values using the **Input** field above the operation. You can enter the value in the example above and check the result in the **Output** field.
{% endhint %}
