code: def test_check_array_from_dataframe():
      X = md.DataFrame({"a": [1.0, 2.0, 3.0]})
      assert check_array(X).dtype.kind == "f"
  
imports: from itertools import product
  import numpy
  import pytest
  import scipy.sparse
  from sklearn.utils.estimator_checks import _NotAnArray
  from sklearn.utils._mocking import MockDataFrame
  from sklearn.utils._testing import assert_raise_message, assert_raises_regex
  from ....None import tensor
  from ....None import dataframe
  from ....tensor.core import Tensor
  from ..validation import check_array, check_consistent_length
label_desc: Use image node_id 4 for calling a global function with example usage: test_check_array_from_dataframe() without return types