alteryx / alteryx/woodwork

Support selecting by instantiated Logical Type

未关闭
#234 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
new feature
主要语言
Python
星标
155
派生
24
PR 合并指标
30 天内没有已合并 PR

描述

- 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)
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。