[NumPy-Tickets] [NumPy] #1180: numpy.average: add an option to skip 'None' values from count
NumPy Trac
numpy-tickets@scipy....
Fri Mar 25 16:21:16 CDT 2011
#1180: numpy.average: add an option to skip 'None' values from count
--------------------------+-------------------------------------------------
Reporter: dalloliogm | Owner: somebody
Type: enhancement | Status: closed
Priority: normal | Milestone: Unscheduled
Component: Other | Version:
Resolution: wontfix | Keywords:
--------------------------+-------------------------------------------------
Comment(by pv):
I don't see any reasons to treat `None` specially. Numpy has facilities
for treating missing values -- masked arrays and NaNs -- and there is no
reason to discuss a new approach.
I also don't think there is a reason to mention it in the documentation.
Rather than explaining how to deal with `None` in data (as in
commit:ac2c160c5b -- I'd suggest reverting it) it would be more useful to
point to the direction of masked arrays and NaNs.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1180#comment:4>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list