apache / apache/arrow

[C++][Python][R] Add format inference option to StrptimeOptions

Open
#31,120 5 comments 0 reactions 0 assignees View on GitHub
Component: C++ Component: Python Component: R Type: enhancement
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

We want to have an option to infer timestamp format.

See [pandas.to_datetime](https://pandas.pydata.org/docs/reference/api/pandas.to_datetime.html) and lubridate [parse_date_time](https://lubridate.tidyverse.org/reference/parse_date_time.html) for examples.

**Reporter**: [Rok Mihevc](https://issues.apache.org/jira/browse/ARROW-15666) / @rok
**Watchers**: [Rok Mihevc](https://issues.apache.org/jira/browse/ARROW-15666) / @rok
#### Related issues:
- [[C++] Strptime issues umbrella](https://github.com/apache/arrow/issues/31324) (is a child of)

**Note**: *This issue was originally created as [ARROW-15666](https://issues.apache.org/jira/browse/ARROW-15666). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*

Contributor guide

Open the contributing guide

Research direction

Start by reviewing StrptimeOptions and the related C++ Strptime issues umbrella, then compare the referenced pandas.to_datetime and lubridate parse_date_time behavior. Define the intended format-inference option across the C++, Python, and R interfaces; done means the behavior and scope are specified and covered consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python, r
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.