1. rbind( ) 함수와 dplyr패키지의 bind_rows() 함수의 차이
- rbind( ) 함수를 사용할 때,
Error in rbind(deparse.level, ...) :
numbers of columns of arguments do not match
다음과 같은 에러를 관찰할 수 있다.
열이 완전히 매칭되지 않아서 그런 것 같은데, bind_rows() 함수를 사용하면 해당부분을 결측값으로 처리하고 결과를 수행한다.
SQL에서 outer_join이랑 비슷한 듯?
'Kaggle > Titanic' 카테고리의 다른 글
Extracting title from full name using regular expression (0) | 2018.10.16 |
---|---|
[Titanic] 2번째 참고 공부 (0) | 2018.02.04 |
[공부] Titanic: Machine Learning from Disaster(1) (0) | 2018.01.31 |