We have code that stuffs an array into a dataframe (yes, I know, not exactly best practice).
df.at[index,'alist'] = list(alist)
alist
is a list but broadcasting was preventing the operation, so the list(alist)
was used to prevent the broadcasting and allow the operation.
With the last set of source library updates list(alist)
started broadcasting, causing this line to fail with the error, Must have equal len keys and value when setting with an ndarray
Any thoughts on how to correct?