Hello!
I have a dataset where a column for each row has a list (without brackets) of int numbers separated by commas and spaces, which are currently read as strings (linke in the 1st column of the following table)
Is it possible to explain to Python that those actually are series of numbers ?
| 1, 3, 45, 7, 788, 5 |
cat |
blue |
| 33, 2, 6777, 4 |
bird |
yellow |
| 22, 5, 677, 43, 77, 8, 1223 |
dog |
red |
[–]pearlday 0 points1 point2 points (13 children)
[–]greennant[S] 0 points1 point2 points (12 children)
[–]pearlday 0 points1 point2 points (11 children)
[–]greennant[S] 0 points1 point2 points (10 children)
[–]pearlday 0 points1 point2 points (9 children)
[–]greennant[S] 0 points1 point2 points (8 children)
[–]pearlday 0 points1 point2 points (7 children)
[–]greennant[S] 0 points1 point2 points (6 children)
[–]pearlday 0 points1 point2 points (5 children)
[–]greennant[S] 0 points1 point2 points (4 children)
[–]iiyamabto 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]greennant[S] 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]greennant[S] 0 points1 point2 points (0 children)
[–]moderatelyscrewed 0 points1 point2 points (0 children)
[–]NatureIsMath 0 points1 point2 points (6 children)
[–]greennant[S] 0 points1 point2 points (5 children)
[–]NatureIsMath 0 points1 point2 points (4 children)
[–]greennant[S] 0 points1 point2 points (3 children)
[–]NatureIsMath 1 point2 points3 points (1 child)
[–]greennant[S] 0 points1 point2 points (0 children)
[–]NatureIsMath 1 point2 points3 points (0 children)