ValueError: could not broadcast input array from shape (1024,1) into shape (1024,)?

后端 未结 0 754
故里飘歌
故里飘歌 2021-02-09 21:12

How to replace the first column with a column array?

nz = 10
FWHM = 25
nt = 2 ** 10
dt = FWHM / nt
t = (np.array(range(1, nt + 1)).reshape(nt, 1) - (nt + 1) / 2)          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题