How about multi dimensional list (numpy array)
arulalant opened this issue · 3 comments
Great work. I know I can write small loop to collect single dimensional arrays from multi dimesional numpy array to do compress and store into list of compressed strings. And get back to numbers by calling decompress into series of numbers to make original N-dimensional numpy array.
But still, do you have any further plan to extend this numcompress to take multi-dimensional array input ?
Thanks.
That's interesting. Does it make sense to have each dimension compressed separately or are you thinking more like entire multi-dimension array gets converted into single string?
If it's prior, it makes sense for it to live inside of numcompress. It's like multi-dimensional interface to the same underlying algorithm. If it's latter then probably makes sense to be it's own library that uses numcompress internally.
That being said, I'm pretty busy these days so probably wont' have much time to contribute to new functionality. If you want to send a pull request, I would be happy to review and merge it in.
I have opened new pr to support this check #5