code: def test_decimal_roundtrip_negative_scale(tempdir):
      expected = pd.DataFrame(
          {"decimal_num": [decimal.Decimal("1.23E4")]}
      )
      filename = tempdir / "decimals.parquet"
      string_filename = str(filename)
      t = pa.Table.from_pandas(expected)
      _write_table(t, string_filename)
      result_table = _read_table(string_filename)
      result = result_table.to_pandas()
      tm.assert_frame_equal(result, expected)
  
imports: import decimal
  import io
  import numpy
  import pytest
  import pyarrow
  from pyarrow.tests import util
  from pyarrow.tests.parquet.common import _check_roundtrip
label_desc: Use image node_id 8 for calling a global function with example usage: test_decimal_roundtrip_negative_scale(tempdir) without return types