title: Using sklearn's 'predict' function
body: <p>If I trained a model in <code>sklearn</code> using dummy variables for categorical values, what is best practice for feeding a single row of features into this model to get the prediction result? For all input data set I am trying to get scores. If I have less columns than the data set I used to train/fit the model, will it throw an error.?</p>
  
  <p>Just to clarify: I took a data set that had 5 columns and created over 118 dummy columns before I built my model. Now I have a single row of data with 5 columns that I would like to use in <code>predict</code> function. How can I do this?</p>
  
  <p>Any help here would be greatly appreciated. </p>