ValueError: invalid literal for int() with base 10: '1.0' python

NoSuchKey