arrowdantic icon indicating copy to clipboard operation
arrowdantic copied to clipboard

Exporting to numpy & cloud file systems

Open benjaminrwilson opened this issue 2 years ago • 1 comments

Hi @jorgecarleitao,

Thanks for putting this library together -- it looks awesome! I had a few quick questions.

  1. What is the easiest way to convert to / from numpy using arrowdantic?
  2. Do you have any recommendations for reading Arrow files from cloud storage (e.g., s3 or gcs) that are backed by rust with python bindings?

benjaminrwilson avatar Jul 25 '22 19:07 benjaminrwilson

Hey @benjaminrwilson , sorry for the late reply, only now noticed this issue.

  • Currently we only support from/to iterators, so it would need to be through that. This is not very efficient, though.
  • The interfaces to read files support a Python file descriptor. So, use a Python lib to get that interface for the cloud storage (e.g. boto3's get_object) and pass it to the file reader.

jorgecarleitao avatar Sep 15 '22 04:09 jorgecarleitao