deatheyes opened a new pull request #4664: fix: epoch_s and epoch_ms to date 
time
URL: https://github.com/apache/incubator-superset/pull/4664
 
 
   fix current usage of to_datetime for epoch_s and epoch_ms
   test case:
   current:
   pd.to_datetime(1521475500, utc=False)
   Timestamp('1970-01-01 00:00:01.521475500')
   fix:
   pd.to_datetime(1521475500, utc=False, unit="s")
   Timestamp('2018-03-19 16:05:00')
   
   issue: https://github.com/apache/incubator-superset/issues/4657
   
   doc of 'pd.to_datetime': 
https://pandas.pydata.org/pandas-docs/stable/generated/pandas.to_datetime.html
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to