PinkWink / DataScience

책) 파이썬으로 데이터 주무르기 - 소스코드 및 데이터 공개
http://pinkwink.kr/1070
246 stars 503 forks source link

1장 50페이지 In[75] 수정 부탁드립니다. #92

Open AhnCheolMin opened 2 years ago

AhnCheolMin commented 2 years ago

안녕하세요. 덕분에 파이썬을 재미있게 공부하고 있습니다. 책 기준으로 1장 50페이지 ln[75] 부분

result = pd.concat([df1, df4], axis=1, join_axes=[df1.index]) result

아래와 같이 변경되었습니다.

result = pd.concat([df1, df4], axis=1).reindex(df1.index) result