inserted float value error
Float types are not supported. Use Decimal types instead
from
def _is_number(self, value):
if isinstance(value, (six.integer_types, Decimal)):
return True
elif isinstance(value, float):
raise TypeError(
'Float types are not supported. Use Decimal types instead.')
return False
to
if isinstance(value, (six.integer_types, Decimal)):
return True
return False
http://boto3.readthedocs.org/en/latest/_modules/boto3/dynamodb/types.html

Currently we only support Decimals and integers DynamoDB's number type. We do not support floats because python cannot support DynamoDB's level of precision. Here is an issue summarizing this: https://github.com/boto/boto3/issues/369. That issue is open to track the ability to use floats. Let's move the conversation to that linked issue.