title: Pandas get dummies() for numeric categorical data
body: <p>I have 2 columns:</p>
  
  <ul>
  <li>Sex (with categorical values of type string as 'male' and 'female')</li>
  <li>Class (with categorical values of type integer as 1 to 10)</li>
  </ul>
  
  <p>When I execute <code>pd.get_dummies()</code> on the above 2 columns, only 'Sex' is getting encoded into 2 columns. But 'Class' is not converted by get_dummies function.</p>
  
  <p>I want 'Class' to be converted into 10 dummy columns as well, similar to One Hot Encoding.</p>
  
  <p>Is this expected behavior? Is there an workaround?</p>