# i¶

Gives array index of the timeseries

The i transform gives the index in the timeseries array, starting with 0

["data", "data", "data", "data"]


gives:

[0, 1, 2, 3]


When used within a pipe, it gives the index of datapoint within the pipe. The following transform filters half the data, and returns the indices at the second pipe location

where i%2==0 | i

[0, 1]


## Transform Details¶

Input SchemaOutput Schema
{}

{
"type": "integer"
}