Open
Description
What is your issue?
I've discussed this a bunch with @dcherian (though I'm not sure he necessarily agrees, I'll let him comment)
Currently xarray uses ddof=0
for std
& var
. This is:
- Rarely what someone actually wants — xarray data is almost always a sample of some underlying distribution, for which
ddof=1
is correct - Inconsistent with pandas
OTOH:
- It is consistent with numpy
- It wouldn't be a painless change — folks who don't read deprecation messages would see values change very slightly
Any thoughts?