timsaucer opened a new issue, #1502:
URL: https://github.com/apache/datafusion-python/issues/1502

   From this comment:
   
   I wonder if it would feel more pythonic to accept None in addition to the 
empty list if the description is `No grouping`
   
   _Originally posted by @ntjohnson1 in 
https://github.com/apache/datafusion-python/pull/1498#discussion_r3106901823_
               
   
   This is in reference to doing aggregation like
   
   ```python
   df.aggregate([], [f.min(col("a")).alias("min_a")])
   ```
   
   The suggestion being that maybe it would be nice to take
   
   ```python
   df.aggregate(None, [f.min(col("a")).alias("min_a")])
   ```


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