I have this column in my dataframe which has numbers in a string like "6,22,67,82" for example. I want to split this strings into arrays of integers and keep the arrays in the dataframe.
h['htgt']=h['htgt'].split()
This does not work because it tries to split the whole series.