pandas 특정 행,열 제거
#id 컬럼 제거 df.drop('id',axis=1, inplace=True) # axis=0 로우
- Code Cloud/python
- · 2022. 1. 20.
전처리 함수 정의
# 전처리 함수 정의 def preprocessor(text): text = re.sub('[^가-힣\s]+','',text) # 한글, 공백문자 남기고 다 날리기 return text
- Code Cloud/python
- · 2022. 1. 20.
[calculus] 3차시 위치벡터, dot product
- STAT & MATH/calculus
- · 2022. 1. 16.