code: public static Object[][] matrixTransform(Object[][] datas) {
          if (datas.length == 0 || datas[0].length == 0) {
              return datas;
          }
          int column = datas.length;
          int row = datas[0].length;
  
          Object[][] newData = new Object[row][column];
  
          for (int i = 0; i < row; i++) {
              Object[] list = new Object[column];
              for (int j = 0; j < column; j++) {
                  list[j] = datas[j][i];
              }
              newData[i] = list;
          }
          return newData;
      }
docs: 矩阵转置（矩阵必须每行的列数都一样）（行变列，列变行）
  @param datas 要转置的数据
  @return 转置后的矩阵，例如[[01,02][11,12]]会变为[[01,11],[02,12]]