Skip to content

Conversation

@Golixco
Copy link
Contributor

@Golixco Golixco commented Oct 3, 2025

📝 Description

This PR adds a beginner-friendly NumPy tutorial script under advanced/.
It demonstrates array creation, element-wise operations, and mathematical functions.
Contributes to: Advanced Issues -> Machine Learning & AI -> NumPy tutorials.

Brief description of changes made.
file changes are - advanced/numpy_tutorial.py

🎃 Hacktoberfest 2025

  • [yes] This PR is for Hacktoberfest 2025

🎯 Type of Change

  • 📝 Documentation update
  • 🐛 Bug fix
  • [yes] ✨ New feature
  • [yes] 🎨 Code example/tutorial
  • [yes] 🧪 Testing
  • 🔧 Code refactoring

📋 Difficulty Level

  • Beginner
  • Intermediate
  • [yes] Advanced

✅ Checklist

  • [yes] My code follows the style guidelines
  • I have performed a self-review
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • [yes] My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

🧪 Testing

Describe how you tested your changes.
Manually tested locally on Linux with Python 3:

Ran the script: python3 advanced/numpy_tutorial.py and verified printed outputs for array shapes, indexing, arithmetic, dot product, broadcasting, reshape, statistics, unique/sort, random array reproducibility (seeded), and comparisons.

Verified the try/except block demonstrates an invalid-axis error and the script continues without crashing.

📸 Screenshots (if applicable)

no screenshots included

Add screenshots to help explain your changes.

📎 Additional Notes

OS - Kali LInux
File added: advanced/numpy_tutorial.py

Branch used: feat/numpy

Commit message used: feat: add NumPy array operations tutorial

The script intentionally keeps a student-like tone (light comments and a small purposeful quirk) to fit the repo’s educational style.

Any additional information about this PR.
If maintainers prefer a different filename or folder placement, I can rename/move the file as requested.

@Golixco
Copy link
Contributor Author

Golixco commented Oct 3, 2025

Hi maintainers — the Hacktoberfest auto-label checks failed on this PR (looks like an Actions/permissions issue).
I’m just providing the code change; could you please re-run the workflow or add the Hacktoberfest label manually if everything looks fine?
Thanks! 🙏

@Golixco Golixco closed this Oct 6, 2025
@Golixco Golixco reopened this Oct 6, 2025
@N00BSC00B N00BSC00B merged commit 6e675ab into N00BSC00B:main Oct 8, 2025
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants