alteryx / alteryx/woodwork

Add List Logical Type

オープン
#1,131 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
needs design new feature spike
主要言語
Python
スター
155
フォーク
24
PR マージ指標
30日以内にマージされた PR はありません

説明

- When you have NaturalLanguage columns, you might want to calculate the average/median/total word length.
- To calculate all of those you would need to get the word length (for each word in the row value).
- We can therefore create a new List Logical Type, that will be a list of integer values, to handle this situation.
```python
class List(LogicalType):
primary_dtype = 'object'
standard_tags = {}
```
```
nlp word_length
1 having 3 words [6, 1, 5]
5 having 2 [6, 1]
9 having 4 words . [6, 1, 5, 1]
```

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

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

評価

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

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

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