강의 자료
로그인 후 댓글을 작성할 수 있습니다.
라이브정보
방송일
2021년 06월 19일 (53회)
조회수
1,527회
강의시간
56분 59초
버전 안내
Windows
파워쿼리를 지원하는 엑셀 2016 이후 버전에서 사용 가능합니다.
Mac
Mac용 엑셀에서는 실습 진행이 불가능합니다.
보충자료
① 구분기호를 띄어쓰기로 분리하기
List.Accumulate(
List.Numbers(0, Table.RowCount(splitchars)-1),
[값],
(string, row) =>
Text.Replace(string, splitchars{row}[구분기호]," ")
)
② 문장에서 특수기호 제외하고 한글, 영어, 숫자 추출
Text.Select([값],{"가".."힣","a".."z","A".."Z","0".."9"," "})
③ 불필요 단어 제거 (예: 그리고, 그러나, 가령 등..)
List.Accumulate(
List.Numbers(0, Table.RowCount(RemoveCharacters)-1),
[값],
(string, row) =>
Text.Replace(string, RemoveCharacters{row}[제거글자],"")
)
④ 접미사 제거
if List.Contains(trimvalue3,Text.End([값],3)) then
Text.Start([값],Text.Length([값])-3) else if
List.Contains(trimvalue2,Text.End([값],2)) then
Text.Start([값],Text.Length([값])-2) else
Text.TrimEnd([값],trimvalue1)
스크립트는 로그인 후 이용할 수 있습니다.
로그인