728x90
반응형
일정 빈도 이상의 자료 세기
list = {word: freq for word, freq in lists.items() if freq > threshold}
728x90
반응형
'연구일지' 카테고리의 다른 글
[오늘의 팁] df row 빈도수를 pie chart로 그리기 (0) | 2023.01.14 |
---|---|
[오늘의 팁] numpy로 list 형변환 (0) | 2021.03.27 |
[오늘의 팁] plotting counter value (0) | 2021.03.15 |
[오늘의 팁들] file append writing/json encoding/int list to str list (0) | 2021.03.11 |