kevinjqliu commented on issue #727:
URL: https://github.com/apache/iceberg-python/issues/727#issuecomment-2105961303

   > KeyError: 'f'
   
   Feels like it's treating the string as a list of characters. I think 
`selected_fields` should be a tuple of strings.
   
   ```
   table.scan(selected_fields=('file',),).to_pandas()
   ```
   
   Notice the `,` after `'file'`, which turns it into a tuple


-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to