-
-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GroupBy.apply type upcasting regression #3911
Comments
Actually not sure this is a regression, here's with 0.11.0:
for some reason making a bar plot of the value column fails in master. i will investigate when i can |
is the failure a type error? plotting |
Um, really? In this case the resulting plot is totally fine because all of the objects inside are floats. Why not attempt to convert_objects for dtype object and raise if it can't be converted to numeric? |
I'm strongly 👎 on that change |
ok then will change it now |
@wesm cpcloud/pandas@fe3f01f if u want to check while waiting for travis... |
@wesm also is that the only issue here? not clear to me if there's still a |
oh i c. still looks like casting back to original types is an issue |
seldom used case, but test and fixed now |
Blocker for 0.11.1. This got broken sometime between 0.11.0 and master; I haven't had time to bisect yet. Essentially, write a mixed type DataFrame and a groupby function that extracts a row. This used to do type inference and convert object back to numeric in the columns of the resulting DataFrame. Didn't have a test so I don't blame anyone for breaking it by accident =)
The text was updated successfully, but these errors were encountered: