| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |\
| |
| | |
DOC: add vstack, hstack, dstack reference to stack documentation.
|
| | | |
|
| | | |
|
| |\ \
| | |
| | | |
MAINT: Removed supurious assert in histogram estimators
|
| | |/ |
|
| |/ |
|
| |
|
|
|
|
|
|
|
|
|
| |
When you run 'python -V' under Anaconda, it
returns for example, 'Python 3.4.3 :: Continuum
Analytics, Inc.' However, the original parsing
of the version in 'test_f2py' assumed there was
nothing following the version number, causing a
ValueError because you can't assign three
variables to four components that you get from
splitting on the '.'
|
| |
|
|
| |
Specifically the 'Logarithmic distribution' link is fixed.
For others the links or article names are updated.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\
| |
| | |
BUG: Fixed 'midpoint' interpolation of np.percentile in odd cases.
|
| | |
| |
| |
| |
| | |
'midpoint' must return the same as 'higher' and 'lower' when the two
are the same, not 'lower' + 0.5 as it was doing.
|
| |\ \
| | |
| | | |
BUG: Fixed regressions in np.piecewise in ref to #5737 and #5729.
|
| | | | |
|
| | | |
| | |
| | |
| | | |
Added unit tests for these conditions.
|
| |\ \ \
| | | |
| | | | |
Reascertain that linspace respects ndarray subclasses in start, stop.
|
| | | | | |
|
| |\ \ \ \
| | | | |
| | | | | |
BUG: Fixed mingw.lib error
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Closes gh-647.
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
BUG: mode kwargs passed as unicode to np.pad raises an exception
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
isinstance(mode, str) is False in python2.7 when mode is of unicode
type, and mode is then mistakenly assumed to be a callable. See #7112
|
| |\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Temporarily disable __numpy_ufunc__
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Given that we accidentally released 1.11b2 with `__numpy_ufunc__` still
enabled, we should probably just disable it in master for now.
When ready to re-enable, grep for NUMPY_UFUNC_DISABLED. Or just revert
this commit.
|
| | | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | | |
There are two identical copies of test_dot_override in
test_multiarray.py. This seems surplus to requirements.
|
| |\ \ \ \ \
| |/ / / /
|/| | | | |
TST: Add missing suffix to temppath manager
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Without the suffix, np.save creates a new file and the file
does not get cleaned up.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
It was committed mistakenly in #7134. `callfortran` is used a lot really.
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
DOC: Updated documentation wording and examples for np.percentile.
|
| | | | | | | |
|
| | | |_|_|/
| |/| | |
| | | | |
| | | | | |
Examples had some factual errors. Wording updated in a couple of places.
|
| |\ \ \ \ \
| |_|/ / /
|/| | | | |
MAINT: Removed conditionals that are always false in datetime_strings.c
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Unpickled void scalars must be both aligned and writeable.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Void scalars are both C- and Fortran-contiguous, so pickling and
unpickling them should result in a new void scalar that also has
these flags set. Fixes #7140.
|
| |\ \ \ \ \
| |_|_|_|/
|/| | | | |
DOC: Clarify behavior in np.random.uniform
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Although the arguments are specified as 'high'
and 'low', it is possible to pass in values for
'low' and 'high' where 'low' >= 'high' and still
obtain well-defined behavior. The documentation
has been expanded to reflect this fact, with a
note to discourage passing in arguments satisfying
'low' > 'high'.
|
| | | | | | |
|
| | |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | | |
Warn in numpy/distutils/command/egg_info.py if using setuptools.sdist.
See gh-7127 for details.
|
| | |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The 'sys.executable' can come in various names, but
the three main ones are "python", "python{major_version}",
and "python{major_version.minor_version}". The current
version of the f2py test assumes that only the latter
two are used. Since "f2py" is generally versioned,
using the executable basename "python" will make it
impossible to find. This commit fixes that issue
by using a sure-fire way of getting the Python version.
|
| |/ /
| |
| |
| |
| |
| |
| |
| | |
Fixed test_scripts.test_f2py test so that
it can pass correctly on win32 virtualenvs,
in which the Python executable and the
f2py.py file are both in the Scripts
directory.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes bug in np.random methods that would return scalars
when passed one-element array inputs. This is because
one-element ndarrays can be cast to integers / floats, which
is what functions like PyFloat_AsDouble do before converting
to the intended data type.
This commit changes the check used to determine whether the
inputs are purely scalar by converting all inputs to arrays
and checking if the resulting shape is an empty tuple (scalar)
or not (array).
Closes gh-4263.
|
| | |
| |
| |
| |
| |
| |
| | |
Clarified the output size depending on whether
scalar or non-scalar inputs are passed to
functions in mtrand.pyx that can broadcast
their arguments.
|
| |/
|
|
|
|
| |
Added a whole new suite of tests to ensure that
functions in mtrand.pyx which are broadcastable
actually broadcast their arguments properly.
|
| |
|
|
| |
computations are done with floating point numbers.
|
| | |
|
| | |
|
| |
|
|
| |
Otherwise, weird integer roundoff errors give faulty results in some cases.
|