Value Error in Re-importing the Dataset section
loan_data_numeric = np.genfromtxt("C:/Users/Nariman/Desktop/NumPy/Practical exam/Loan Dataset/loan-data.csv",
autostrip = True,
usecols = columns_numeric,
filling_values = temporary_mean,
delimiter = ";")
loan_data_numeric
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (10001, 6) + inhomogeneous part.
What I did wrong?
0 answers ( 0 marked as helpful)