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
Is python interpreted or compiled?
Is python good for microservices?
What is itemgetter in python?
Which is best python or r?
Does python have a string ‘contains’ substring method?
How do you make hello world in python?
Write a sample program in enumerate()function in python?
What made you to choose python as a programming language?
Write one line of code to get a list of names that start with character ‘j’?
What is zip () in python?
What is the use of dictionary in python?
What is s in python 3?
What is an elif in python?
How do you sort a list of numbers in python?
In Python what is slicing?