code: def test_values_mixed_dtypes(self, float_frame, float_string_frame):
      frame = float_frame
      arr = frame.values
  
      frame_cols = frame.columns
      for i, row in enumerate(arr):
          for j, value in enumerate(row):
              col = frame_cols[j]
              if np.isnan(value):
                  assert np.isnan(frame[col].iloc[i])
              else:
                  assert value == frame[col].iloc[i]
  
      # mixed type
      arr = float_string_frame[["foo", "A"]].values
      assert arr[0, 0] == "bar"
  
      df = DataFrame({"complex": [1j, 2j, 3j], "real": [1, 2, 3]})
      arr = df.values
      assert arr[0, 0] == 1j
  
file_path: pandas/pandas/tests/frame/methods/test_values.py
imports: import numpy
  import pytest
  from pandas import DataFrame, NaT, Series, Timestamp, date_range, period_range
  import pandas._testing
label_desc: Use image node_id 3 for calling the TestDataFrameValues obj's underlying member method code with example usage: obj.test_values_mixed_dtypes(float_frame, float_string_frame) without return types