SHARE
TWEET

Untitled

a guest Jun 15th, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. a = "2018-07-16 10:17:53.460035"
  2. b = "2018-05-20 14:37:21"
  3. print(pd.to_datetime(a).date())
  4. print(pd.to_datetime(b).date())
  5.      
  6. t = "2018-05-20 14:37:21"
  7.  
  8. strptime(t, "%Y-%m-%d %H:%M:%S")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top