본문 바로가기

areum

검색하기
areum
프로필사진 armmy

  • 분류 전체보기 (75)
    • Programming (24)
      • Python (6)
      • R (0)
      • SAS (1)
      • Machine Learning (12)
      • NLP (3)
      • Tensorflow (2)
    • DB (16)
      • SQL (2)
      • ORACLE (9)
      • PostgreSQL (5)
    • Linux (6)
    • Docker (12)
    • Ubuntu (1)
    • Etc (14)
      • Windows (8)
      • SAMBA (1)
      • Jupyter Notebook (1)
      • OS (2)
      • Openstack (2)
    • 그 외 (1)
Guestbook
250x250
Notice
Recent Posts
Recent Comments
Link
«   2026/04   »
일 월 화 수 목 금 토
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
Tags
  • psql
  • 도커
  • Docker image
  • 리눅스
  • oracle
  • GPU
  • LOG
  • 머신러닝
  • sqldeveloper
  • SQL
  • pgadmin
  • 도커이미지
  • jupyternotebook
  • Python
  • cpu
  • 연결
  • Linux
  • 쿼리
  • docker
  • 교차검증
  • 파이썬
  • 오라클
  • 시계열
  • 복구
  • TensorFlow
  • postgre
  • GridSearchCV
  • psycopg2
  • Memory
  • Jupyter
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록columns (1)

areum

[Python] 데이터프레임 컬럼명/값 이름 변경

1. 컬럼명 변경하는 방법은 df.columns와 df.rename이 있다. # 전체 컬럼 이름 입력 df.columns = ['columns1', 'columns2', 'columns2'] # 선택하여 컬럼 이름 변경 (변경하고자 하는 컬럼 이름만 선택하여 변경) df.rename(columns={'test':'retest'}) 2. 값이름 변경 df=df.replace({1:'index_1', 2:'index_2', 3:'index_3'}) df

Programming/Python 2022. 11. 28. 17:23
이전 Prev 1 Next 다음

Blog is powered by AXZ / Designed by Tistory

티스토리툴바