“TypeError: strptime () argumento 1 deve ser str, não listar” Respostas de código

TypeError: strptime () argumento 1 deve ser str, não série

train['date1'] = train['ID'].apply(lambda x: datetime.strptime(x, '%Y%m%d%H'))
Anxious Armadillo

TypeError: strptime () argumento 1 deve ser str, não listar

words= ['donkey','hero']
with open('5.txt') as f:
    hello=f.read()
for word in words:
    hello=hello.replace(words,'^dfsdf')
with open ('5.txt','w')as f:
    f.write(hello)
Official SK

Respostas semelhantes a “TypeError: strptime () argumento 1 deve ser str, não listar”

Perguntas semelhantes a “TypeError: strptime () argumento 1 deve ser str, não listar”

Mais respostas relacionadas para “TypeError: strptime () argumento 1 deve ser str, não listar” em Python

Procure respostas de código populares por idioma

Procurar outros idiomas de código