Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- mssql
- spring
- 티스토리챌린지
- Kibana
- 리눅스
- Javascript
- 자바
- SQL
- isNotEmpty
- PostgreSQL
- Linux
- mysql
- 오블완
- pandas
- zset
- github
- 404error
- IntelliJ
- 명령어
- DBMS
- iBatis
- java
- springboot
- git
- docker
- datagrip
- 호이스팅
- oracle
- analytics4
- Python
Archives
- Today
- Total
목록to_datetime() (1)
hanker
ValueError: time data "" doesn't match format "%Y-%m-%d", at position 1. You might want to try:
ValueError: time data "" doesn't match format "%Y-%m-%d", at position 1. You might want to try: 해당 오류는 pandas.to_datetime을 사용할 때 날짜 문자열이 예상 형식과 일치하지 않을 때 발생한다. 해결방법 1. 정확한 날짜 형식 지정하기df['date'] = pd.to_datetime(df['date'], format="%Y/%m/%d")format에 정확한 날짜 형식을 지정해준다. 2. 다양한 형식의 날짜가 섞여 있는 경우df['date'] = pd.to_datetime(df['date'], format='mixed')다양한 형식의 날짜가 섞여 있을 경우, format='mixed'를 사용하여 각 날짜의 형식을 ..
Python/Python Error
2025. 2. 27. 01:20