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

What are built in types in python?

953


Explain about dir() and help() function will do in python?

906


Explain about the dictionary function in python?

845


How can you profile a python script?

918


Why do we use join() function in python?

936


How do I start learning python?

892


What is rdd in python?

799


What is the directory in python?

871


What is enumerate() function in python?

892


What do you understand by python generator?

964


What does stringvar.strip() does?

945


Explain accessor and mutator methods in python?

934


Define flask in python?

910


What are the types of inheritance in python?

888


Explain the Meaning of a single and double underscore before an object name?

914