Skip to content

Instantly share code, notes, and snippets.

@viniroger
Created July 22, 2019 13:08
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 viniroger/69eb836a6653b20486670c88d50f2cd7 to your computer and use it in GitHub Desktop.
Save viniroger/69eb836a6653b20486670c88d50f2cd7 to your computer and use it in GitHub Desktop.
Convert object to datetime64 ns and print columns types
y_true['ds'] = pd.to_datetime(y_true['ds'])
print(y_true.dtypes)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment