Skip to content

Conversation

@riyadey27
Copy link

Description

This PR adds a new term entry for the NumPy ndarray.copy() method.

The new file, content/numpy/concepts/ndarray/terms/copy/copy.md, explains what copy() does (creating an independent copy vs. a view), its syntax, parameters, return value, and includes both a standard example and a runnable Codebyte example, following the project's templates and style guides.

Issue Solved

Closes #7819

Type of Change

  • Adding a new entry
  • Editing an existing entry (fixing a typo, bug, issues, etc)
  • Updating the documentation

Checklist

  • All writings are my own.
  • My entry follows the Codecademy Docs style guide.
  • My changes generate no new warnings.
  • I have performed a self-review of my own writing and code.
  • I have checked my entry and corrected any misspellings.
  • I have made corresponding changes to the documentation if needed.
  • I have confirmed my changes are not being pushed from my forked main branch.
  • I have confirmed that I'm pushing from a new branch named after the changes I'm making.
  • I have linked any issues that are relevant to this PR in the Issues Solved section.

@CLAassistant
Copy link

CLAassistant commented Oct 28, 2025

CLA assistant check
All committers have signed the CLA.

@mamtawardhani mamtawardhani self-assigned this Oct 28, 2025
Updated metadata and improved clarity in the description and examples for the copy() method in NumPy.
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! 🚀

@riyadey27
Copy link
Author

Hello!
Please review.

@Sriparno08 Sriparno08 self-assigned this Oct 29, 2025
@Sriparno08 Sriparno08 added status: under review Issue or PR is currently being reviewed and removed status: ready for next review labels Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new entry New entry or entries numpy NumPy entries python Python entries status: review 1️⃣ completed status: under review Issue or PR is currently being reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

4 participants