Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
AttributeError raised inside property of DataFrame hides error source. #11808
Comments
|
I am not entirely sure why this happens. The exception (on the inner property) is somehow not propogating up the stack. care to have a look and investigate? |
jreback
added Error Reporting Difficulty Intermediate
labels
Dec 10, 2015
|
this can be fixed by always falling back on |
kawochen
referenced
this issue
Dec 11, 2015
Merged
BUG: GH11808 subclasses of DataFrame did not propagate AttributeError #11822
jreback
added this to the
0.18.0
milestone
Dec 11, 2015
jreback
closed this
in #11822
Dec 11, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
benavente commentedDec 9, 2015
When an
AttributeErroris raised inside a property in DataFrame, regular attribute access fails and__getattr__inNDFrameis called.Since the property's attribute name is neither in
_internal_names_setnor_info_axis, a new exception is risen and the original stack trace is lost.