You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "krzysztof-kwitt (via GitHub)" <gi...@apache.org> on 2023/02/20 14:33:26 UTC

[GitHub] [arrow-datafusion-python] krzysztof-kwitt commented on pull request #197: Implement `to_pandas()`

krzysztof-kwitt commented on PR #197:
URL: https://github.com/apache/arrow-datafusion-python/pull/197#issuecomment-1437117775

   Can you also update the documentation?
   https://github.com/apache/arrow-datafusion-python/blame/main/README.md#L73-L77
   ```diff
   -# collect as list of pyarrow.RecordBatch
   -results = df.collect()
   -# get first batch
   -batch = results[0]
   -# convert to Pandas
   -df = batch.to_pandas()
   # collect as pandas
   df = df.to_pandas()
   ```
   and
   https://github.com/apache/arrow-datafusion-python/blob/950a5789b612f97794ff7250310ae3289227590f/examples/sql-to-pandas.py#L36-L43


-- 
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: github-unsubscribe@arrow.apache.org

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