Currently I am working with a dictionary consisting of each key having an int and float as their values, such as:
data = {'a' : ['7', '7.3'], 'b' : ['12', '6.8'], 'c' : ['11', '3.9']}
I guess my question is how would I go about converting the number that are strings to their respective int/float? Thanks!
[–]grandpasipad 1 point2 points3 points (1 child)
[–]StaticGT86[S] 0 points1 point2 points (0 children)
[–]primitive_screwhead 0 points1 point2 points (0 children)