I'm slightly confused about
squares: !core/ndarray-1.0.0
This is supposed to be a format, but a numpy array is a python concept. So that seems like a weird mismatch. And it is just a block of numbers really, so it seems odd to make it a special python thing.I also wasn't able to see how to store more complicated data, like a symmetric sparse matrix.