You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When one tries to construct a DataFrame where the data column count and the passed in column count differ the error message is completely unintuitive unless you know something about the internal representation of the data inside of NDFrames.
I think we should at the very least make the dimensions in the error message consistent with how the frame looks rather than how it's implemented.
this code:
df=DataFrame(np.empty(0), columns=list('abc'))
raises this exception:
ValueError: Shape of passed values is (1, 0), indices imply (3, 0)
When one tries to construct a
DataFrame
where the data column count and the passed in column count differ the error message is completely unintuitive unless you know something about the internal representation of the data inside ofNDFrame
s.I think we should at the very least make the dimensions in the error message consistent with how the frame looks rather than how it's implemented.
this code:
raises this exception:
see here for another example: blaze/blaze#466
The text was updated successfully, but these errors were encountered: