alteryx / alteryx/woodwork

Check whether a column is a Datetime without relying on default Datetime LogicalType

Abierto
#506 3 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Python
Estrellas
155
Forks
24
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

In checking whether a column is a valid time index, we check if `ltype_class == ww.logical_types.Datetime`, which means that if a user wanted to deregister the `Datetime` LogicalType and add in one of their own, they would not be able to make any columns that use that LogicalType a time index.

We should have another way of defining if a LogicalType is permissable for time indices.
- Maybe a `datetime` standard tag (not great, because it'll look weird with the Datetime Logical Type)

Guía de contribución

Abrir la guía de contribución

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.