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

Dewey Dunnington commented on ARROW-15250:
------------------------------------------

I don't think this will be an issue from a lubridate completist standpoint, 
since it's hard to round to a period like the one mentioned here:

{code:R}
lubridate::round_date(Sys.time(), unit = "1M1S")
#> Error in parse_period_unit(unit): Cannot't parse heterogenuous or fractional 
units larger than one minute.
{code}


> [Python][R] Temporal floor/ceil/round for should accept frequency string
> ------------------------------------------------------------------------
>
>                 Key: ARROW-15250
>                 URL: https://issues.apache.org/jira/browse/ARROW-15250
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Python, R
>            Reporter: Rok Mihevc
>            Priority: Minor
>              Labels: good-first-issue, kernel, timestamp
>
> Follow up to ARROW-14822. More user-friendly rounding period input can be 
> supported, e.g. 1D6H. See [Pandas 
> to_offset|https://github.com/pandas-dev/pandas/blob/a6c1f6cccee6bbccfb29488a94664ed07db024d9/pandas/_libs/tslibs/offsets.pyx#L3575-L3679]
>  and [lubridate's 
> period|https://lubridate.tidyverse.org/reference/period.html].



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

Reply via email to