Skip to content

An in-depth guide to mastering NumPy, covering fundamental to advanced array operations for data science and numerical computing

License

Notifications You must be signed in to change notification settings

mr-pylin/numpy-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

68 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”’ NumPy Workshop

License Python Version Codacy Badge Code Style Repo Size Last Updated PRs Welcome

An in-depth guide to mastering NumPy, covering fundamental to advanced array operations for data science and numerical computing.

πŸ“– Table of Contents

πŸ“– Main Notebooks

  1. Array Basics
  2. Arithmetic Operations
  3. Comparative Operations
  4. Index & Slice
  5. Axes
  6. Array Manipulations
  7. NdArray properties & methods
  8. Array Creation
  9. Mathematics
  10. Statistics
  11. Sort, Search & Count
  12. Logic
  13. Set
  14. Linear Algebra
  15. Structured Array
  16. Input/Output
  17. Random Generator
  18. Fourier Transform
  19. Efficient Computing
  20. Miscellaneous
  21. Looking Ahead

πŸ“‹ Prerequisites

βš™οΈ Setup

This project requires Python v3.10 or higher. It was developed and tested using Python v3.12.8. If you encounter issues running the specified version of dependencies, consider using this version of Python.

πŸ“ List of Dependencies

Installing matplotlib and pandas is OPTIONAL. They are used exclusively in the Looking Ahead Notebook to show an application of using them.

ipykernel ipywidgets matplotlib numpy pandas

πŸ“¦ Installing Dependencies

πŸ“¦ Method 1: Poetry (Recommended βœ…)

Use Poetry for dependency management. It handles dependencies, virtual environments, and locking versions more efficiently than pip.
To install exact dependency versions specified in poetry.lock for consistent environments without installing the current project as a package:

poetry install --no-root

πŸ“¦ Method 2: Pip

Install all dependencies listed in requirements.txt using pip:

pip install -r requirements.txt

πŸ› οΈ Usage Instructions

  1. Open the root folder with VS Code (Ctrl/Cmd + K followed by Ctrl/Cmd + O).
  2. Open .ipynb files using the Jupyter extension integrated with VS Code.
  3. Select the correct Python kernel and virtual environment where the dependencies were installed.
  4. Allow VS Code to install any recommended dependencies for working with Jupyter Notebooks.

✍️ Notes:

  • It is highly recommended to stick with the exact dependency versions specified in poetry.lock or requirements.txt rather than using the latest package versions. The repository has been tested on these versions to ensure compatibility and stability.
  • This repository is actively maintained, and dependencies are updated regularly to the latest stable versions.
  • The table of contents embedded in the notebooks may not function correctly on GitHub.
  • For an improved experience, open the notebooks locally or view them via nbviewer.

πŸ”— Useful Links

NumPy

  • Official Website:
    • The official website for NumPy, providing information, tutorials, and resources for the NumPy library
    • Official site: numpy.org
  • Documentation
    • Comprehensive guide and reference for all functionalities and features of the NumPy library
    • Doc: numpy.org/doc
  • Source Code

Looking Ahead

πŸ” Find Me

Any mistakes, suggestions, or contributions? Feel free to reach out to me at:

I look forward to connecting with you! πŸƒβ€β™‚οΈ

πŸ“„ License

This project is licensed under the Apache License 2.0.
You are free to use, modify, and distribute this code, but you must include copies of both the LICENSE and NOTICE files in any distribution of your work.

About

An in-depth guide to mastering NumPy, covering fundamental to advanced array operations for data science and numerical computing

Topics

Resources

License

Stars

Watchers

Forks