[TIL] #1.1.1 EDA

Bella·2021년 3월 4일
0

TIL

목록 보기
1/11

Pandas

행렬전치

df = df.tranpose()

비교 표현식

eq - eqaul (=)
ne - not equal (!=)
lt - little (<)
le - little or equal (<=)
gt - greater (>)
ge - greater or equal (>=)

코랩 한글 깨짐

  1. 나눔 폰트 설치
!sudo apt-get install -y fonts-nanum
!sudo fc-cache -fv
!rm ~/.cache/matplotlib -rf
  1. 코랩 런타임 재시작

  2. matplotlib의 폰트 나눔폰트로 지정

import matplotlib.pyplot as plt

plt.rc('font', family='NanumBarunGothic')

참고 - https://teddylee777.github.io/colab/colab-korean



해결하지 못한 문제

  • colab에서 .ipynb_checkporints 삭제
    - 로컬 환경에서 실행하셨을 때 나오는 것. 코랩에서 구동하면 해결! ( 코랩에서만 구동했었는데 ,, 다시 구동하니까 잘 되긴 했다 ,,)
profile
Here Today, Gone Tomorrow

0개의 댓글