맨날 까먹는 코드
# pandas display 형식에서 지수함수 실수변환
pd.set_option('display.float.format','{:.6f}'.format)
# numpy 형식
np.set_printoptions(suppress=True,precision=6)
'python' 카테고리의 다른 글
python - glob 함수 활용하기 (0) | 2025.03.11 |
---|---|
python - 디스플레이 옵션 (행/열) 모두 노출 (0) | 2025.01.22 |
python - class method (__init__, show, set, get) (2) | 2024.12.19 |
python - select_dtypes 특정 데이터 타입 열 지정 (1) | 2024.11.09 |
python - 중복 데이터 제거 함수 (drop_duplicates()) (0) | 2024.11.09 |