diff options
author | Mark Wiebe <mwiebe@enthought.com> | 2011-07-19 15:38:56 -0500 |
---|---|---|
committer | Mark Wiebe <mwiebe@enthought.com> | 2011-07-19 15:38:56 -0500 |
commit | 7e1c4b0f3fb1778ee77c92cacea1a8609f3cacf8 (patch) | |
tree | f4e59ac13eb8589a671334ecd3cf5d5c7623cfa4 /doc | |
parent | bd77886d6ebab0939e1515b899fa0e0a174268b6 (diff) | |
download | numpy-7e1c4b0f3fb1778ee77c92cacea1a8609f3cacf8.tar.gz |
DOC: datetime: Update the docs to reflect busday_count change
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/reference/arrays.datetime.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/source/reference/arrays.datetime.rst b/doc/source/reference/arrays.datetime.rst index 541f97884..d0f037bcb 100644 --- a/doc/source/reference/arrays.datetime.rst +++ b/doc/source/reference/arrays.datetime.rst @@ -317,8 +317,7 @@ dates, use :func:`busday_count`: >>> np.busday_count(np.datetime64('2011-07-11'), np.datetime64('2011-07-18')) 5 >>> np.busday_count(np.datetime64('2011-07-18'), np.datetime64('2011-07-11')) - 0 - # note: In future this will likely return -5, not 0 + -5 If you have an array of datetime64 day values, and you want a count of how many of them are valid dates, you can do this: |