aplbrain / aplbrain/npyjs

Support for all numpy dtypes

Abierto
#43 4 comentarios 3 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
99
Forks
24
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Numpy supports the following dtypes as per [the docs](https://numpy.org/doc/stable/reference/arrays.dtypes.html#specifying-and-constructing-data-types). However `npyjs` only supports the following:

| character | description | supported |
| --- | --- | --- |
| '?' | boolean | NO |
| 'b' | (signed) byte | NO |
| 'B' | unsigned byte | NO |
| 'i' | (signed) integer | YES |
| 'u' | unsigned integer | YES |
| 'f' | floating-point | YES |
| 'c' | complex-floating point | NO |
| 'm' | timedelta | NO |
| 'M' | datetime | NO |
| 'O' | (Python) objects | N/A |
| 'S', 'a' | zero-terminated bytes (not recommended) | NO |
| 'U' | Unicode string | NO |
| 'V' | raw data ([void](https://numpy.org/doc/stable/reference/arrays.scalars.html#numpy.void)) | NO |

Would be great to add these in.

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.