mvpa2.base.types.asobjarray

mvpa2.base.types.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