Remove dtype at the end of numpy array,"data = np.array(data, dtype='float')"