# What you can do with NumPy: # 1. Data analysis (pandas builds on NumPy) # 2. Machine learning (scikit-learn uses NumPy) # 3. Image processing (OpenCV, PIL) # 4. Scientific computing (SciPy) # 5. Deep learning (TensorFlow, PyTorch) # Example: Linear regression in one line X = np.random.random((100, 2)) y = np.random.random(100) weights = np.linalg.lstsq(X, y, rcond=None)[0]