title: I have a categorical numpy array , want to convert it into integer?
body: <p>I have a data set like <code>education{primary,graduate}</code>, <code>martial status{male,female}</code>, <code>job{employed, service,unemployed}</code> . This is categorical data set I want to convert it into float for logistic regression in numpy python. </p>