Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


In NumPy, how will you read CSV data into an array?

Answers were Sorted based on User's Feedback



In NumPy, how will you read CSV data into an array?..

Answer / 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

In NumPy, how will you read CSV data into an array?..

Answer / 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

More Python Interview Questions

What is the use of negative indices?

0 Answers  


What is the sleeping time of giraffe?

0 Answers  


What is python keyword?

0 Answers  


How to create dynamic array in python?

0 Answers  


What is flask used for in python?

0 Answers  


Explain what is namespace in python?

0 Answers  


Why is __ init __ used in python?

0 Answers  


How do you open an already existing file and add content to it?

0 Answers  


Is compiled python faster?

0 Answers  


What is pytables?

0 Answers  


What is the scipy?

0 Answers  


Explain the //, %, and ** operators in python?

0 Answers  


Categories