mvpa2.measures.base.asobjarray

mvpa2.measures.base.asobjarray(x)

Generates numpy.ndarray with dtype object from an iterable

Is needed to assure object dtype, so first empty array of dtype=object needs to be constructed and then only items to be assigned.

Parameters:x : list or tuple or ndarray