code: def test_astype_from_float_dtype(float_dtype, dtype):
      # https://github.com/pandas-dev/pandas/issues/36451
      ser = pd.Series([0.1], dtype=float_dtype)
      result = ser.astype(dtype)
      expected = pd.Series(["0.1"], dtype=dtype)
      tm.assert_series_equal(result, expected)
  
imports: import operator
  import numpy
  import pytest
  from pandas.compat.pyarrow import pa_version_under12p0
  from pandas.core.dtypes.common import is_dtype_equal
  import pandas
  import pandas._testing
  from pandas.core.arrays.string_arrow import ArrowStringArray, ArrowStringArrayNumpySemantics
label_desc: Use image node_id 38 for calling a global function with example usage: test_astype_from_float_dtype(float_dtype, dtype) without return types