numpy.float32() and numpy.float64() data is stored in the database to report an error processing method

numpy.float32() and numpy.float64() data is stored in the database to report an error processing method

  • I saw netizens use the flaot() method to force it, I tried it, but it didn’t work.
  • The method is to use nunpy.float() to convert the data, so that it will be stored as floating-point data. If you want to save the integer type, you can make further conversions.

Guess you like

Origin blog.csdn.net/qq_36389249/article/details/106842853