Answer Posted / glibwaresoftsolutions
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
What are built in types in python?
Explain about dir() and help() function will do in python?
Explain about the dictionary function in python?
How can you profile a python script?
Why do we use join() function in python?
How do I start learning python?
What is rdd in python?
What is the directory in python?
What is enumerate() function in python?
What do you understand by python generator?
What does stringvar.strip() does?
Explain accessor and mutator methods in python?
Define flask in python?
What are the types of inheritance in python?
Explain the Meaning of a single and double underscore before an object name?