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 | 31 |
Tags
- python dataframe
- string to list
- flask
- unique key 추가
- mysql unique key 생성
- unnest란
- lodash uniqBy
- mysql unique key
- 유니크키 생성
- 404에러페이지
- python str to list
- lodash unionBy
- python str list to list
- python string list to list
- lodash find
- 404에러페이지 커스텀
- lodash findIndex
- unique key 생성
- pandas dataframe
- 커스텀에러페이지
- Python
- mysql unique key 추가
- flask예제
- Nextjs
- python string to list
- 유니크키 추가
- js date
- nextjs커스텀에러페이지
- lodash remove
- styled component
Archives
- Today
- Total
목록python string to list (1)
space mine
[Python] String 을 List 형식으로 바꾸는 방법, String to List(+ String List to List)
1. str.split('seperator') List 로 변환할 때 구분할 수 있는 Seperator 가 있는 경우 사용 split() 에서 괄호 사이에 '/', ';' 등 구분자가 되는 기호나 문자를 넣으면 그 구분자를 기준으로 List 로 만들어 줌 str = 'apple, orange, banana' pring( str.split(',') ) >> ['apple', 'orange', 'banana'] 2. list(str) String 의 모든 글자를 하나씩 쪼개어 List 를 만들 때 사용 str = 'apple, banana' print( list(str) ) >> ['a', 'p ', 'p', 'l', 'e', ',', ' ', 'b', 'a', 'n', 'a', 'n', 'a'] 2. js..
Python
2022. 12. 16. 17:50