Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: Add data= examples and async note (fix #2809) #2890

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

OPMTerra
Copy link
Contributor

@OPMTerra OPMTerra commented Mar 4, 2025

This PR improves documentation for the data parameter in array creation (#2809).

What's Included

  • Example using data=... for concise array creation
  • Code comparison showing equivalent methods

Verification

✅ Docs updated in user-guide/arrays.rst
✅ Built & previewed locally ([screenshot](
Screenshot 2025-03-18 212638
)
✅ No code changes needed

These changes help users:

  1. Write cleaner, more readable code
  2. Understand method equivalence

I'm happy to make any adjustments needed! 😊
@OPMTerra

@github-actions github-actions bot added the needs release notes Automatically applied to PRs which haven't added release notes label Mar 4, 2025
OPMTerra and others added 2 commits March 18, 2025 21:08
Shape inferred from data

Co-authored-by: Joe Hamman <[email protected]>
@OPMTerra
Copy link
Contributor Author

I've updated the screenshot to reflect the latest changes:

  • Removed redundant shape parameter
  • Simplified code example

@jhamman jhamman enabled auto-merge (squash) March 18, 2025 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs release notes Automatically applied to PRs which haven't added release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants