Answer Posted / nashiinformaticssolutions
You can use `numpy.genfromtxt()` or `numpy.loadtxt()` to read CSV files into a NumPy array.
```python
import numpy as np
data = np.genfromtxt('file.csv', delimiter=',')
```
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Tell me how memcached should not be used in your python project?
What is the use of metaclass in python?
How to run a Python CGI script in Wamp?
What is enumerate python?
What is the iterator protocol?
What is anonymous function or lambda function?
What do you mean by overriding methods?
Where will you use while rather than for?
Is numpy faster than pandas?
Do you know what is the key difference between a list and the tuple?
How you can convert a number to a string?
How python does compile-time and run-time code checking?
What is hierarchical inheritance?
What companies use python?
Why is not all memory freed when Python exits?