pandas.PeriodIndex.weekday# propertyPeriodIndex.weekday[source] # The day of the week with Monday=0, Sunday=6. Examples >>> idx = pd.PeriodIndex(["2023年01月01日", "2023年01月02日", "2023年01月03日"], freq="D") >>> idx.weekday Index([6, 0, 1], dtype='int64')