728x90
# 시작과 끝의 공백을 없앤다
professors['Country'] = professors['Country'].str.strip()
import fuzzywuzzy
from fuzzywuzzy import process
import chardet
matches = fuzzywuzzy.process.extract("south korea", countries, limit=10, scorer=fuzzywuzzy.fuzz.token_sort_ratio)728x90
'<Kaggle-Course>' 카테고리의 다른 글
| 캐글 data_visualization/02-line-charts (0) | 2023.03.17 |
|---|---|
| 캐글 data_visualization/01-hello-seaborn (0) | 2023.03.17 |
| 캐글 data_cleaning/04-character-encoding (0) | 2023.03.16 |
| 캐글 data_cleaning/03-parsing-dates (0) | 2023.03.16 |
| 캐글 data_cleaning/02-scaling-and-normalization (0) | 2023.03.16 |