title: Generate new rows using permutations of other rows in Pandas
body: <p>I have a dataframe of race results (where each race has 14 participants) that looks like this:</p>
  
  <pre><code>df = race_id A0 B0 C0 A1 B1 C1 A2 B2 C2 ... A13 B13 C13 WINNER
         1     2   3 0  9  1   3  4  5 1       1   2   3   3
         2     1   5 2  7  3   2  8  6 0       6   4   1   9
         .....
  </code></pre>
  
  <p>I want to train the data on a multi logistic regression model. However, as the data currently stands, the model would be sensitive to permuting the participants. For example, if the model is given the record </p>
  
  <pre><code>race_id A0 B0 C0 A1 B1 C1 A2 B2 C2 ... A13 B13 C13 WINNER
  3       9  1   3  2  3 0  4  5 1       1   2   3   3
  </code></pre>
  
  <p>Which is just changing participant 0 features into participant 1 features in race 1, the model would output a different prediction for the winner even though the input is the same. </p>
  
  <p>So I want to generate a random 100 permutations for each race in the data with the same winner to train the model to adapt on permutations. How can I create these 100 sample permutations for this data frame (While preserving the A,B,C features of every racer?</p>