본문 바로가기

#wannabeeeeeee the best DataScientist

검색하기
#wannabeeeeeee the best DataScientist
프로필사진 맨사설

  • 분류 전체보기 (109)
    • Portfolio & Project (5)
      • Project in Company (1)
      • Project in Competition (4)
    • Master's degree (10)
      • 머신러닝Ⅰ (4)
      • 블록체인 (3)
      • 금융보안 (3)
    • Data scientist (36)
      • PYTHON (9)
      • SQL (7)
      • Machine Learning (15)
      • Docker (5)
    • Book report (34)
      • 핸즈온 머신러닝 (8)
      • 파이썬 머신러닝 완벽가이드 (9)
      • 혼자 공부하는 머신러닝 + 딥러닝 (8)
      • 그로스 해킹 (2)
      • 데이터 분석가가 반드시 알아야 할 모든 것 (2)
      • Deep Learning from Scratch (5)
    • PYTHON_Code (15)
      • Coding_Test (6)
      • 데이터 시각화 (5)
      • 크롤링(crawling) (3)
      • Code (1)
    • NO! Bugs! (3)
    • 면접 (6)
Guestbook
250x250
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Tags
  • 블록체인
  • docker
more
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록PYTHON_Code/Code (1)

#wannabeeeeeee the best DataScientist

numeric 데이터 축소 함수_Code

# 데이터 축소 def reduce_usage(df, verbose=True): numerics = ['int16', 'int32', 'int64', 'float16', 'float32', 'float64'] start_mem = df.memory_usage().sum() / 1024**2 for col in df.columns: col_type = df[col].dtypes if col_type in numerics: c_min = df[col].min() c_max = df[col].max() if str(col_type)[:3] == 'int': if c_min > np.iinfo(np.int8).min and c_max < np.iinfo(np.int8).max: df[col] = df[col]...

PYTHON_Code/Code 2021. 9. 13. 19:42
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바