[Numpy-svn] [numpy/numpy] 3f3d20: MAINT: let average preserve subclass information.

GitHub noreply at github.com
Sat Nov 19 13:48:55 EST 2016


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 3f3d205cd3f607caeada0dddf41e996e288a3c50
      https://github.com/numpy/numpy/commit/3f3d205cd3f607caeada0dddf41e996e288a3c50
  Author: Marten van Kerkwijk <mhvk at astro.utoronto.ca>
  Date:   2016-11-19 (Sat, 19 Nov 2016)

  Changed paths:
    M doc/release/1.13.0-notes.rst
    M numpy/lib/function_base.py
    M numpy/lib/tests/test_function_base.py

  Log Message:
  -----------
  MAINT: let average preserve subclass information.

This behaviour matches that for most other numpy functions (such as
np.mean).  It was initially slated for 1.12, but replaced by a
FutureWarning.  Hence, this is for 1.13.


  Commit: a91309771b0025c4e291501d0c00bf4178a66c38
      https://github.com/numpy/numpy/commit/a91309771b0025c4e291501d0c00bf4178a66c38
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2016-11-19 (Sat, 19 Nov 2016)

  Changed paths:
    M doc/release/1.13.0-notes.rst
    M numpy/lib/function_base.py
    M numpy/lib/tests/test_function_base.py

  Log Message:
  -----------
  Merge pull request #8290 from mhvk/average-preserve-subclasses

MAINT: let average preserve subclass information.


Compare: https://github.com/numpy/numpy/compare/ec02bdc782f1...a91309771b00


More information about the Numpy-svn mailing list