[Numpy-discussion] Suggestion: Add the unsqueeze function to numpy

Yannick Copin yannick.copin at laposte.net
Wed Apr 20 13:24:25 EDT 2011


 <josef.pktd <at> gmail.com> writes:
> I also proposed this already once.
> 
> However there is already function in numpy  (where I have often
> problems remembering the name):
> 
> numpy.expand_dims(a, axis)

Ah, thanks for the tip, I didn't know this one. The name is unfortunate indeed...

Cheers,

Yannick






More information about the NumPy-Discussion mailing list