DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
TypeError: strptime() argument 1 must be str, not Series
train['date1'] = train['ID'].apply(lambda x: datetime.strptime(x, '%Y%m%d%H'))
PREVIOUS
NEXT
Tagged:
#argument
#Series
ADD COMMENT
Topic
COMMENT
Name
6+7 =
Submit