Skip to content

Glossary: Linear Algebra for ML

Reshape

Also written: .reshape()

An array method that rearranges the same numbers into a new shape; `-1` means "work this size out". `.reshape(-1, 1)` makes a column vector.

Where the book teaches it

Related terms

ShapeColumn vector