Skip to content

array

Utilities in the array category.

  • range — Creates an array of numbers following the same semantics as Python's range.
  • shuffle — Returns a new array with elements shuffled in random order using the Fisher–Yates shuffle algorithm.
  • zip — Combines two arrays element-wise into pairs or applies a mapping function to each pair.