Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@qzcool
Created May 21, 2018 10:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qzcool/e480f129180a0c3e27ec8edce3ae5d2d to your computer and use it in GitHub Desktop.
Save qzcool/e480f129180a0c3e27ec8edce3ae5d2d to your computer and use it in GitHub Desktop.
Change Data Type from Obect to Datetime
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