code: def test_from_records_decimal(self):
      tuples = [(Decimal("1.5"),), (Decimal("2.5"),), (None,)]
  
      df = DataFrame.from_records(tuples, columns=["a"])
      assert df["a"].dtype == object
  
      df = DataFrame.from_records(
          tuples, columns=["a"], coerce_float=True
      )
      assert df["a"].dtype == np.float64
      assert np.isnan(df["a"].values[-1])
  
imports: from collections.abc import Iterator
  from datetime import datetime
  from decimal import Decimal
  import numpy
  import pytest
  import pytz
  from pandas._config import using_pyarrow_string_dtype
  from pandas.compat import is_platform_little_endian
  from pandas import CategoricalIndex, DataFrame, Index, Interval, RangeIndex, Series, date_range
  import pandas._testing
label_desc: Use image node_id 19 for calling the TestFromRecords obj's underlying member method code with example usage: obj.test_from_records_decimal() without return types