()
| 1650 | |
| 1651 | |
| 1652 | def test_sequence_decimal_negative(): |
| 1653 | data = [decimal.Decimal('-1234.234983'), decimal.Decimal('-8.094324')] |
| 1654 | for type in [pa.decimal64, pa.decimal128, pa.decimal256]: |
| 1655 | arr = pa.array(data, type=type(precision=10, scale=6)) |
| 1656 | assert arr.to_pylist() == data |
| 1657 | |
| 1658 | |
| 1659 | def test_sequence_decimal_no_whole_part(): |