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
Addresses issue in #12244 in which a non-numpy-dtype for
DataFrame.values causes a `TypeError` to be thrown in the `reduce ==
True` case for `DataFrame.apply`. Resolved by first passing
`DataFrame.values` through `Series` initialization and taking its
`values` attribute, which is an `ndarray` and hence will have a valid
`dtype`. Note that the output of `apply` will still have the original
`dtype`.
Author: gfyoung <[email protected]>
Closes#12284 from gfyoung/df_apply_tz_aware and squashes the following commits:
b18b74f [gfyoung] BUG: Allow apply to be used with non-numpy-dtype DataFrames
(from SO)
The text was updated successfully, but these errors were encountered: