Skip to content

Rename axis to dim on aggregation methods#936

Open
ecomodeller wants to merge 2 commits into
mainfrom
refactor/axis-to-dim
Open

Rename axis to dim on aggregation methods#936
ecomodeller wants to merge 2 commits into
mainfrom
refactor/axis-to-dim

Conversation

@ecomodeller

Copy link
Copy Markdown
Member

Summary

  • Rename axis parameter to dim on all DataArray/Dataset aggregation methods (mean, max, min, std, quantile, etc.) to align with xarray's API
  • Old axis= keyword preserved as deprecated keyword-only arg with FutureWarning
  • All tests migrated to use dim=

Aligns with xarray's API naming convention. The old axis= keyword
is preserved as a deprecated keyword-only argument with FutureWarning.
All tests migrated to use the new dim= parameter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant