11
FutureWarning : 요소 별 비교에 실패했습니다. 스칼라를 반환하지만 향후 요소 별 비교를 수행합니다.
0.19.1Python 3에서 Pandas 를 사용 하고 있습니다.이 코드 줄에 대한 경고가 표시됩니다. string Peter이 column에 있는 모든 행 번호를 포함하는 목록을 얻으려고합니다 Unnamed: 5. df = pd.read_excel(xls_path) myRows = df[df['Unnamed: 5'] == 'Peter'].index.tolist() 경고를 생성합니다. "\Python36\lib\site-packages\pandas\core\ops.py:792: FutureWarning: elementwise comparison failed; returning scalar, but in the future will perform elementwise comparison …