adding random values in a specific column in a multidimensional-array

前端 未结 0 1560
攒了一身酷
攒了一身酷 2021-01-21 16:02

i need to add random values in a large mxn matrix, only in the first column. has somebody an idea how it works?

import numpy as np

f = lambda m, n:n+np.random.ra         


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