I have data like this:
0,tcp,http,SF,181,5450,0.11,0.00,0.00,0.00,,normal.
0,tcp,http,SF,239,486,0.05,0.00,0.00,0.00,normal.
0,tcp,http,SF,235,1337,0.03,0.00,0.00,0.00,normal.
0,tcp,http,SF,219,1337,0.03,0.00,0.00,0.00,normal.
The original data was stored in txt. I used list to store them in python. But the format is string. Then I want to change some columns of string into int like this:
'181' to 181
Could anyone can help me? Thank you!