1.

How will you read CSV data into an array in NumPy?

Answer»

This can be ACHIEVED by USING the genfromtxt() method by SETTING the delimiter as a comma.

from NUMPY import genfromtxtcsv_data = genfromtxt('sample_file.csv', delimiter=',')


Discussion

No Comment Found