In #13399 we improved performance of setArrayFromSequence by generalizing the faster assignment loop from only ndarrays to other sequences. This broke pandas since np.array([pd.DataFrame()]) now raises an error could not broadcast input array from shape (0,0) into shape (0)