Added
- Added `to_values` method to access underlying array data. This should be
preferred to `.values` attribute.
- Added `to_numpy` method to access underlying `numpy.ndarray`.
- Added `to_dataarray` method to access underlying `xarray.DataArray` in
`xCentralMoment s`
- Added submodule `cmomy.random` to handle random numbers generation. This uses
`numpy.random.Generator` behind the scenes.
- Updated `ruff` lintering rules
- Now using `hatchling` for package building
- Update repo template
Changed
- Now CentralMoments and xCentralMoments ensure that data/data_flat share
memory. This may result in passed data not being the same as the internal
data, if reshaping data creates a copy.
- Made little used arguments keyword only