2 ms·
Many numpy functions have an `inplace` (or maybe there’s an underscore there?) argument that tells whether to perform the operation in place or return a new arr
by bobbylarrybobby 7y ago
Many numpy functions have an `inplace` (or maybe there’s an underscore there?) argument that tells whether to perform the operation in place or return a new array.
- newen 7y agoIt's completely arbitrarily whether a numpy function or method modifies the array or not. No way to tell except documentation or trying it out.