array.del_
Remove the element at the specified index from the array.Parameters
Parameters
array.filter
Return a new array containing only the elements of the original array for which the predicate is true.Parameters
Parameters
array.flatten
Remove one level of nesting from the array.array.index
Return the position of the first occurrence of the value in the array.Parameters
Parameters
array.insert
Insert the value at the specified index in the array.array.join
Concatenate the elements of the array using the provided separator.Parameters
Parameters
array.len
Return the length of the array.array.map
Apply the function to each element of the array. Note: also supports more complex callables like functools.partial and lambdas with closuresParameters
Parameters
array.max
Return the maximum value of the arrayarray.min
Return the minimum value of the arrayarray.remove
Return a new array with all occurrences of the value removed. Note that in the python standard library, this method only removes the first occurrence.Parameters
Parameters
array.repeat
Return the array repeatedn
times.
Parameters
Parameters
array.sort
Return a new array with the elements sorted.array.union
Return a new array with the elements of both arrays, with duplicates removed.Parameters
Parameters