-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Added dot.md #7837
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
Added dot.md #7837
Conversation
Updated the dot product method documentation to clarify its behavior for different dimensional arrays and improved the syntax and example sections.
There was a problem hiding this 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! 🚀
Added return value details for the dot product operation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!!
|
👋 @Ananya44444 🎉 Your contribution(s) can be seen here: https://www.codecademy.com/resources/docs/numpy/ndarray/dot Please note it may take a little while for changes to become visible. |
* added dot.md * Enhance documentation for ndarray.dot() method Updated the dot product method documentation to clarify its behavior for different dimensional arrays and improved the syntax and example sections. * Update dot.md with return value information Added return value details for the dot product operation. * Apply suggestion from @avdhoottt * Apply suggestion from @avdhoottt --------- Signed-off-by: Prakhar Sharma <prakharsharma_mc24b06_001@dtu.ac.in>
Description
This PR adds a new entry for the
.dot()method of a NumPyndarray.The new file is located at
content/numpy/concepts/ndarray/terms/dot/dot.md.It covers the use of the method for both matrix multiplication (2D arrays) and the inner product (1D arrays), including syntax, a full example, and a compilable Codebyte.
Issue Solved
Issue #7827
Type of Change
Checklist
mainbranch.Issues Solvedsection.