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

What is anagram in python?

0 Answers  


What language is python based on?

0 Answers  


Explain pickling and unpickling.

1 Answers  


Explain global and local variables in python?

0 Answers  


What do you understand by mutable and immutable in python?

0 Answers  


Explain how to overload constructors (or methods) in Python.

1 Answers  


What are the 4 data types in python?

0 Answers  


Explain important characteristics of python objects?

0 Answers  


Explain how to redirect the output of a python script from standout(ie., A monitor) on to a file?

0 Answers  


What does the ord() function do in python?

0 Answers  


How do you override a method in python?

0 Answers  


What are the built-in types available in python?

0 Answers  


Categories