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
Explain how python does compile-time and run-time code checking?
What is map?
What is egg and wheel in python?
What are literals in python?
Is there any equivalent to scanf() or sscanf()?
Can a constructor be static?
Will python support object oriented?
How do you insert a line break in python?
What is @property in python?
Which is faster c++ or python?
Does python 3.7 come with pip?
What is numpy shape?
Which is better Python or ruby?
What is the use of ‘self’ keyword in python?
How do you create a database in python?