📜  从 pandas 中提取 DATE - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:44.925000             🧑  作者: Mango

代码示例1
import pandas as pd

d='2015-01-08 22:44:09' 
date=pd.to_datetime(d).date()
print(date)