diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2020-11-05 17:41:49 -0600 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2020-11-05 17:41:49 -0600 |
commit | 7235d30f3da0a64bf9198db50b19669eb93e6ec6 (patch) | |
tree | eb31918681713e45a5e7eceb9bb90b407c0fe0a6 /doc/release | |
parent | ae7f9a2cb71cccc9d49cd343e238464107397814 (diff) | |
download | numpy-7235d30f3da0a64bf9198db50b19669eb93e6ec6.tar.gz |
API: Do not import sliding_window_view to main namespace
At least for now, lets not import it to the main namespace, since there is
no agreement that this is a good idea.
Diffstat (limited to 'doc/release')
-rw-r--r-- | doc/release/upcoming_changes/17394.new_function.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/release/upcoming_changes/17394.new_function.rst b/doc/release/upcoming_changes/17394.new_function.rst index 50c9d1db3..25e1ab220 100644 --- a/doc/release/upcoming_changes/17394.new_function.rst +++ b/doc/release/upcoming_changes/17394.new_function.rst @@ -1,5 +1,6 @@ ``sliding_window_view`` provides a sliding window view for numpy arrays ----------------------------------------------------------------------- -`numpy.sliding_window_view` constructs views on numpy arrays that offer a -sliding or moving window access to the array. This allows for the simple -implementation of certain algorithms, such as running means. +`numpy.lib.stride_tricks.sliding_window_view` constructs views on numpy +arrays that offer a sliding or moving window access to the array. This allows +for the simple implementation of certain algorithms, such as running means. + |