df[\'Runs\']= df[\'Runs\'].apply(lambda x: x[0] if x[-1]=="*" else x)
It shows \'int\' object is not subscriptable error in Python.
I am trying to de