| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This contains various RST reformatting.
One, moving `(C)` one line up, is specific to a bug in tree-sitter-rst
that mis parses this section. Another is adding one black line for a
similar reason where `..` is seen as section underline by
tree-sitter-rst.
This is some shuffling of section underline: try to be consitant,
`=`, then `-`, then `~`, with this refactor there is also no more
section that use backticks as underline.
Note in particular that non-consitency of underline lead to a problem in
datetime64 section where "weekmasks" (underlined with `-`) were actually
a level-4 heading instead of a level 2 or 3 I guess, and thus were
nested under the `busday_count()` section.
You'll note also 2 formulas that are under double-quotes as they are not
references.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Explicity state datetime64 semantics:
- adoption of proleptic Gregorian Calendar
- Astronomical year numbering
- 86400 s constant length of day.
Add some exmples of shortcomings of the above semnatics with ref. to
UTC timescale (missing leap seconds) and UT timescale (variable
legth of day).
Closes GH-20675
|
|
|
|
|
| |
* DOC: add example showing how to convert POSIX timestamps to datetime64
Co-authored-by: Melissa Weber Mendonça <melissawm@gmail.com>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This is motivated primarily as a proof that the datetime API is now unicode-safe, and generally seems harmless.
|
|
|
| |
Co-Authored-By: Eric Wieser <wieser.eric@gmail.com>
|
| |
|
| |
|
|
|
|
|
|
| |
Remove example with timezone
Remove section on changes in NumPy 1.11
|
| |
|
|
|
|
| |
section
|
| |
|
|
|
|
|
|
| |
* added support for modulus operator
with timedelta operands; type signature
is mm->m
|
| |
|
| |
|
|
|
|
|
| |
Changed/corrected Time span - relative and absolute - for second, millisecond and microsecond.
There were slight differences and was noted duly in the issue. See #6711 (https://github.com/numpy/numpy/issues/6711)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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')
|
|
|
|
| |
Now is as good a time as any with open PR's at a low.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|