📌  相关文章
📜  从 pandas 数据框列中删除 hh:mm:ss - Python 代码示例

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

代码示例1
import pandas as pd
from datetime import date

dfST['timestamp'] = pd.to_datetime(dfST['timestamp'])
dfST['new_date_column'] = dfST['timestamp'].dt.date