DataFrame.drop(labels, axis)

CODEDRAGON Development/Python

반응형


 

DataFrame.drop(labels, axis)

레이블을 삭제합니다.


 

DataFrame.drop(self, labels=None, axis=0, index=None, columns=None, level=None, inplace=False, errors='raise')

 

parameter

description

labels

single label or list-like

Index or column labels to drop

axis

default 0

{0 or ‘index’, 1 or ‘columns’}

 

axis=0

행처리 (index)

axis=1

열처리 (columns)

 

 

 

https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.drop.html

 

 

 


반응형

'Development > Python' 카테고리의 다른 글

KoNLPy의 포함된 라이브러리  (0) 2020.04.15
JSON with Python  (0) 2020.04.09
Identation를 사용한 JSON 문자열 표현  (0) 2020.03.28
웹 크롤링 정책  (0) 2020.03.23
Scraping 종류  (0) 2020.03.18