-
판다스 한글 파일이 깨질 때파이썬(판다스, AI,데이터 분석) 2021. 5. 15. 18:51
https://teddylee777.github.io/colab/colab-korean
구글 코랩(colab) 한글 깨짐 현상 해결방법
구글 코랩(colab) 한글 깨짐 현상 해결방법에 대해 알아보겠습니다.
teddylee777.github.io
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters""" 그래프에서 한글 깨짐 현상 수정하기 나눔 폰트 설치 """ !sudo apt-get install -y fonts-nanum !sudo fc-cache -fv !rm ~/.cache/matplotlib -rf import matplotlib.pyplot as plt import matplotlib as mpl plt.rc('font', family='NanumBarunGothic') # 폰트 변환 # Windows mpl.rc("font", family='Malgun Gothic') # MacOS mpl.rc("font", family='AppleGothic') # 마이너스 사인 수정 mpl.rc('axes', unicode_minus=False) '파이썬(판다스, AI,데이터 분석)' 카테고리의 다른 글
벡터와 매트릭스 ( Vectors and Matrices )-N131 (0) 2021.05.22 파이썬 판다스 inplace 옵션 (2) 2021.05.18 판다스(파이썬), 데이터 프레임, 행과 열 (0) 2021.05.18 [Pandas] csv(xlsx)파일 불러오기 (0) 2021.05.15 파이썬(판다스)을 이용한 데이터 프레임 만들기 (0) 2021.05.15