| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
* Drop testing of Python 2.6, 3.2, and 3.3
* Create 1.12.0-notes.rst and add to source/documentation.
* Update pavement.py to use 1.10.x as LOG_START
* Update version numpy in setup.py
|
|\
| |
| | |
API: Make datetime64 timezone naive
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes GH3290
With apologies to mwiebe, this rips out most of the time zone parsing from
the datetime64 type.
I think we mostly sorted out the API design in discussions last year, but
I'll be posting this to the mailing list shortly to get feedback.
Old behavior:
# string parsing and printing defaults to your local timezone :(
>>> np.datetime64('2000-01-01T00')
numpy.datetime64('2000-01-01T00:00-0800','h')
New behavior:
# datetime64 is parsed and printed as timezone naive
>>> np.datetime64('2000-01-01T00')
numpy.datetime64('2000-01-01T00','h')
# you can still supply a timezone, but you get a deprecation warning
>>> np.datetime64('2000-01-01T00Z')
DeprecationWarning: parsing timezone aware datetimes is deprecated; this
will raise an error in the future
numpy.datetime64('2000-01-01T00','h')
|
| |
| |
| |
| | |
Address comments of @charris on gh-6895.
|
| | |
|
| | |
|
| | |
|
|/
|
|
| |
Also remove all mentions of setupegg.py from the documentation.
|
|
|
|
| |
Fixes gh-7010
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes GH2039
This function provides a much more intuitive interface than `np.rollaxis`,
which has a confusing behavior with the position of the `start` argument:
http://stackoverflow.com/questions/29891583/reason-why-numpy-rollaxis-is-so-confusing
It was independently suggested several times over the years after discussions
on the mailing list and GitHub (GH2039), but never made it into a pull request:
https://mail.scipy.org/pipermail/numpy-discussion/2010-September/052882.html
My version adds support for a sequence of axis arguments. I find this behavior
to be very useful. It is often more intuitive than supplying a list of
arguments to `transpose` and also nicely generalizes NumPy's existing axis
manipulation routines, e.g.,
def transpose(a, order=None):
if order is None:
order = reversed(range(a.ndim))
return moveaxes(a, order, range(a.ndim))
def swapaxes(a, axis1, axis2):
return moveaxes(a, [axis1, axis2], [axis2, axis1])
def rollaxis(a, axis, start=0):
if axis < start:
start -= 1
return moveaxes(a, axis, start)
|
| |
|
|
|
|
| |
[ci skip]
|
|
|
|
| |
[ci skip]
|
|
|
| |
This looks more conventionnal
|
|\
| |
| | |
DOC: fix method signatures in "array subclasses"
|
| |
| |
| |
| |
| |
| | |
* Change ".. function::" -> ".. method::"
* Remove "self" argument
* Change "self" to "obj" in __array_finalize__
|
| | |
|
|/
|
|
|
|
|
| |
We used to use ``rank`` to mean the number of axes in an array, but no
more. Change these uses of rank to refer to dimensions.
Closes gh-6839
|
|\
| |
| | |
[doc] Fix title of governance section in docs
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
I've seen at least three occurrences (a couple on stackoverflow, and one
private email) of someone using the argument 'order=15' in a call to the
'set_integrator' method of 'scipy.integrate.ode'. Presumably this is
because of the suggestion in the "NumPy for Matlab Users" guide to
replace 'ode15s' with 'scipy.integrate.ode(f).set_integrator('vode',
method='bdf', order=15)'. The stiff solver in 'vode'--presumably the
solver of interest for someone using 'ode15s'--has a maximum order of 5,
and the non-stiff solver has maximum order of 12. (The maximum order of
'ode15s' is also 5; the '15' in the name refers to the variable order
ranging from 1 to 5.)
|
|/
|
|
| |
[ci skip]
|
|
|
|
|
|
|
| |
Might be useful to someone.
Excised too opinionated parts and replaced most links to specific
software with the topical software page links.
|
|
|
|
|
|
|
|
| |
The user guide was missing a quick tutorial --- the basics.* stuff is
somewhat too complex already.
The "building numpy" instructions also should not be "introductory
material".
|
|
|
|
|
| |
Neither are useful, and will discourage both reading and editing of the
material.
|
| |
|
| |
|
|\
| |
| | |
DOC: Fixed a typo at line 289 at c-api.array.rst
|
| |
| |
| |
| | |
Fixes #6521
|
|\ \
| |/
|/| |
DOC: fixed typo in arrays.classes.rst
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Lack of this feature resulted in the generation of incorrect *.pyf
files.
For example, the pyf file created by:
subroutine sub3 (some arguments)
real a, b, c, d
common /coeff/ a, b
common /coeff/ c, d
<do stuff>
return
end
Should contain both common statements the declaration of all four
variables a, b, c, and d.
Closes #5876.
|
| |
| |
| |
| | |
[ci skip]
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
We want to allow other projects to steal from us, like we stole from
Jupyter/IPython :-). This relicensing / public domain dedication is
possible because all text here is either by me (and thus copyright me)
or else taken from the Jupyter/IPython document, and their document is
also under CC-0 as per https://github.com/jupyter/governance/pull/9
|
|/ |
|
|\
| |
| | |
DOC: Update gh-6310: Update docs for numpy.genfromtxt.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Note that a list of strings can be passed as the first parameter.
The strings are treated as the lines in a file.
Closes #6247
|
|\ \
| | |
| | | |
DEV: Governance document (draft)
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Original text seemed to imply that we would always ask the potential new
Council Member whether they were interested *before* we actually decided
whether to offer them a spot, which could create a sticky situation if
someone ever got voted down.
Rephrase to make clear that things do not have to occur in this order.
|
| | |
| | |
| | |
| | | |
In preparation for merging.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Now that this seems to be settled, we don't need this cluttering up the
main text. (For the record: the rule listed here is what we actually
used.)
|