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
In the above example, I would expect that rolling from one axis or transposing and rolling from the other axis give the same result. This is true when there is no missing value in the dataframe. However, here there is a missing value the value at position .loc[0, "B"] ends up being different.
In the first case the value is not summed with the value at .loc[0, "A"], but in the second case it is. I think this may be an issue because I would expect to get the same output in both cases.
Code Sample, a copy-pastable example if possible
Problem description
In the above example, I would expect that rolling from one axis or transposing and rolling from the other axis give the same result. This is true when there is no missing value in the dataframe. However, here there is a missing value the value at position .loc[0, "B"] ends up being different.
In the first case the value is not summed with the value at .loc[0, "A"], but in the second case it is. I think this may be an issue because I would expect to get the same output in both cases.
I observed this both in pandas 1.0.1 and 1.0.2.
Expected Output
or
Output of
pd.show_versions()
The text was updated successfully, but these errors were encountered: