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 does ** (double star/asterisk) and * (star/asterisk) do for parameters?
List down some of the pdb commands for debugging python programs?
How do we execute python?
Which website is best for learning python?
What is python enumerate?
What is shell scripting in python?
Explain the ternary operator in python?
Are tuples mutable?
How would you implement inheritance in python?
What are the local and global variables in python?
How to generate all permutations of a list in python?
Describe about the libraries of python?
What is a model in python?
How do you sort a dataframe in descending order?
Explain how can you access a module written in python from c?