Created
May 21, 2018 10:59
-
-
Save qzcool/e480f129180a0c3e27ec8edce3ae5d2d to your computer and use it in GitHub Desktop.
Change Data Type from Obect to Datetime
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
df_cf["tradeDate"] = df_cf["tradeDate"].astype("datetime64[ns]") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment