Closed
Description
numpy.stack
stacks a sequence of arrays along a new axis.
hstack
, vstack
, on the other hand, actually perform a concatenate
: they stacks arrays along an existing axis.
The name stack
seems counterintuitive and confusing. I understand that for backward compatibility it should not be altered, but perhaps the difference can be emphasized in the documentation?
Metadata
Metadata
Assignees
Labels
No labels