Module: vemomoto_core.npcollections.npext
Module: vemomoto_core.npcollections.npext#
Created on 05.07.2016
@author: Samuel
Classes:
|
classdocs |
|
|
|
|
|
|
|
Functions:
|
Adds an alias to the field with the name original to the array arr. |
|
|
|
Adds a name to the data of an unstructured array. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
a must be a numpy structured array. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- class FlexibleArray(nparray, copy=True, dtype=None, recArray=True, extentionFactor=2, pseudoShared=False)[source]#
Bases:
objectclassdocs
Methods:
add([data])add_fields(names, dtypes[, fillVal])cut()exists(*indices)expand([newlines])extend(newRows)get_array_indices(column, equalCondition)quick_add(**keywordData)quick_add_tuple(data)remove_fields(names)
- class FlexibleArrayDict(nparray, fancyIndices=None, **flexibleArrayArgs)[source]#
Bases:
vemomoto_core.npcollections.npext.FlexibleArrayMethods:
add(index[, data])exists(*indices)extend(newRows)get(index, *default)getColumnView(column)quick_add(index, **keywordData)quick_add_tuple(index, data)
- class FlexibleArrayDictColumnView(nparray, fancyIndices=None, **flexibleArrayArgs)[source]#
Bases:
vemomoto_core.npcollections.npext.FlexibleArrayDict,objectMethods:
add([data])add_fields(names, dtypes[, fillVal])expand([newlines])extend()new(flexibleArray, column)quick_add(**keywordData)remove_fields(names)
- add_alias(arr, original, alias)[source]#
Adds an alias to the field with the name original to the array arr. Only one alias per field is allowed.
- class csr_matrix_nd(listMatrix, dtype='double')[source]#
Bases:
objectAttributes:
- HighDimAccessError = NotImplementedError('Access to subarrays of dimension higher than 1 is not yet supported.')#