From 6555b07103fd9cf7b9d4ad62df46f398dce06dc7 Mon Sep 17 00:00:00 2001 From: Aaron Meurer Date: Mon, 25 Mar 2024 00:43:53 -0600 Subject: [PATCH] Remove login-walled article on stride tricks I'm not sure if there's a similar resource out there, but it's not actually that important (if it were, I would just write it myself). --- docs/indexing-guide/other-topics.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/docs/indexing-guide/other-topics.md b/docs/indexing-guide/other-topics.md index 81460179..957e6cea 100644 --- a/docs/indexing-guide/other-topics.md +++ b/docs/indexing-guide/other-topics.md @@ -489,12 +489,9 @@ indexing, `reshape`, `broadcast_to`, and `transpose`, but it's possible to use strides to represent some things which are not so easy to do with just these functions, for example, [sliding windows](https://numpy.org/doc/stable/reference/generated/numpy.lib.stride_tricks.sliding_window_view.html) -and [convolutions](https://stackoverflow.com/a/43087507/161801). [This medium -article by Raimi -Karim](https://towardsdatascience.com/advanced-numpy-master-stride-tricks-with-25-illustrated-exercises-923a9393ab20) -demonstrates many examples of the sorts of things you can do with stride -tricks. However, if you do use stride tricks, be careful of the caveats (see -the [notes section of the `as_strided` +and [convolutions](https://stackoverflow.com/a/43087507/161801). However, if +you do use stride tricks, be careful of the caveats (see the [notes section of +the `as_strided` docs](https://numpy.org/doc/stable/reference/generated/numpy.lib.stride_tricks.as_strided.html)). (c-vs-fortran-ordering)=