Posted on:

16 Nov 2023

0

Exercise lending-co-LT.csv results in nan values

Hi, when doing the exercise and using np.loadtxt or np.genfromtxt I receive nan values for all colums except the first and last one. In sublime text the csv file does not show any missing values (e.g., "7,id_7,Product A,Male,Location 11,Region 3,20250.0"). When reading in the file I only recieve the 7 and the 20250.

Any suggestions on that? 

0 answers ( 0 marked as helpful)

Submit an answer