aplbrain / aplbrain/npyjs

Support for all numpy dtypes

Đang mở
#43 4 bình luận 3 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
99
Fork
24
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.