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
I don't think this was getting passed thru correctly, and is fixed in the recently merged #11841 (in master / 0.18.0 coming soon)
Note the new api
just need confirming tests
In [13]: df.groupby('group').resample('1D').ffill()
Out[13]:
val
date
2016-01-03 5
2016-01-10 6
2016-01-17 7
2016-01-24 8
In [14]: df.groupby('group').resample('1D').ffill().val.dtype
Out[14]: dtype('int32')
Calling resample() on the dataframe does not change the type.
However, when calling resample() in a group by statement, float type is returned!
Why is val converted to float in the group by statement?
I originally posted this on stack overflow.
The text was updated successfully, but these errors were encountered: