import dataset
db = dataset.connect(....)
table = db[...]
When I try to insert some value into Mysql table, this error occurred.
Sample Value
Add the command below to anywhere before making pymysql connection. It adds new encoder of numpy.float64.
pymysql.converters.encoders[np.float64] = pymysql.converters.escape_float
pymysql.converters.conversions = pymysql.converters.encoders.copy()
pymysql.converters.conversions.update(pymysql.converters.decoders)