This page explains how to use the array_shift_left function in APL.
The array_shift_left
function in APL rotates the elements of an array to the left by a specified number of positions. If the shift exceeds the array length, it wraps around and continues from the beginning. This function is useful when you need to realign or reorder elements for pattern analysis, comparisons, or other array transformations.
For example, you can use array_shift_left
to:
If you come from other query languages, this section explains how to adjust your existing queries to achieve the same results in APL.
Parameter | Type | Description |
---|---|---|
array | Array | The array to shift. |
shift_amount | Integer | The number of positions to shift elements to the left. |
An array with elements shifted to the left by the specified shift_amount
. The function wraps the excess elements to the start of the array.
Reorganize span events to analyze dependencies in a different sequence.
Query
Output
This query shifts span events for frontend
services to analyze the adjusted sequence.