Inflearn Community Q&A
날짜변환 에러
Written on
·
252
0
pd.to_datetime에서 왜 2020년도는 되는데, 2022년도는 에러가 나는지요?
*정상동작: 2020년
print(pd.to_datetime("2020-"+df["확진일"].str.replace(".","-")))
*에려: 2022년
print(pd.to_datetime("2022-"+df["확진일"].str.replace(".","-")))세부 에러결과

pandaspython
Answer
This question is waiting for answers
Be the first to answer!





