-
-
Notifications
You must be signed in to change notification settings - Fork 138
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
Add N-Dimensional Array Creator snippet #260
base: main
Are you sure you want to change the base?
Add N-Dimensional Array Creator snippet #260
Conversation
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.
Hey, Thank you for your contribution.
After reviewing your PR we've found that the snippet you are adding doesn't match the scope of Quicksnip.
As it is an example instead of a snippet
Please make it so your snippet match the guidelines before further reviewing can take place
If no fix is provided within 7-10 days this PR will be closed without further notice
Hi @Mathys-Gasnier , Thank you for reviewing my pull request. I've updated the snippet to better align with Quicksnip's guidelines. The revised version is now more concise, follows the snippet format, and includes a clear usage example within the snippet itself. Hereβs the updated snippet: Title: N-Dimensional Array Creator
|
"""Creates an N-dimensional NumPy array filled with a given value.""" | ||
return np.full([1] * n, fill_value) | ||
|
||
# Example usage: |
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.
the usage comment should be # Usage:
to follow our standard
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.
Ok
Oh and btw, i've just noticed that your folder is named |
I have changed nad modified whats needed so please check it out |
You need to have an example section, I was telling you to un comment it, not to delete it.
|
Description
Type of Change
Checklist
Related Issues
Closes #
Additional Context
Screenshots (Optional)
Click to view screenshots