Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

extract DATE from pandas

import pandas as pd

d='2015-01-08 22:44:09' 
date=pd.to_datetime(d).date()
print(date)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #extract #DATE #pandas
ADD COMMENT
Topic
Name
8+3 =