[Numpy-svn] [numpy/numpy] bd7788: ENH: datetime: make np.busday_count return negativ...

noreply at github.com noreply at github.com
Tue Jul 19 16:43:01 EDT 2011


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy

  Commit: bd77886d6ebab0939e1515b899fa0e0a174268b6
      https://github.com/numpy/numpy/commit/bd77886d6ebab0939e1515b899fa0e0a174268b6
  Author: Alok Singhal <gandalf013 at gmail.com>
  Date:   2011-07-19 (Tue, 19 Jul 2011)

  Changed paths:
    M numpy/core/src/multiarray/datetime_busday.c

  Log Message:
  -----------
  ENH: datetime: make np.busday_count return negative values when the start date is after end date


  Commit: 7e1c4b0f3fb1778ee77c92cacea1a8609f3cacf8
      https://github.com/numpy/numpy/commit/7e1c4b0f3fb1778ee77c92cacea1a8609f3cacf8
  Author: Mark Wiebe <mwiebe at enthought.com>
  Date:   2011-07-19 (Tue, 19 Jul 2011)

  Changed paths:
    M doc/source/reference/arrays.datetime.rst
  M numpy/add_newdocs.py

  Log Message:
  -----------
  DOC: datetime: Update the docs to reflect busday_count change


  Commit: 559095de6a429efe6a22e48388b23d8f73d7d5ab
      https://github.com/numpy/numpy/commit/559095de6a429efe6a22e48388b23d8f73d7d5ab
  Author: Mark Wiebe <mwiebe at enthought.com>
  Date:   2011-07-19 (Tue, 19 Jul 2011)

  Changed paths:
    M numpy/core/tests/test_datetime.py

  Log Message:
  -----------
  TST: datetime: Test that busday_count returns negative values when needed


  Commit: 6dcc6e45ac8c5e4fd0beb047364b8341a5c6b3c1
      https://github.com/numpy/numpy/commit/6dcc6e45ac8c5e4fd0beb047364b8341a5c6b3c1
  Author: Mark Wiebe <mwiebe at enthought.com>
  Date:   2011-07-19 (Tue, 19 Jul 2011)

  Changed paths:
    M doc/source/reference/arrays.datetime.rst
  M numpy/add_newdocs.py
  M numpy/core/src/multiarray/datetime_busday.c
  M numpy/core/tests/test_datetime.py

  Log Message:
  -----------
  MRG: Merge branch 'gandalf013/businessday2'

Changes busday_count to return negative values instead of clamping
to zero.


Compare: https://github.com/numpy/numpy/compare/d6c3b44...6dcc6e4



More information about the Numpy-svn mailing list