📜  工作日熊猫 - Python 代码示例

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

代码示例2
df['date_time'].dt.dayofweek #gives only the index(0-monday,6-sunday)
df['date_time'].dt.weekday_name #gives the day