to_object_array

function of dascore.utils.misc source

to_object_array(
    object_sequence ,
)

Convert a sequence of objects to a numpy array of objects.

This is useful, eg, for storing an object array in a dataframe.