In general: wouldn't it be better to split the data of these values into separate lists and turn them into numpy arrays before returning?