I have the string :
'0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,73-100,100-51,51,51,51-100,100-52,52,52,52,52,52,52,52,52-100,100-71,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0'
I basically want to feed a dataframe with a columns of strings like above to a 1D CNN for binary classification so I need to convert them to numpy arrays before training a model.
how can I convert these strings to a numpy array and save its features considering the character "-"
between some numbers?