Skip to content

Instantly share code, notes, and snippets.

@GurjotSinghMahi
Created February 18, 2021 12:37
Show Gist options
  • Save GurjotSinghMahi/582832d65c7ef23340fb3d4484c20dce to your computer and use it in GitHub Desktop.
Save GurjotSinghMahi/582832d65c7ef23340fb3d4484c20dce to your computer and use it in GitHub Desktop.
# Remove Time from SubmissionDate Column
df['Date'] = pd.to_datetime(df['SubmissionDate']).dt.date
print(tabulate(df[['Date', 'SubmissionDate']], headers = 'keys', tablefmt = 'psql'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment