I load the dataset to my program like ___.csv.
there are column's element of 3,123
, 22,458
, 5,237
string-type number,
I trying to convert them into float64
type using astype(np.float64)
, but it says we can't convert str
type into float64
type, for example:
could not convert string to float: '234,262,829'
can anyone tell me how to solve it? thanks!!