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?

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


Please Help Members By Posting Answers For Below Questions

Is python interpreted or compiled?

820


Is python good for microservices?

741


What is itemgetter in python?

827


Which is best python or r?

765


Does python have a string ‘contains’ substring method?

973


How do you make hello world in python?

867


Write a sample program in enumerate()function in python?

840


What made you to choose python as a programming language?

839


Write one line of code to get a list of names that start with character ‘j’?

802


What is zip () in python?

837


What is the use of dictionary in python?

860


What is s in python 3?

785


What is an elif in python?

780


How do you sort a list of numbers in python?

776


In Python what is slicing?

862