alteryx / alteryx/nlp_primitives

Use a consistent return_type for Count* primitives

Abierto
#156 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
37
Forks
13
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

In some counting primitives we are using a `Double` return type (like `PartOfSpeechCount`) while in others `IntegerNullable` is used as the return type (like `NumUniqueSeparators`).

Given that all of the counting primitives should be returning a whole number (or optionally null), `IntegerNullable` seems like a more appropriate return type to use than `Double`. We should investigate if there is a reason for using `Double` in some primitives, and, if possible, convert these to use an `IntegerNullable` return type.

Primitives to study:
- MedianWordLength
- PartOfSpeechCount
- PunctuationCount
- TitleWordCount
- TotalWordLength
- UpperCaseCount

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.