title: Random Forest Model sci kit learn specifying columns
body: <p>I am building a random forest model using sci kit learn and python, and I want to be able to specify which columns want to be included. The model is to predict the value of 'pages' based on values of 'size1', 'size2', and 'size3'. The value of label is dependent on the value of 'seconds', but that should not matter for the model. However, I want to be able to include as few or as many columns as I want, for example, I may want to just use 'size1', or both 'size2' and 'size3', etc. How can I do this? Right now, I am using all 50 columns of data to make my model, and I want to be able to specify which columns I want to incorporate. Thank you! I have attached some code I have currently, and a sample of what the data looks like. </p>
  
  <pre><code>X = dataset.iloc[:, 0:50].values
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/MJ1Ql.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MJ1Ql.png" alt="enter image description here"></a></p>