summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #13298 from navneet-nmk/diff-errorEric Wieser2019-05-021-0/+2
|\ | | | | ENH: Added clearer exception for np.diff on 0-dimensional ndarray
| * ENH: add clearer error message for diff(0-d)ayir2019-04-261-0/+2
| |
* | ENH: Add support for Fraction to percentile and quantileEric Wieser2019-04-231-2/+3
| | | | | | | | With true division available, using `.0` to convert integers to floats offers no value, and harms compatibility with precise rational types.
* | DOC: Specify range for numpy.anglekritisingh12019-04-211-2/+2
| |
* | DOC: fix doc build warnings in a cleaner way.Ralf Gommers2019-04-151-6/+12
| | | | | | | | Addresses review comment by @eric-wieser.
* | DOC: fix 4 remaining doc build warnings.Ralf Gommers2019-04-141-31/+31
|/ | | | 2 for polyfit rankwarning, 2 for divide by zero in log10.
* DEV: cleanup imports and some assignments (from LGTM)mattip2019-03-171-1/+0
|
* DOC: revert #13058 and fix Makefilemattip2019-03-011-3/+3
|
* DOC: Update interp docstringeuronion2019-02-281-3/+3
| | | | Adding 'strictly' to make the conditions to be met by the `xp` argument even more clear. Following the suggestion in https://github.com/numpy/numpy/issues/10448#issuecomment-468302058 .
* DOC: Update docstring of diff() to use 'i' not 'n'Andy Scholand2019-01-151-1/+1
| | | See issue https://github.com/numpy/numpy/issues/12742
* ENH: remove "Invalid value" warnings from median, percentilemattip2019-01-061-2/+0
|
* DOC, TST: clean up matplotlib importsTyler Reddy2019-01-021-7/+0
| | | | | | * as requested by review in gh-12634, the vast majority of docstring matplotlib imports can be simplified to a single line
* DOC, TST: remove agg setting from docsTyler Reddy2019-01-021-4/+0
| | | | | | | * there is no longer any usage of "agg" backend switching in our docstrings because this backend is already activated in the refguide_check machinery
* Refactored numpy.delete function docsAbdur Rehman2018-12-211-1/+1
|
* MAINT: address several reviewer commentsTyler Reddy2018-12-141-4/+4
|
* TST, DOC: enable refguide_checkTyler Reddy2018-12-141-152/+170
| | | | | | | | * ported the refguide_check module from SciPy for usage in NumPy docstring execution/ verification; added the refguide_check run to Azure Mac OS CI * adjusted NumPy docstrings such that refguide_check passes
* DEP: remove deprecated numpy.lib.function_base.uniquemattip2018-11-151-19/+0
|
* ENH: set correct __module__ for objects in numpy's public APIStephan Hoyer2018-11-131-0/+9
| | | | | | | | | | | | | Fixes GH-12271 Tests verify that everything in ``dir(numpy)`` either has ``__module__`` set to ``'numpy'``, or appears in an explicit whitelist of undocumented functions and exported bulitins. These should eventually be documented or removed. I also identified a handful of functions for which I had accidentally not setup dispatch for with ``__array_function__`` before, because they were listed under "ndarray methods" in ``_add_newdocs.py``. I guess that should be a lesson in trusting code comments :).
* MAINT: set preferred __module__ for numpy functionsStephan Hoyer2018-10-231-1/+7
|
* ENH: __array_function__ for np.lib, part 1Stephan Hoyer2018-10-081-0/+159
| | | | np.lib.arraypad through np.lib.nanfunctions
* MAINT: remove unused importsEmil Hessman2018-09-291-8/+6
|
* ENH add prepend and append kwargs to diffMatt Harrigan2018-09-251-1/+29
|
* DOC: fix typo in vectorize docstringMatthew Brett2018-08-131-2/+2
| | | | "an single" typo pointed out by keithbriggs - see gh-11730.
* Merge pull request #11436 from uds5501/document-average-return-typeMatti Picus2018-08-121-6/+19
|\ | | | | DOC: Document average return type
| * Update function_base.pyUddeshya Singh2018-08-121-4/+4
| |
| * Update function_base.pyUddeshya Singh2018-07-131-4/+5
| | | | | | | | * fixed grammatical mistakes * added a space before Example
| * Update function_base.pyUddeshya Singh2018-07-091-5/+10
| | | | | | | | * further elaborated the return variable types * fixed the space error
| * Fixing basic build errorsUddeshya Singh2018-07-011-2/+2
| |
| * DOC: update return type description for averageUddeshya Singh2018-06-281-6/+13
| |
* | Merge pull request #11637 from eric-wieser/simplify-angleCharles Harris2018-07-311-8/+11
|\ \ | | | | | | ENH: np.angle: Remove unnecessary multiplication, and allow subclasses to pass through
| * | DOC: Add versionchanged about subclassesEric Wieser2018-07-311-0/+3
| | |
| * | ENH: np.angle: Preserve subclassesEric Wieser2018-07-301-1/+1
| | |
| * | STY: Remove C-like parenthesesEric Wieser2018-07-301-1/+1
| | |
| * | MAINT: np.angle: Fix type of default argument to match docsEric Wieser2018-07-301-1/+1
| | |
| * | MAINT: np.angle: Remove unnecessary multiplicationEric Wieser2018-07-301-5/+5
| | |
* | | DOC: Import maplotlib to show contourf in docs.Heath Henley2018-07-271-0/+1
| | |
* | | DOC: Show plot in meshgrid example.Heath Henley2018-07-271-0/+1
|/ /
* | BUG: Don't convert inputs to `np.float64` in digitizeEric Wieser2018-07-061-1/+111
| | | | | | | | | | | | | | | | This converts digitize to a pure-python function that falls back on searchsorted. Performance doesn't really matter here anyway - if you care about performance, then you should just call searchsorted directly, rather than checking the order of the bins. Partially fixes gh-11022
* | MAINT: Move add_newdocs into core, since it only adds docs to those piecesEric Wieser2018-07-021-35/+1
|/
* Merge pull request #11347 from mattip/less-sphinx-warningsRalf Gommers2018-06-271-8/+9
|\ | | | | DOC: Silence many sphinx warnings
| * fixes from reviewmattip2018-06-241-8/+8
| |
| * DOC: typos, small fixesmattip2018-06-151-1/+2
| |
* | HTTP -> HTTPS, and other linkrot fixesMike Toews2018-06-161-9/+9
|/
* DOC: make docstring of np.interp clearer (#11280)Jörg Döpfert2018-06-081-2/+2
| | | | | | | | | | * update docstring of interp() * change "calculate" to "evaluate" to be consistent * remove "values" * make "data points" consistent
* DOC: Fix doctest formatting in `rot90()` examplesMiguel Sánchez de León Peque2018-06-011-3/+2
|
* DOC: Make doc examples using StringIO python2-3 compatibleAndras Deak2018-04-271-2/+2
|
* Merge pull request #10199 from chunweiyuan/quantileStephan Hoyer2018-04-231-2/+108
|\ | | | | ENH: Quantile
| * ENH: Adding np.quantile() and np.nanquantile(). #10199Chun-Wei Yuan2018-04-161-2/+108
| |
* | Merge pull request #10921 from mattip/percentile-graphCharles Harris2018-04-201-13/+16
|\ \ | | | | | | DOC: clear up warnings, fix matplotlib plot
| * | DOC: clear up warnings, fix matplotlib plotmattip2018-04-171-13/+16
| |/