Created
October 29, 2022 19:03
-
-
Save nickodell/23c59a5bbf2a4ae3569b383b7c999616 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
concatenated = data[['day', 'month', 'year', 'time']].astype(str).agg(' '.join, axis=1) | |
data['date'] = pd.to_datetime(concatenated) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment