innobi / pantab

Read/Write pandas DataFrames with Tableau Hyper Extracts
BSD 3-Clause "New" or "Revised" License
94 stars 35 forks source link

data with Decimal 0 will fail when frame_to_hyper #339

Open reactyang opened 3 hours ago

reactyang commented 3 hours ago

Describe the bug data with decimal 0 will fail when frame_to_hyper with error like :

To Reproduce Steps to reproduce the behavior:

change one decimal to 0 or 0E-10, 0.00 in test_decimal.py  will fail the test.
i.e. change line #101 to "0.00" or "0E010"

Expected behavior df with 0(decimals) should also be saved to hyper. Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information): reproduce in windows/Linux

WillAyd commented 2 hours ago

Thanks for the bug report - can you provide an MRE to reproduce the issue?