Implemented unicode dtype support and a dump to blob function#55
Closed
sebaB003 wants to merge 6 commits into
Closed
Implemented unicode dtype support and a dump to blob function#55sebaB003 wants to merge 6 commits into
sebaB003 wants to merge 6 commits into
Conversation
for the moment it is simply stored as a uint16 array. The lowercase conversion is removed since it makes no difference between U (unicode) and u (unsigned int)
The dump function allows to create a npy file from a javascript Array object or typed arrays. In the case of Array object the dtype is infered. The dump function returns a Blob object that can be saved to a file. A loadBlob function has been added to load a npy from a Blob object. Added tests for the dump function
Member
Contributor
Author
|
I'm going to rework my changes on top of the #52 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implemented U (unicode) data handling in parse function
Implemented a
dumpfunction to save a JavaScript Array object or typed array in npy format as a Blob object.Added tests for the dump functionality.