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

Joris Van den Bossche 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).

Pandas has separate {{ceil}} and {{floor}} methods for timestamps as well for 
different rounding modes (but it's true that {{round}} doesn't really specify 
how it is rounding)

> [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
>            Assignee: Rok Mihevc
>            Priority: Minor
>              Labels: kernel, pull-request-available
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> 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