1
나는 다음과 같은 메시지가 얻을 내 코드 실행 :팬더에서의 CopyWarning 설정 : 열의 첫 번째 값을 설정하는 방법?
SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame
See the the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy
df['detect'][df.index[0]] = df['event'][df.index[0]]
다른 열의 첫 번째 값과 동일한 컬럼의 첫 번째 값을 설정하는 올바른 방법은 무엇입니까?