IArray container#

Multidimensional and compressed data container.

Attributes#

IArray.blocks

Tuple of block dimensions.

IArray.chunks

Tuple of chunk dimensions.

IArray.cratio

Array compression ratio.

IArray.data

Get a ndarray with array data.

IArray.dtype

Data-type of the array’s elements.

IArray.ndim

Number of array dimensions.

IArray.shape

Tuple of array dimensions.

IArray.info

Print information about this array.

IArray.attrs

IArray.is_view

Whether the IArray container is a view or not.

Methods#

IArray.copy

Return a copy of the array.

IArray.copyto

Copy array contents to dest.

IArray.transpose

Transpose the array.

IArray.resize

Change the shape of the array by growing or shrinking one or more dimensions.

IArray.insert

Insert data in a position by extending the axis.

IArray.append

Append data at the end by extending the axis.

IArray.delete

Delete delete_len positions along the axis from the start.

IArray.get_orthogonal_selection

Retrieve data by making a selection for each dimension of the array.

IArray.set_orthogonal_selection

Modify data via a selection for each dimension of the array.

IArray.astype

Cast the array into a view of a specified type.

Mathematical methods#

IArray.sin

Trigonometric sine, element-wise.

IArray.cos

Trigonometric cosine, element-wise.

IArray.tan

Compute tangent element-wise.

IArray.arcsin

Trigonometric inverse sine, element-wise.

IArray.arccos

Trigonometric inverse cosine, element-wise.

IArray.arctan

Trigonometric inverse tangent, element-wise.

IArray.arctan2

Element-wise arc tangent of \(\frac{iarr_1}{iarr_2}\) choosing the quadrant correctly.

IArray.asin

See IArray.arcsin.

IArray.acos

See IArray.arccos.

IArray.atan

See IArray.arctan.

IArray.atan2

See IArray.arctan2.

IArray.sinh

Hyperbolic sine, element-wise.

IArray.cosh

Hyperbolic cosine, element-wise.

IArray.tanh

Compute hyperbolic tangent element-wise.

IArray.floor

Return the floor of the input, element-wise.

IArray.ceil

Return the ceiling of the input, element-wise.

IArray.exp

Calculate the exponential of all elements in the input array.

IArray.log

Natural logarithm, element-wise.

IArray.log10

Return the base 10 logarithm of the input array, element-wise.

IArray.sqrt

Return the non-negative square-root of an array, element-wise.

IArray.power

First array elements raised to powers from second array, element-wise.

IArray.abs

Absolute value, element-wise.

IArray.negative

Numerical negative, element-wise.

Reductions#

IArray.max

Return the maximum of an array or maximum along an axis.

IArray.min

Return the minimum of an array or minimum along an axis.

IArray.sum

Return the sum of array elements over a given axis.

IArray.prod

Return the product of array elements over a given axis.

IArray.mean

Compute the arithmetic mean along the specified axis.

IArray.var

Compute the variance along the specified axis.

IArray.std

Returns the standard deviation, a measure of the spread of a distribution, of the array elements.

IArray.median

Compute the median along the specified axis.

IArray.nanmax

Return the maximum of an array or maximum along an axis ignoring NaNs.

IArray.nanmin

Return the minimum of an array or minimum along an axis ignoring NaNs.

IArray.nansum

Return the sum of array elements over a given axis ignoring NaNs.

IArray.nanprod

Return the product of array elements over a given axis ignoring NaNs.

IArray.nanmean

Compute the arithmetic mean along the specified axis ignoring NaNs.

IArray.nanvar

Compute the variance along the specified axis ignoring NaNs.

IArray.nanstd

Returns the standard deviation ignoring NaNs.

IArray.nanmedian

Compute the median ignoring NaNs along the specified axis.

See also

Reductions