More on re-indexing

Open
#144 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
jupyter-notebook

Research direction

Start by reviewing the existing tutorial coverage for reindex, reindex_like, groupby, and groupby_bins, then examine the linked Stack Overflow example. Done would be practical guidance or examples for indexing and re-indexing with gappy or poorly gridded data, including whether these topics are already covered.

Written by the indexing model from the issue text.

Description

enhancement

xarray has some pretty powerful, indexing, re-indexing, and binning capabilities. My knowledge of them all is pretty limited, but reindex, reindex_like, groupby and groupby_bins all seem like useful targets for operations that folks dealing with practical, happy gappy, poorly gridded data, could use some help with.

e.g. I couldn't figure this out on my own: https://stackoverflow.com/questions/73760046/replace-some-values-in-dataarray-based-on-list-of-indices/73790162#73790162

I appreciate that some of this is probably old-hat for pandas users, but some of us just skipped right to xarray ;-)

Thanks!

PS, apologies if this is covered in the tutorial and I haven't seen it.

Dominant language
Jupyter Notebook
Stars
204
Forks
121
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from xarray-contrib/xarray-tutorial

All issues in xarray-contrib/xarray-tutorial

Similar issues

More Data Engineering issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.