Create a numpy array with all rows identical

后端 未结 0 1334
执念已碎
执念已碎 2021-01-19 23:24

Given a vector v, I would like to create a 2D numpy array with all rows equal to v. What is the best way to do this? There must be a faster way to

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