How to store a file line by line into numpy.ndarray (Python)

后端 未结 0 1740
小蘑菇
小蘑菇 2021-02-05 17:25

I have to import a file, which for example contains 3 rows of numbers:

1 2 3 4
1 2 3
1 2 3 4 5 6

How can I store them into a numpy.ndarray

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