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
deftest_consistency_with_window():
# consistent return values with windowdf=test_frameindex_array=self.index_arrayindexer=self.rolling_indexer(
index_array=index_array, window_size=self.window_size,
)
start, end=indexer.get_window_bounds(
len(indicies), min_periods, center, closed
)
start=start.astype(np.int64)
end=end.astype(np.int64)
# Cannot use groupby_indicies as they might not be monotonic with the object# we're rolling overwindow_indicies=np.arange(
window_indicies_start, window_indicies_start+len(indicies),
)
window_indicies_start+=len(indicies)
# Extend as we'll be slicing window like [start, end)window_indicies=np.append(
window_indicies, [window_indicies[-1] +1]
).astype(np.int64)
>start_arrays.append(window_indicies.take(start))
ETypeError: Cannotcastarraydatafromdtype('int64') todtype('int32') accordingtotherule'safe'test_venv\lib\site-packages\pandas\core\window\indexers.py:318: TypeError
cc @mroeschke if you know where to look / who to ping. I haven't looked yet.
The text was updated successfully, but these errors were encountered:
https://dev.azure.com/pandas-dev/pandas-wheels/_build/results?buildId=38672&view=logs&j=c0130b29-789d-5a3c-6978-10796a508a7f&t=e120bc6c-1f5e-5a41-8f0a-1d992cd2fbfb&l=1286
cc @mroeschke if you know where to look / who to ping. I haven't looked yet.
The text was updated successfully, but these errors were encountered: