Last active
February 26, 2020 13:27
-
-
Save quantra-go-algo/4bb6e0bb111d8eaee356ecae66a109cf to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # Importing pandas | |
| import pandas as pd | |
| # Using pandas to parse dates | |
| datestrs = ['1/14/2018', '2/14/2018'] | |
| # ‘to_datetime’ method in pandas are used to convert date strings to dates | |
| pd.to_datetime(datestrs) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment