[
https://issues.apache.org/jira/browse/ARROW-15250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17471964#comment-17471964
]
Rok Mihevc commented on ARROW-15250:
------------------------------------
The one benefit from shorthands I see is if you want to do an interval of
"1D1s" that's cleaner to write as unit="second", multiple=86401
(==24h*60min*60s + 1s).
I'm happy to mark this as Not A Problem and revisit later if users want it.
> [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)