[ 
https://issues.apache.org/jira/browse/ARROW-14822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17448719#comment-17448719
 ] 

David Li commented on ARROW-14822:
----------------------------------

It appears pandas has a similar operation: 
[https://pandas.pydata.org/docs/reference/api/pandas.Series.dt.round.html] 
which also has options for handling ambiguous/nonexistent dates. Neither allow 
you to control the rounding mode (and it is not specified for Pandas). Postgres 
only implements truncation: 
[https://www.postgresql.org/docs/14/functions-datetime.html#FUNCTIONS-DATETIME-TRUNC]

 

> [C++] Implement floor/ceil/round for temporal objects
> -----------------------------------------------------
>
>                 Key: ARROW-14822
>                 URL: https://issues.apache.org/jira/browse/ARROW-14822
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++
>            Reporter: Nicola Crane
>            Priority: Minor
>
> This would enable us to implement the linked R ticket



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to