alteryx / alteryx/woodwork

Support selecting by instantiated Logical Type

Open
#234 1 comment 0 reactions 0 assignees View on GitHub
new feature
Dominant language
Python
Stars
155
Forks
24
PR merge metrics
No merged PRs in 30d

Description

- We should allow users to select with instantiated Logical Types.
- For example, select with an instantiated Datetime with a specific format.

```python
ymd_format = Datetime(datetime_format='%Y~%m~%d')

df = pd.DataFrame({
'dates': ["2019/01/01", "2019/01/02", "2019/01/03"],
'ymd': ["2019~01~01", "2019~01~02", "2019~01~03"],
})
dt = DataTable(df,
logical_types={'ymd': ymd_format,
'dates': Datetime})
dt.select(ymd_format)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.