News for hackers. Stuff that matters.
Re:My NumPy Year: Creating a DType for the Next Generation o... by Neywiny on Wednesday October 23, 2024 @06:55PM (#41930071)
That's an interesting write up and I hope the API change yields more useful data types. I'm not sure about the 28 byte size field, though. The way the rest of the code works it seems like a typo and sound be 8 bytes. I may dig into the code and find out.
Re:My NumPy Year: Creating a DType for the Next Generation o... by ngoldbaum on Thursday October 24, 2024 @09:40AM (#41935377)
Ah I could see how that’s confusing. I was trying to indicate that the size stored for the string in the example is 28, but it’s stored in a 64 bit uint.