class_docstr: This class tests the basic functionality of the Python bindings.
class_docstr_tok: ["This","class","tests","the","basic","functionality","of","the","Python","bindings","."]
docstr: Test that we can correctly pass a matrix in that's specified with the
  PARAM_TMATRIX_IN() macro, and it is correctly transposed.
docstr_tok: ["Test","that","we","can","correctly","pass","a","matrix","in","that","'s","specified","with","the","PARAM_TMATRIX_IN","(",")","macro",",","and","it","is","correctly","transposed","."]
code: def testTransMatrix(self):
      """
      Test that we can correctly pass a matrix in that's specified with the
      PARAM_TMATRIX_IN() macro, and it is correctly transposed.
      """
      x = np.random.rand(20, 10)
      test_python_binding(
          string_in="hello",
          int_in=12,
          double_in=4.0,
          mat_req_in=[[1.0]],
          col_req_in=[1.0],
          matrix_in=x,
          tmatrix_in=x,
      )
  
imports: import unittest
  import pandas
  import numpy
  import copy
  from mlpack.test_python_binding import test_python_binding
label_desc: Use image node_id 25 for calling the TestPythonBinding obj's underlying member method code with example usage: obj.testTransMatrix() without return types