-
카테고리
-
세부 분야
딥러닝 · 머신러닝
-
해결 여부
미해결
실습3 삭제데이터 복구하기
22.01.23 15:39 작성 조회수 338
0
안녕하세요 ! 타이타닉 실습3에서 Sex 를 삭제하는 줄 알고 냅다
train =train.drop(['Sex'], axis =1)
test =test.drop(['Sex'], axis =1)
코드로 삭제해버렸습니다. 혹시나 mapping 코드를 작성했더니 역시나 삭제된 데이터이니 오류가 뜨더라구요
잘못삭제한 데이터를 다시 복구시킬 수 있는 방법이 있을까요 ?
<button class="ac-button is-md is-outlined is-white button-rounded undefined " style="margin:0px;font-family:'Noto Sans KR', -apple-system, 'system-ui', BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', Helvetica;position:relative;display:inline-flex;align-items:center;justify-content:center;border-radius:100px;font-weight:500;cursor:pointer;appearance:none;padding:11px;height:40px;line-height:1.43;font-size:14px;letter-spacing:-0.3px;color:#1b1c1d;background-color:#ffffff;min-width:75px;border:1px solid #dee2e6">0</button>
답변을 작성해보세요.
답변 0