𝐃𝐚𝐲 5 | 𝐍𝐮𝐦𝐏𝐲 𝐀𝐫𝐫𝐚𝐲 𝐂𝐫𝐞𝐚𝐭𝐢𝐨𝐧 & 𝐕𝐞𝐜𝐭𝐨𝐫 𝐎𝐩𝐞𝐫𝐚𝐭𝐢𝐨𝐧𝐬 📊 Not long ago, these Python libraries for analysis felt unfamiliar and almost mysterious. But by showing up daily and working through them step by step, the logic is starting to click. What once looked strange is becoming intuitive, and it’s getting more interesting each day. Today was about multi-dimensional arrays and understanding how NumPy handles operations across axes. ✔️ Created NumPy arrays from nested lists ✔️ Extracted negative values using boolean indexing ✔️ Performed element-wise multiplication ✔️ Calculated sums across different axes ✔️ Built and reshaped a 3D array with arange() ✔️ Practiced slicing specific rows ✔️ Compared values across rows using vectorized logic Day 5 done. Looking forward to day 6 🚀 𝐎𝐬𝐭𝐢𝐧𝐚𝐭𝐨 𝐑𝐢𝐠𝐨𝐫𝐞 #NumPy #Python #DataAnalytics #DataScience #LearningInPublic #50_days_of_data_analysis_with_python
NumPy Operations & Vectorization in Python
More Relevant Posts
-
🧠 LeetCode Insight — Sliding Window + Frequency Maps Lately, I’ve been spending time strengthening my understanding of common problem-solving patterns. Today’s problem: Find All Anagrams in a String Instead of recomputing counts for every substring, this problem becomes much cleaner when approached with: a fixed-size sliding window a frequency map to track characters 💡 Key Observation If the character frequencies inside the current window match the target string, we’ve found an anagram. The window slides one step at a time, updating counts efficiently. PYTHON CODE: https://lnkd.in/gJuZUhEg 🎯 Takeaway Sliding window problems are less about pointer movement and more about maintaining the right state. Once the state is correct, the logic becomes straightforward. 👉 Which problem helped you truly understand the sliding window pattern? #Python #DataStructures #ProblemSolving #SlidingWindow #SoftwareEngineering #LearningInPublic
To view or add a comment, sign in
-
-
Day 41 – Counting Uppercase Letters in a String: Today’s task focused on identifying and counting uppercase letters in a user-provided string. By iterating through each character and applying conditional checks, the solution accurately detects uppercase characters. This exercise strengthened understanding of string traversal, built-in string methods, and logical conditions—key fundamentals for text analysis and data preprocessing. GitHub Code: https://lnkd.in/g5HQM5je #Day41 #100DaysOfCode #Python #StringManipulation #LogicBuilding #DailyCoding #Consistency
To view or add a comment, sign in
-
-
◻️ Built a Linear Regression model on the Tips dataset to analyze how factors like total bill, gender, smoking status, and dining time influence the tip amount. ◻️ The project includes data preprocessing, model training, and evaluation using R-squared and Mean Squared Error (MSE) to measure performance. 👉 Tools used: Python, Pandas, Sk_learn, Matplotlib, Seaborn GitHub :- https://lnkd.in/dbK6dZuF #DataScience #LinearRegression #MachineLearning #Python #Pandas #ScikitLearn #DataAnalytics
To view or add a comment, sign in
-
🐍 Day 22 — Functions in Python Day 22 of #python365ai 🧩 Functions group reusable code. Example: def greet(name): print("Hello", name) 📌 Why this matters: Functions improve readability and reduce repetition. 📘 Practice task: Write a function that adds two numbers. #python365ai #PythonFunctions #CleanCode #LearnPython
To view or add a comment, sign in
-
-
🚀 Leveling Up with NumPy in Python! Exploring array creation and slicing using np.arange() in JupyterLab. From simple lists to structured arrays, every line of code is a step toward deeper data understanding. 📌 Today’s practice: Created arrays with np.arange() Explored slicing techniques Reinforced fundamentals for data manipulation 🔍 Why it matters: These basics are the building blocks for data analysis, machine learning, and beyond. 💬 Curious to know—what was your first NumPy experiment? #Python #NumPy #JupyterLab #DataAnalytics #LearningJourney #HyderabadTech #LinkedInLearning
To view or add a comment, sign in
-
-
🌟 New Blog Just Published! 🌟 📌 5 Python Scripts to Automate Data Cleaning and Cut Hours 🚀 📖 Data-driven projects waste 60-80% of their timeline on cleaning alone. That means if you budget three months for a model, two of those months disappear before you ever touch an algorithm. Make sense?... 🔗 Read more: https://lnkd.in/dXZPJPBa 🚀✨ #python-data-cleani #pandas-automation #data-cleaning-scri
To view or add a comment, sign in
-
-
🧠 LeetCode Insight — Minimum Size Subarray Sum (Sliding Window) I’ve been spending time strengthening my understanding of common problem-solving patterns, and today I revisited a great example of the sliding window technique. Problem: Find the minimal length of a contiguous subarray whose sum is at least a given target. 💡 Key Idea Instead of checking all possible subarrays, we: Expand the window by moving the right pointer Shrink the window from the left as soon as the sum meets the condition Keep track of the smallest valid window length This ensures we never do unnecessary work. Python CODE: https://lnkd.in/gErMBvjV ⏱ Complexity Time: O(n) Space: O(1) 🎯 Takeaway What clicked for me here is that sliding window problems are really about finding the right moment to shrink the window. Once the condition is satisfied, shrinking early helps discover the optimal answer. 👉 Which sliding window problem helped you understand this pattern better? #Python #DataStructures #ProblemSolving #SlidingWindow #LeetCode #SoftwareEngineering #LearningInPublic
To view or add a comment, sign in
-
-
🔥 Day 29 of #75DaysOfDSA - Today’s Focus: -> Topic: String -> Language: Python - What I Worked On Today: -> Solved 1 DSA easy problems - Valid Palindrome II - Key Learnings / Takeaways: -> Uses two pointers from both ends of the string. On the first mismatch, try skipping either the left or right character and check if the remaining substring is a palindrome, allowing at most one deletion. -> Time Complexity : O(n) - Each character is visited at most a constant number of times. Even with the extra palindrome checks, the total work remains linear. -> Space Complexity : O(1) - The solution uses constant extra space since all checks are done using pointers without additional data structures. 📈 Progress So Far: -> Day: 29/75 -> Consistency > Motivation On to Day 30 🚀 #75DaysOfDSAChallenge #Day29 #DSA #Python #ProblemSolving #LearnInPublic #SoftwareEngineering #CareerGrowth #TechJourney #HR
To view or add a comment, sign in
-
🐍 Day 74 – NumPy dtypes: Mistakes that quietly drain Performance NumPy doesn’t get slow randomly. It gets slow when dtypes are left on autopilot. Here are some real-world dtype traps I’ve learned to watch for ❌ Letting NumPy default to float64 everywhere ❌ Mixing ints and floats inside tight loops ❌ Accidentally creating object arrays ❌ Using int64 when smaller ints are enough ❌ Repeated astype() calls in hot paths ❌ Silent upcasting during reductions ❌ Using Python lists before NumPy arrays Key takeaways ✅ Always check array.dtype (don’t assume) ✅ Be explicit with dtypes when creating arrays ✅ Validate dtypes after loading data ✅ Treat object dtype as a red flag, not a feature NumPy is fast because it’s strict — but that means we have to be intentional. Be explicit with dtypes. Python journey continues… onward and upward #MyPythonJourney #NumPy #Python #DataAnalytics #LearningInPublic #AnalyticsJourney
To view or add a comment, sign in
-
-
Pandas GroupBy is powerful — but only when you understand how it actually works. In Pandas Advanced – Part 6, I break down: GroupBy internals (split → apply → combine) When to use apply, agg, and transform How analysts think while writing Pandas code Why some GroupBy code feels slow in real projects 🎥 Full video: https://lnkd.in/gyw2KAyC 📂 Code & learning notes: https://lnkd.in/gdzNcMaT #pyaihub #Pandas #DataAnalysis #Python #LearningInPublic
To view or add a comment, sign in
-
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development