728x90 .concat1 [Jupyter Notebook] FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. (후략) 제목과 같은 Warning 메시지를 확인한 코드는 아래와 같다. import pandas as pd data = { 'name' : ['영수','철수','영희','소희'], 'age' : [20,15,38,8] } df = pd.DataFrame(data) doc = { 'name':'세종', 'age':14, } df = df.append(doc,ignore_index=True) df 상기 코드로 발생한 Warning 메시지 원문은 아래와 같다. FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead. df = df.appe.. Python 2022. 11. 25. 이전 1 다음 💲 추천 글 반응형 SMALL