🌈 搜索
📅  最后修改于: 2022-03-11 14:46:27.400000             🧑  作者: Mango
df['date_time'].dt.dayofweek #gives only the index(0-monday,6-sunday) df['date_time'].dt.weekday_name #gives the day