Created
February 21, 2020 07:14
-
-
Save quantra-go-algo/6e7d172150917ed04278647ba8b61755 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 | |
‘to_datetime’ method in pandas are used to convert date strings to dates. | |
#Using pandas to parse dates | |
datestrs = ['1/14/2018', '2/14/2018'] | |
pd.to_datetime(datestrs) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment