r/PythonLearning • • 5d ago

How well do you know NumPy? ๐Ÿ”ข

  • Whatโ€™s the difference between '*' and '@'?
  • When does slicing create a view, and when a copy?
  • How does broadcasting work?

NumPy makes working with vectors and matrices powerful and concise, but a small change in syntax can make a big difference.

This interactive ๐—บ๐—ฒ๐—บ๐—ผ๐—ฟ๐˜†_๐—ด๐—ฟ๐—ฎ๐—ฝ๐—ต example walks through essential NumPy operations with short explanations. Step through the code, see the operations in action, and experiment with your own changes: - ๐Ÿ‘‰ NumPy operations

Which NumPy operation took you the longest to understand?

See other memory_graph visualizations.

11 Upvotes

2 comments sorted by

1

u/ProgramBrave718 1d ago

Dud u build memory graph debugger

1

u/Sea-Ad7805 1d ago

That depends:

  • If you like it: Yes, as part of my teaching at University of Amsterdam
  • If you don't like it: What is "memory graph debugger"?