판다스(pandas) 데이터 프레임(dataframe) 또는 시리즈(series) 열 또는 행 생략 해제하기, 제거 pd.set_option('display.max_rows', None) pd.set_option('display.max_columns', None) pd.set_option('display.width', None) pd.set_option('display.max_colwidth', -1) 이거 넣으시고 실행시키면 그다음 데이터 프레임부터는 열이나 행 생략 없이 전체를 볼 수 있어요. Python library & package/Pandas 2021.03.31
[펌] 데이터 프레임 데이터 수정 forlater.tistory.com/278 DataFrame - 셀의 값을 변경하기, 행과 열 추가하기 & 전치하기 import pandas as pd exam_data = {'이름' : ['서준', '우현', '인아', '영철'], '수학' : [90, 80, 70, 30], '영어' : [98, 89, 95, 22], '음악' : [85, 95, 100, 55], '체육' : [100, 90, 90, 77]} df = pd.Data.. forlater.tistory.com Python library & package/Pandas 2021.03.31
[펌] 판다스 boolean 인덱싱 vnittaku.tistory.com/111 11. pandas DataFrame 인덱싱(열 / 행 / boolean 인덱싱) DataFrame을 생성해보자. Series도 있지만, 주로 사용할 데이터는 DataFrame이다. 필요한 패키지들을 import해놓고, 아래와 같이 python 딕셔너리를 만들고, DataFrame을 만드는데, 인자로 columns를 주어 키값= nittaku.tistory.com Python library & package/Pandas 2021.03.31