Raj Halwai’s Post

Day 4 of 47: Stop writing loops to find your data! 🛑 Using a for loop on 1M rows? That’s the slow way. Today I explored NumPy’s high-speed Search & Sort: 🔍 np.where() – Finds values instantly using vectorization and returns their indices. 📊 np.sort() – Efficiently sorts large datasets (QuickSort by default). 💎 argsort() – Returns sorting indices without disturbing original data (perfect for sorting one column while keeping others aligned). 💡 In Data Science, we care more about where the value is than the value itself. Next: Analyzing Batting Performance! 🏏 #DataScience #NumPy #Python #LearningJourney

  • graphical user interface, application

To view or add a comment, sign in

Explore content categories