timsaucer opened a new pull request, #839:
URL: https://github.com/apache/datafusion-python/pull/839

   # Which issue does this PR close?
   
   Closes #713
   Closes #807
   Closes #810
   
   Also no issue assigned but fixes a bug in `functions.array()`
   
    # Rationale for this change
   
   These are a handful of usability improvements.
   
   # What changes are included in this PR?
   
   - Adds `_repr_html_` to get a nice output in notebooks
   - Allows for using `[]` to access array elements in an expression. If column 
`a` is a list of integers you could do `col(a)[0]` to get the first element in 
the list.
   - Fixes an error in `array` so it operates correctly.
   - Adds `DataFrame.transform()` which makes chaining dataframe operations 
easier.
   
   <img width="1088" alt="reprhtml" 
src="https://github.com/user-attachments/assets/de7e4000-fd1f-41b5-81bf-57350ef98503";>
   
   
   # Are there any user-facing changes?
   
   No API changes, but the above all enhance usability.


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to