Support selecting by instantiated Logical Type
未关闭
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 还没有评估数据。