250x250
반응형
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 |
Tags
- correlation
- grad-cam
- UDF
- subdag
- 상관관계
- requests
- API Gateway
- tensorflow text
- integrated gradient
- Counterfactual Explanations
- Retry
- flask
- 유튜브 API
- API
- top_k
- GenericGBQException
- airflow subdag
- BigQuery
- 공분산
- XAI
- chatGPT
- login crawling
- TensorFlow
- session 유지
- gather_nd
- Airflow
- GCP
- youtube data
- spark udf
- hadoop
Archives
- Today
- Total
데이터과학 삼학년
[Text Preprocessing] re를 활용한 문자(한글,영어), 숫자만 가져오기 본문
Natural Language Processing
[Text Preprocessing] re를 활용한 문자(한글,영어), 숫자만 가져오기
Dan-k 2020. 7. 21. 14:37반응형
text 전처리에서 문자와 숫자만 가져오는 경우 코드
import re
txt = '가 1Ace& *+ナルト김밥★'
re.sub('[^A-Za-z0-9가-힣 ]','', txt) # 띄어쓰기 유지
=======
'가 1Ace 김밥'728x90
반응형
LIST
'Natural Language Processing' 카테고리의 다른 글
Comments