Reconcile np.fromiter and multidimensional arrays in Python Reconcile np.fromiter and multidimensional arrays in Python numpy numpy