TYP/DOC: release notes for the main numpy namespace shape-typing improvements - #32835
Merged
Merged
Conversation
Member
|
Thanks Joren. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Relevant PRs (93):
np.arrayshape-typing #32081{zeros,ones,empty,full}_likeimproved shape-typing #32196copyimproved shape-typing #32202clipimproved shape-typing and dtype propagation #32204iscloseshape-typing fix for 2d array-likes #32205concatenateshape-typing #32207np.uniqueshape-typing #32215hstackandvstackshape-typing #32238argsortimproved shape-typing #32240np.[a]roundimproved shape-typing #32241np.arrayimproved shape-typing #32246broadcast_toshape-typing #32247stackshape-typing #32248tileshape-typing #32249searchsortedshape-typing #32250isinshape-typing #32262np.asarrayimproved shape-typing #32263np.column_stackshape-typing #32267np.sortimproved shape-typing #32268transposeandmatrix_transposeimproved shape-typing #32271mean,sumandprodimproved shape-typing #32330anyandallimproved shape-typing #32333argminandargmaximproved shape-typing #32343aminandamaximproved shape-typing #32344varandstdimproved shape-typing #32345expand_dimsimproved shape-typing #32362tensordotshape-typing #32420whereimproved shape-typing #32437takeshape-typing #32543traceshape-typing #32546medianshape-typing #32556percentileandquantileshape-typing #32560as{contiguous, fortran}arrayshape-typing #32569asanyarrayshape-typing #32571squeezeshape-typing whenaxisis given #32572count_nonzeroshape-typing #32574padimproved shape-typing andmode-dependend kwargs #32576loadtxtshape-typing #32578realandimagimproved shape-typing #32579swapaxesimproved shape-typing #32581nan_to_numimproved shape-typing #32586einsumshape-typing #32588averageimproved shape-typing #32608atleast_{1,2,3}dimproved shape-typing #32610unravel_indexshape-typing #32611broadcast_arraysimproved shape-typing #32612tri{l,u}improved shape-typing #32614crossshape-typing #32615polyfitshape-typing #32616lexsortshape-typing #32617polyvalshape-typing and more precise dtypes #32619is{pos,neg}infimproved shape-typing #32621ptpimproved shape-typing #32624dstackshape-typing #32625kronimproved shape-typing #32626genfromtxtshape-typing and improved dtypes #32627diagonalimproved shape-typing #32628ravel_multi_indeximproved shape-typing #32629chooseshape-typing #32630compressshape-typing #32631take_along_axisshape-typing #32632requireimproved shape-typing #32633partitionimproved shape-typing and dtypes #32635is{real,complex}improved shape-typing #32637broadcast_shapesshape-typing #32638asarray_chkfiniteimproved shape-typing #32639datetime_as_stringimproved shape-typing #32647trim_zerosshape-typing #32652from_dlpackshape-typing #32653polydivshape-typing and improved dtypes #32654polymulshape-typing and improved dtypes #32655sort_compleximproved shape-typing #32656real_if_closeimproved shape-typing #32657histogramddshape-typing #32674rootsshape-typing and improved dtypes #32675apply_along_axisshape-typing and improved dtypes #32676blockshape-typing and improved dtypes #32677polyshape-typing and improved dtypes #32678poly{der,int}shape-typing and improved dtypes #32681busdayfunctions shape-typing #32683poly{add,sub}shape-typing and improved dtypes #32684trapezoidshape-typing #32685fromfunctionshape-typing #32686unique_{all,inverse}improved shape-typing #32727unstackshape-typing #32728apply_over_axesshape-typing #32729minmaxshape-typing and improved dtypes #32730top_kshape-typing and improved dtypes #32731r_/c_shape-typing and improved dtypes #32734{m,o}gridshape-typing and improved dtypes #32739vectorizeshape-typing #32743poly1dshape-typing #32750frompyfuncshape-typing and more accurate dtypes #32753I also took the liberty of adding a highlight for shape-typing in general. It says "almost all" because
numpy.maisn't (fully) shape-typed, and I'm not planning on doing that either (not right now, at least).AI wrote some, I wrote some.