I was using
h5py to read in some files, casually.
h5f = h5py.File(..., "r") h5f['kVals'].value
then I see this deprecation warning:
dataset.value has been deprecated. Use dataset[()] instead.
I guess if you look really close you would see what they mean, but the two syntaxes I immediately tried are
h5py.dataset(...). It turns out the correct one is:
Could not wrap my head around as to how that is supposed to be better than