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 pass pandas.Series as input parameter.
docstr_tok: ["Test","that","we","can","pass","pandas.Series","as","input","parameter","."]
code: def testPandasSeriesUMatrixForceCopy(self):
      """
      Test that we can pass pandas.Series as input parameter.
      """
      x = pd.Series(np.random.randint(0, high=500, size=100))
  
      output = test_python_binding(
          string_in="hello",
          int_in=12,
          double_in=4.0,
          mat_req_in=[[1.0]],
          col_req_in=[1.0],
          s_umatrix_in=x,
          copy_all_inputs=True,
      )
  
      self.assertEqual(output["s_umatrix_out"].shape[0], 100)
      self.assertEqual(output["s_umatrix_out"].dtype, np.dtype("intp"))
  
      for i in range(100):
          self.assertEqual(output["s_umatrix_out"][i, 0], x.iloc[i] * 2)
  
imports: import unittest
  import pandas
  import numpy
  import copy
  from mlpack.test_python_binding import test_python_binding
label_desc: Use image node_id 14 for calling the TestPythonBinding obj's underlying member method code with example usage: obj.testPandasSeriesUMatrixForceCopy() without return types