I am asking this because I saw a dictionary produced from two different sources, in which one number is a float, and the same number is a string.
data = {'name': 'jack', 'confidence': '0.95'}
The 'confidence' is a float in once case, and a str in another case. Why is that?
conf = data.get('confidence')