Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas dt.weekday to string

" old nympy versions "
test_date.dt.day_name()

0    Saturday
1    Saturday
2    Saturday
3    Saturday
4    Saturday
5    Saturday
6    Saturday
7    Saturday
8    Saturday
9    Saturday
Name: datetime, dtype: object
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pandas #string
ADD COMMENT
Topic
Name
8+9 =