Created
April 25, 2020 10:35
-
-
Save aniruddha27/2745492ec8cbf07061e5422221e071ae to your computer and use it in GitHub Desktop.
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['Duration_days'] = df['Duration']/timedelta(days=1) | |
df['Duration_minutes'] = df['Duration']/timedelta(minutes=1) | |
df['Duration_seconds'] = df['Duration']/timedelta(seconds=1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment