alteryx / alteryx/woodwork

Update df.ww.value_counts to work with all column types

Aperta
#355 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Python
Stelle
155
Fork
24
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Currently `df.ww.value_counts` only returns counts for columns that have a `category` semantic tag added. This method might be useful for other columns as well. We could remove this restriction and if users only wanted to get the value counts for categorical columns they could preselect the columns of interest using the `select` method prior to calling `value_counts`:

```python
df.ww.select(include='category').value_counts()
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.