I want to put a string to an array location but I get an error:
ValueError: could not convert string to float
My code is the following:
k = np.ceil(99/8)
rs = np.zeros((int(k), 10))
for i in range(0, int(k)):
rs[i, 0] = "FREQ"
for j in range(1,9):
rs[i, j] = rs_imp[8*k+j, 0]