- API reference
- pandas arrays, scalars, and data types
- pandas.Times...
pandas.Timestamp.isoweekday#
- Timestamp.isoweekday()#
Return the day of the week represented by the date.
Monday == 1 … Sunday == 7.
Examples
>>>ts=pd.Timestamp('2023-01-01 10:00:00')>>>tsTimestamp('2023-01-01 10:00:00')>>>ts.isoweekday()7
On this page