Expand description
Core array utilities and validation functions
Functionsยง
- array_
concatenate - Concatenate arrays
- array_
resize - Resize array to new size, padding with zeros if needed
- array_
reverse - Reverse array
- array_
split - Split array into chunks
- array_
unique_ counts - Count unique elements
- check_
array_ 1d - Check that a 1D array is not empty
- check_
array_ 2d - Check that a 2D array is not empty
- column_
or_ 1d - Convert 2D array to 1D if possible, otherwise return error
- label_
counts - Count occurrences of each label
- normalize_
array - Normalize array to unit norm (L2)
- safe_
indexing - Safe indexing for 1D arrays
- safe_
indexing_ 2d - Safe indexing for 2D arrays
- unique_
labels - Get unique labels in sorted order