wjones127 commented on issue #12396:
URL: https://github.com/apache/arrow/issues/12396#issuecomment-1035618025


   Could you provide the full column type? You can use 
`print(table.column('col_name').type)` to print it out.
   
   I was not able to reproduce that conversion issue with the following code on 
PyArrow 7.0.0 (nor 6.0.1):
   
   ```python
   import pyarrow as pa
   import pandas as pd
   
   data = [[('x', 1.0), ('y', 0.0)], [('a', 2.0), ('b', 45.0)]]
   ty = pa.map_(pa.string(), pa.float64())
   table = pa.table({'col': pa.array(data, type=ty)})
   table.to_pandas() # Works fine for me.
   ```
   
   Maybe verify that that works for you and double check your pyarrow version 
as well.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to