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 / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

list some of the data science libraries in python

789


What is the best ide for python?

841


Mention what is flask-wtf and what are their features?

858


Is python faster than matlab?

813


What's a negative index?

832


How useful is python?

804


which is the most commonly used package for data importing and manipulation?

856


What are the 5 tuples?

804


How we can copy an object in python?

895


When would you use a break statement in a for loop?

795


How does Python handle the memory management?

889


Please write a reg expression that confirms an email id using the python reg expression module ?

937


What are tuples in python?

873


What does len () do in python?

855


How to convert strings into integers in python?

881