pandas.Timestamp.dayofweek #

时间戳。星期几#

返回星期几。

返回
整数

例子

>>> ts = pd.Timestamp(2020, 3, 14)
>>> ts.day_of_week
5