WordCloud 생성하기
- colab사용하여 word cloud 생성하기 from google.colab import auth from google.colab import drive auth.authenticate_user() drive.mount('/content/drive') cd '/content/drive/MyDrive/Colab Notebooks/data/' #데이터 호출 import pandas as pd import os from google.colab import files print(os.getcwd()) file_name = '뉴스.csv' # df = pd.read_csv(file_name, encoding='utf-8') df = pd.read_csv(file_name, encoding='CP949') a..
IT/기타
2021. 10. 12. 21:15