influxdb-python icon indicating copy to clipboard operation
influxdb-python copied to clipboard

dframe conversion to string in _dataframe_client.py does not support unicode

Open mkarlesky opened this issue 8 years ago • 2 comments

We discovered this while trying to process a field of string type that included the degree character, °.

We hacked a patch by replacing any call dframe.astype(str) with dframe.astype(unicode) within _stringify_dataframe().

mkarlesky avatar Oct 23 '17 19:10 mkarlesky

Would you be willing to prepare a patch for this issue (and a test)? If not, I should be able to get to it this week. Thanks for reporting!

xginn8 avatar Oct 31 '17 12:10 xginn8

We were far from certain if our hack was the best way to fix the issue. And, we are not at all familiar with the test suite for the project. While we would love to help more, we feel we’re not the best source for correcting the problem and contributing to the project beyond reporting it.

Thank you for following up.

mkarlesky avatar Oct 31 '17 13:10 mkarlesky