alteryx / alteryx/featuretools

DFS fails using Dask EntitySet with categorical index

オープン
#2,085 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
7.7k
フォーク
915
PR マージ指標
30日以内にマージされた PR はありません

説明

DFS fails on a Dask EntitySet that contains a categorical index

#### Code Sample - use the attached dataset

```python
import dask.dataframe as dd
import featuretools as ft

orders = dd.read_csv("orders.csv")

es = ft.EntitySet()

order_ltypes = {
"order_id": "categorical",
}

es.add_dataframe(dataframe_name="orders",
dataframe=orders,
index="order_id",
logical_types=order_ltypes)

fm, features = ft.dfs(entityset=es, target_dataframe_name="orders")

```

```
NotImplementedError: `df.column.cat.categories` with unknown categories is not supported. Please use `column.cat.as_known()` or `df.categorize()` beforehand to ensure known categories
```

[orders.csv](https://github.com/alteryx/featuretools/files/8730612/orders.csv)

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。