-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
Closed
Milestone
Description
Continuing from #13696.
In the spirit of
There should be one-- and preferably only one --obvious way to do it.
I think we should deprecate (either via a warning, or via using the word "deprecated" in the docstring):
np.Inf,np.infty,np.Infinity,np.PINF- these are worse ways to spellnp.inf, and the doc already recommends the latternp.NINF- this is a worse way to spell-np.infnp.NAN,np.NaN- these are worse ways to spellnp.nan, and the doc already recommends the latternp.NZERO,np.PZERO- these are weirdly capitalized compared to the other recommended constants, and are shorter as0.0and-0.0
mhvk and rgommers