title: Why does my sklearn.metrics confusion_matrix output look transposed?
body: <p>It's my understanding that confusion matrices should show the TRUE classes in the columns and the PREDICTED classes in the rows. Therefore the sum of the columns should be equal to the value_counts() of the TRUE series.</p>
  
  <p>I have provided an example here:</p>
  
  <pre><code>from sklearn.metrics import confusion_matrix
  
  pred = [0, 0, 0, 1]
  true = [1, 1, 1, 1]
  
  confusion_matrix(true, pred)
  </code></pre>
  
  <p>Why does this give me the following output? Surely it should be the transpose of that?</p>
  
  <pre><code>array([[0, 0],
         [3, 1]], dtype=int64)
  </code></pre>