add numpy missing and one hot encoding