Home > other >  While reading the mysql data with pandas FROM_UNIXTIME format the date is not correct
While reading the mysql data with pandas FROM_UNIXTIME format the date is not correct

Time:05-26

Pandas read mysql data, using FROM_UNIXTIME (UNIX_TIMESTAMP (a. d. 1), 'Y - m - % % % % % % % % d H: I: % % % % s') time for formatting, this kind of writing in pycharm execution can get correct results, but in the CMD command window is executed, the result is wrong, the following figure, the warrior until how to solve?
  • Related