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 you use apply on a DataFrame with datetimes in, the result is unexpected. This is a dataframe with just integers and strings and the result is that we get the market names back out.
If you replace the lambda function with a function which prints the object passed in, then you can see that you only ever receive the first row of the dataframe:
in order to do apply perf improvements I am not copying the data that is passed to the apply and just overwriting it. This doesn't work with datelike types intermixed (which are themselves a view on the underlying data). So a mixed-type frame has to do this reduction using a slower method (which is python based)
When you use apply on a DataFrame with datetimes in, the result is unexpected. This is a dataframe with just integers and strings and the result is that we get the market names back out.
If we replace the data in column 'a' with datetimes, then we get the wrong result - the first value in the market column is repeated:
If you replace the lambda function with a function which prints the object passed in, then you can see that you only ever receive the first row of the dataframe:
This is new in the master, I didn't see it in pandas 0.11.0 or 0.13.0.
The text was updated successfully, but these errors were encountered: