uids#
- class uids(arr=None)[source]#
Bases:
ndarrayClass to specify that integers should be interpreted as UIDs.
For all practical purposes, behaves like a NumPy integer array. However, has additional methods
uids.concat()(instance method),ss.uids.cat()(class method),uids.remove(), anduids.intersect()to simplify common UID operations.Attributes
TView of the transposed array.
baseBase object if memory is from some other object.
ctypesAn object to simplify the interaction of the array with the ctypes module.
dataPython buffer object pointing to the start of the array's data.
devicedtypeData-type of the array's elements.
flagsInformation about the memory layout of the array.
flatA 1-D iterator over the array.
imagThe imaginary part of the array.
itemsetitemsizeLength of one array element in bytes.
mTView of the matrix transposed array.
nbytesTotal bytes consumed by the elements of the array.
ndimNumber of array dimensions.
newbyteorderptprealThe real part of the array.
shapeTuple of array dimensions.
sizeNumber of elements in the array.
stridesTuple of bytes to step in each dimension when traversing an array.
Methods