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
{{ message }}
Add a strict option to itertools.batched() #113202
This is modeled on the
strictoption forzip().One use case is improving the
reshape()recipe. In numpy, a reshape will raise an exception if the new dimensions do not exactly fit the data.Linked PRs