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

Does python have static classes?

0 Answers  


How to terminate a python subprocess launched with shell=true?

0 Answers  


What is the method does join() in python belong?

0 Answers  


Can python handle big data?

0 Answers  


Why python is fast?

0 Answers  


Tell me what is the difference between xrange and range?

0 Answers  


What does the meaning of slicing in python?

0 Answers  


What are tuples in python?

0 Answers  


How can you access the latest five entries of a DataFrame?

2 Answers  


What is a raw string in python?

0 Answers  


How many types of operators python has?

0 Answers  


What super does in python?

0 Answers  


Categories