Documentation
API docs
Other
Version
Determines whether an array is a square matrix. This means that ndim must be 2 and shape[0] must be equal to shape[1].
arr (object) – The array to check.
is_square_matrix – Whether the array is a square matrix.
bool