Skip to content

Conversation

@Rishabh1925
Copy link
Contributor

Closes #7820

This Pull Request adds the new documentation entry for the NumPy ndarray method, .view().

Implementation Details:

  • File Path: Created the file at the required location: docs/content/numpy/concepts/ndarray/terms/view/view.md.
  • Core Concept: The entry clearly explains the difference between a view (memory sharing) and a copy, demonstrating that changes made to the view affect the original array.
  • Structure: The entry includes the mandatory sections: Description, Syntax, and Example.
  • Codebyte: Included a Codebyte section with compilable Python code for user experimentation.
  • Compliance: Follows the Codecademy documentation and Markdown style guides.

@Rishabh1925
Copy link
Contributor Author

Hello! @codecademy-docs @mamtawardhani
Made a whole new PR and have finished creating the new term entry for ndarray.view().

The documentation focuses on clarifying the crucial concept of memory sharing, and the submission includes the required Codebyte section. Ready for review!

@mamtawardhani mamtawardhani self-assigned this Nov 6, 2025
Copy link
Collaborator

@mamtawardhani mamtawardhani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good for a second review ! 🚀

@Sriparno08 Sriparno08 self-assigned this Nov 13, 2025
@Sriparno08 Sriparno08 added status: under review Issue or PR is currently being reviewed and removed status: ready for next review labels Nov 13, 2025
Copy link
Collaborator

@Sriparno08 Sriparno08 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, @Rishabh1925!

@Sriparno08 Sriparno08 merged commit bdbcb90 into Codecademy:main Nov 14, 2025
7 checks passed
@github-actions
Copy link

👋 @Rishabh1925
You have contributed to Codecademy Docs, and we would like to know more about you and your experience.
Please take a minute to fill out this four question survey to help us better understand Docs contributions and how we can improve the experience for you and our learners.
Thank you for your help!

🎉 Your contribution(s) can be seen here:

https://www.codecademy.com/resources/docs/numpy/ndarray/view

Please note it may take a little while for changes to become visible.
If you're appearing as anonymous and want to be credited, visit the linked accounts page and ensure that your GitHub account is linked.

@Sriparno08 Sriparno08 added status: review 2️⃣ completed and removed status: under review Issue or PR is currently being reviewed labels Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Term Entry] Python NumPy - ndarray: view()

3 participants