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

What is raw_input?

773


Where do you use python programming? Can you describe in detail?

783


Explain me five benefits of using python?

833


How is python better than c?

795


How do I run notepad ++ in python?

893


Who created python?

772


What are the differences between the threading and multiprocessing in python?

890


How do you sort in python 3?

773


How do you achieve web scraping in python?

868


Explain python functions?

765


Does python have encapsulation?

782


Which python library would you prefer to use for data munging?

782


How are the functions help() and dir() different?

873


What is meant by attribute error in python?

862


What is a docstring?

828