Использование изменить форму
>>> Z.reshape(5,10)
array([[ 0.00000000 +0.j , 0.20408163 +0.20408163j,
0.40816327 +0.40816327j, 0.61224490 +0.6122449j ,
0.81632653 +0.81632653j, 1.02040816 +1.02040816j,
1.22448980 +1.2244898j , 1.42857143 +1.42857143j,
1.63265306 +1.63265306j, 1.83673469 +1.83673469j],
[ 2.04081633 +2.04081633j, 2.24489796 +2.24489796j,
2.44897959 +2.44897959j, 2.65306122 +2.65306122j,
2.85714286 +2.85714286j, 3.06122449 +3.06122449j,
3.26530612 +3.26530612j, 3.46938776 +3.46938776j,
3.67346939 +3.67346939j, 3.87755102 +3.87755102j],
[ 4.08163265 +4.08163265j, 4.28571429 +4.28571429j,
4.48979592 +4.48979592j, 4.69387755 +4.69387755j,
4.89795918 +4.89795918j, 5.10204082 +5.10204082j,
5.30612245 +5.30612245j, 5.51020408 +5.51020408j,
5.71428571 +5.71428571j, 5.91836735 +5.91836735j],
[ 6.12244898 +6.12244898j, 6.32653061 +6.32653061j,
6.53061224 +6.53061224j, 6.73469388 +6.73469388j,
6.93877551 +6.93877551j, 7.14285714 +7.14285714j,
7.34693878 +7.34693878j, 7.55102041 +7.55102041j,
7.75510204 +7.75510204j, 7.95918367 +7.95918367j],
[ 8.16326531 +8.16326531j, 8.36734694 +8.36734694j,
8.57142857 +8.57142857j, 8.77551020 +8.7755102j ,
8.97959184 +8.97959184j, 9.18367347 +9.18367347j,
9.38775510 +9.3877551j , 9.59183673 +9.59183673j,
9.79591837 +9.79591837j, 10.00000000+10.j ]])