Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Make empty data construction error message less dev-y #8020
Comments
jreback
added the
Error Reporting
label
Aug 13, 2014
jreback
added this to the
0.15.0
milestone
Aug 13, 2014
|
sure |
cpcloud
self-assigned this
Aug 13, 2014
jreback
modified the milestone: 0.15.1, 0.15.0
Sep 9, 2014
jreback
added the
Good as first PR
label
Sep 9, 2014
jreback
modified the milestone: 0.16.0, Next Major Release
Mar 6, 2015
jylin
referenced
this issue
Feb 26, 2016
Closed
ENH: Improve error message for empty data constructor. #8020 #12461
jreback
modified the milestone: 0.18.0, Next Major Release
Feb 26, 2016
jreback
closed this
in c81d03b
Feb 27, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cpcloud commentedAug 13, 2014
When one tries to construct a
DataFramewhere 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 ofNDFrames.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: ContinuumIO/blaze#466