Note this is the transpose of the matrix you wanted. You may want to read the documentation carefully - you may want side='right', I suppose.