Error: improvement of not enough values to unpack (expected 2, got 1)

Not enough values to unpack (expected 2, got 1


where the code was originally of type array

so fenzi_test is substituted here as an array

so m,n is wrong
Showed by an example, the

you can see that the shape of array and matrix lose unless the result is not the same m, n = np. Shape (data)
so, change the type

Read More: