Blog129.2K views2,879 votes0 replies3,431 following
Rolling windows without copying data using NumPy sliding_window_view
Use NumPy 1.20+ sliding_window_view to compute rolling means and time-series windows without duplicating array memory.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Use NumPy 1.20+ sliding_window_view to compute rolling means and time-series windows without duplicating array memory.