I'm trying to import some values from a csv-file to a numpy array in python. So far I've read the CSV-file with pandas but I can't succeed with creating a numpy array with the values from the csv columns.
Asked
Active
Viewed 185 times
1 Answers
0
Just found the answer. Just had to use DataFrame.values

Thomas
- 1
- 1
-
`.values` not `.values()`.. It's a property that returns an array, not a method. – hpaulj Mar 18 '19 at 00:21