[Numpy-discussion] Which rule makes x[np.newaxis,:] and x[np.newaxis] equivalent?

Joe solarjoe at posteo.org
Tue Dec 12 03:02:16 EST 2017


Hi,

question says it all. I looked through the basic and advanced indexing,
but I could not find the rule that is applied to make
x[np.newaxis,:] and x[np.newaxis] the same.

Kind regards,
Joe



More information about the NumPy-Discussion mailing list