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

How to write a functioning volume for python?

0 Answers  


Executing dml commands through python programs?

0 Answers  


In Python what is slicing?

0 Answers  


Explain whats flask?

0 Answers  


What is the difference between range and xrange in python?

0 Answers  


What are the local and global variables in python?

0 Answers  


What is enumerate() explain its uses?

0 Answers  


What does the map() function do?

0 Answers  


If given the first and last names of bunch of employees how would you store it and what datatype?

0 Answers  


What is iterable python?

0 Answers  


How install pip python ubuntu?

0 Answers  


What does none mean in python?

0 Answers  


Categories