how see if a string would be an int or a float once converted in python code example
Example: check if a string is float python
try:
float(element)
except ValueError:
print "Not a float"
try:
float(element)
except ValueError:
print "Not a float"