<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by ABDULMALIK BASHIR on Medium]]></title>
        <description><![CDATA[Stories by ABDULMALIK BASHIR on Medium]]></description>
        <link>https://medium.com/@CREATIVEABDULMALIK?source=rss-3267cc42fa6d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*enTpY3pLqJqYOEKNWDcE9w.jpeg</url>
            <title>Stories by ABDULMALIK BASHIR on Medium</title>
            <link>https://medium.com/@CREATIVEABDULMALIK?source=rss-3267cc42fa6d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 12:34:38 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@CREATIVEABDULMALIK/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Why Good Data Isn’t an Accident: What I’ve Learned About Data Quality Rules.]]></title>
            <link>https://medium.com/@CREATIVEABDULMALIK/why-good-data-isnt-an-accident-what-i-ve-learned-about-data-quality-rules-dfb0eb1b5938?source=rss-3267cc42fa6d------2</link>
            <guid isPermaLink="false">https://medium.com/p/dfb0eb1b5938</guid>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[ABDULMALIK BASHIR]]></dc:creator>
            <pubDate>Mon, 09 Jun 2025 06:54:25 GMT</pubDate>
            <atom:updated>2025-06-09T06:54:25.527Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/735/1*Bm-sxjXbqMArjNu8LKQtvQ.jpeg" /><figcaption>DATA QUALITY RULES</figcaption></figure><p>When I first started exploring data science, I was eager to dive into models, visualizations, and insights. But as I’ve moved deeper into the journey, I’ve come to understand that none of those things matter if the data isn’t trustworthy. That’s where data quality rules come in.</p><p>In this post, I want to share what I’ve learned about these rules — not just the definitions, but why they matter, especially if you care about making real, reliable decisions from data.</p><p><strong>What Are Data Quality Rules</strong>?</p><p>Data quality rules are standards or checks used to ensure that the data you&#39;re working with is accurate, complete, consistent, and useful. They act like a quiet checklist behind the scenes, helping us make sure that our data reflects reality as closely as possible.</p><p>I used to think of data as something static — you get it, and you use it. But now I see that data is messy. People enter it in different ways, systems fail, and sometimes, things just don’t make sense. That’s why we need rules.</p><p><strong>The Key Data Quality Rules I’ve Learned</strong></p><p>Here are some of the most important rules that help keep data in shape:</p><p>1. <strong>Completeness</strong></p><p>This checks whether all required fields have been filled in. For example, if we’re collecting data on households, every record should have a household ID, location, and size. Missing values can quietly weaken the dataset, especially if they’re in critical fields.</p><p>2. <strong>Uniqueness</strong></p><p>Every record should be unique — no duplicate entries. This rule helps avoid counting the same data twice, which could mislead any analysis or decision.</p><p>3. <strong>Accuracy</strong></p><p>This checks whether the data matches the real-world values it’s supposed to represent. For example, if someone’s age is recorded as 140, that’s a clear signal something is wrong.</p><p>4. <strong>Consistency</strong></p><p>Data should not contradict itself. If someone is marked as &quot;<strong>married</strong>&quot; in one column and “<strong>single</strong>” in another, something’s off. Consistency checks help make sure all related data points agree with one another.</p><p>5. <strong>Validity</strong></p><p>This ensures the data follows the correct format or rules. If a column is supposed to hold dates, all entries should be valid dates. If a field expects a &quot;Yes&quot; or &quot;No&quot;, then entries like &quot;Maybe&quot; or blank aren’t valid.</p><p>6. <strong>Timeliness</strong></p><p>Good data should be up to date. If you’re using old information for a current analysis, the insights may no longer apply. This rule is especially important in fast-moving sectors like healthcare, finance, or emergency response.</p><p><strong>Why These Rules Matter</strong></p><p>I’ve seen how small issues in a dataset can grow into bigger problems during analysis. A few missing values or mismatched formats can throw off an entire model. Worse, they can lead to decisions based on flawed information.</p><p>But the point of data science isn’t just to build models or run analysis. It’s to support decisions — decisions that might affect people’s lives, businesses, or communities. That’s why data quality matters. It’s not about perfection, but about trust.</p><p><strong>My Take as a Data Enthusiast</strong></p><p>As someone still learning and growing in this space, I’ve started to appreciate the quiet, often invisible work of data quality assurance. It doesn’t get as much attention as machine learning or visualization. But without it, the rest of the work might not hold up.</p><p>It’s made me more careful. Now, when I get a new dataset, I ask questions:<br>– <strong>What’s missing?</strong><br>– <strong>What doesn’t make sense?</strong><br>– <strong>Can I trust this?</strong></p><p>These small habits are shaping how I approach data — not just as numbers in a spreadsheet, but as something that tells a story, with all its strengths and flaws.</p><p>finally, If you’re just getting into data science like me, I encourage you not to skip the &quot;<strong>boring</strong>&quot; parts.</p><p>Data quality rules may not seem exciting at first, but they are essential. They help us build trust in our data, and that trust becomes the foundation for everything else we do.</p><p>Thanks for reading. If you’ve ever struggled with messy data or discovered an issue through a quality check, I’d love to hear about it in the comments.</p><p><strong>Abdulmalik Bashir</strong></p><p><strong>Data Analyst and Research.</strong></p><p>abdulmalikbashir364@gmail.com</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dfb0eb1b5938" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Data Preparation Is the Step You Shouldn’t Skip]]></title>
            <link>https://medium.com/@CREATIVEABDULMALIK/why-data-preparation-is-the-step-you-shouldnt-skip-b5e6d37d4c01?source=rss-3267cc42fa6d------2</link>
            <guid isPermaLink="false">https://medium.com/p/b5e6d37d4c01</guid>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-engineering]]></category>
            <dc:creator><![CDATA[ABDULMALIK BASHIR]]></dc:creator>
            <pubDate>Mon, 02 Jun 2025 06:33:25 GMT</pubDate>
            <atom:updated>2025-06-02T06:35:29.008Z</atom:updated>
            <content:encoded><![CDATA[<p>Getting the Data Ready: A Beginner’s Guide to Data Preparation Techniques.</p><figure><img alt="Statistics on a laptop" src="https://cdn-images-1.medium.com/max/1024/0*nWsDLNcBOPq-S7c8" /><figcaption>DATA PREPARATION</figcaption></figure><p>Before we can build models or analyze patterns From data set , there’s something we need to do first is data preparation and cleaning to ensure the quality and accuracy of our model:</p><p><strong>prepare the data</strong>. This week, I learned that no matter how powerful your machine learning algorithm is, it’s only as good as the data you feed it.</p><p>In the world of data science, data preparation is the quiet but important process that makes everything else possible. In this blog post, I’ll walk you through some of the basic techniques I’ve learned as a beginner.</p><h3>What Is Data Preparation?</h3><p>Data preparation is the process of cleaning and organizing raw data before analysis or modeling. It helps make sure the data is accurate, complete, and in the right format. Without this step, we risk building models based on wrong assumptions or messy data.</p><h3>Key Data Preparation Techniques I’ve Learned</h3><h3>1. <strong>Handling Missing Values</strong></h3><p>Sometimes, data is incomplete. For example, a dataset might have rows where some values are missing. You can either:</p><p><strong>Remove</strong> those rows or columns, or<br><strong>Fill</strong> them with a default value <strong>(like 0, mean, or median).</strong></p><p>This depends on how much data is missing and how important the missing values are.</p><h3>2. <strong>Removing Duplicates</strong></h3><p>Duplicate rows can mislead analysis. With tools like Pandas, it’s easy to remove them using <strong>.drop_duplicates()</strong> This helps to keep your dataset clean and reliable.</p><h3>3. Converting Data Types</h3><p>Data may come in the wrong format—like numbers stored as text. So we convert them to the correct data types using <strong>`.astype()`</strong> to make sure we can work with them properly during analysis.</p><h3>4. Standardizing Column Names</h3><p>When datasets have inconsistent column names <strong>(like spaces, capital letters, or typos),</strong> it becomes harder to work with. A quick clean-up—like renaming columns to lowercase and using underscores—makes things more organized.</p><p><strong>5. Encoding Categorical Variables</strong></p><p>Sometimes, data contains text like <strong>&quot;Male&quot; or &quot;Female&quot;, &quot;Yes&quot; or &quot;No&quot;.</strong> But machine learning models work with numbers. So we convert these into numeric formats using:</p><p>° <strong>Label encoding<br>° One-hot encoding</strong></p><p>This step is small but important for data analysis and model accuracy.</p><h3>Why This Step Matters</h3><p>As someone new to data science, it’s easy to get excited about analyzing data set and building models. But this week reminded me that <strong>good data leads to better results.</strong> Preparing the data properly might not feel glamorous, but it’s where the real work happens.</p><p>Learning about data preparation helped me appreciate the importance of understanding my dataset before jumping into analysis. It&#39;s a step-by-step process that requires patience, attention to detail, and a clear understanding of the problem you&#39;re trying to solve.</p><p>As I continue in this journey, I’m learning that strong foundations—like clean, well-prepared data—make all the difference.</p><p><strong>Abdulmalik Bashir</strong></p><p><strong>Data analyst and Research specialist</strong></p><p><strong>abdulmalikbashir364@gmail.com</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b5e6d37d4c01" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Pandas Helped Me See the Shape of Data Clearly.]]></title>
            <link>https://medium.com/@CREATIVEABDULMALIK/how-pandas-helped-me-see-the-shape-of-data-clearly-b8798480a0b4?source=rss-3267cc42fa6d------2</link>
            <guid isPermaLink="false">https://medium.com/p/b8798480a0b4</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[ABDULMALIK BASHIR]]></dc:creator>
            <pubDate>Mon, 26 May 2025 07:00:28 GMT</pubDate>
            <atom:updated>2025-05-26T07:00:28.393Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/682/1*SzPceWm-CSJsdbqvBPzD7A.jpeg" /><figcaption>Pandas library</figcaption></figure><p>This week, we moved a step forward in our data science journey by learning about Pandas, one of the most essential libraries for data manipulation and analysis in Python.</p><p>After getting comfortable with NumPy in the previous week, working with Pandas started to show me how data science tools begin to come together in practice.</p><p>So, <strong>What Is Pandas?</strong></p><p>Pandas is a Python library built specifically for handling structured data. Think of it as a toolkit that helps you clean, explore, and transform your data into something useful.</p><p>The name &quot;Pandas&quot; comes from &quot;<strong>Panel Data,</strong>&quot; which refers to multi-dimensional data commonly used in economics and statistics. It builds on top of NumPy and adds even more functionality, especially when working with tabular data—like the kind you see in Excel spreadsheets or CSV files.</p><p>The Two Main Tools in Pandas</p><p>As a beginner, I learned that Pandas mainly revolves around two core data structures:</p><p>Series – a one-dimensional array-like object.</p><p><strong>DataFrame</strong> – a two-dimensional table (rows and columns), similar to an Excel sheet.</p><p>Most of our focus was on the DataFrame, because that’s where real-world data work happens.</p><p><strong>With a few lines of code, you can:</strong></p><ul><li>Load a dataset</li><li>Check its shape and columns</li><li>Filter rows</li><li>Sort data</li><li>Handle missing values</li><li>Group and summarize data</li></ul><p>It’s powerful, and honestly, quite practical.</p><p>Why Pandas Is a Game-Changer</p><p>What stood out to me this week is how Pandas makes handling data easier and more readable. Before now, doing certain things in pure Python would take many lines of code—like filtering rows that meet a condition or calculating averages by group. Pandas simplifies that.</p><p><strong>For example:</strong></p><pre>df[df[&#39;age&#39;] &gt; 25] </pre><p>This simple line filters all rows where the age is greater than 25. No loops, no stress.</p><p>A Few Things I Practiced</p><p>During the week, I tried out a few tasks using Pandas:</p><pre>Reading CSV files using pd.read_csv()</pre><pre>Exploring data using .head(), .info(), and .describe()</pre><p>Selecting specific rows and columns</p><pre>Grouping data with .groupby()</pre><p>Sorting and filtering datasets</p><pre>Handling missing data with .isnull() and .fillna()</pre><p>At first, it felt like a lot.</p><p>But as I practiced, things started to click. I’m still learning, and I know I’ll keep using these skills in future projects.</p><p>Finally, Pandas made me realize that data analysis isn’t always about writing long, complex code. Sometimes, it’s about knowing the right tool and using it the right way.</p><p>Week 14 was not just about syntax—it was about learning how to think with data, ask better questions, and find answers in a structured way.</p><p>There’s still a long way to go, but with tools like Pandas in my toolkit, the journey is starting to make more sense.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b8798480a0b4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[NumPy Made Me Rethink How I Use Python for Numbers.]]></title>
            <link>https://medium.com/@CREATIVEABDULMALIK/numpy-made-me-rethink-how-i-use-python-for-numbers-c9de555740b5?source=rss-3267cc42fa6d------2</link>
            <guid isPermaLink="false">https://medium.com/p/c9de555740b5</guid>
            <dc:creator><![CDATA[ABDULMALIK BASHIR]]></dc:creator>
            <pubDate>Mon, 19 May 2025 07:23:28 GMT</pubDate>
            <atom:updated>2025-05-19T07:23:28.570Z</atom:updated>
            <content:encoded><![CDATA[<p>This week in our data science learning journey with Arewa data science and machine learning cohort 3rd fellowship, we met one of the most important tools in the Python ecosystem: <strong>NumPy</strong>. It’s often called the backbone of numerical computing in Python, and now I see why.</p><figure><img alt="Python programming" src="https://cdn-images-1.medium.com/max/1024/0*Dt8ESWMs6s7oCXmG" /><figcaption>Photo by Hitesh Choudhary on Unsplash</figcaption></figure><p>Coming into this week session, I was comfortable using regular Python lists. But after working with NumPy,</p><p>I realized that while lists are good for basic tasks, they quickly become inefficient when handling large sets of numbers or mathematical operations. NumPy steps in here and makes things smoother, faster, and more memory efficient.</p><p><strong>Why NumPy Matters in Data Science</strong><br>NumPy stands for &quot;Numerical Python&quot;. It helps you work with arrays and matrices more efficiently than regular Python code. It also supports many mathematical operations like addition, subtraction, multiplication, and more—across whole datasets—without writing long loops.</p><p><strong>For example</strong>, if you wanted to add 10 to every number in a list using Python lists, you&#39;d need to loop through each item. But with NumPy, you can do that in just one line.</p><p><strong>Python Lists vs NumPy Arrays</strong><br>Here’s something we were taught: Python lists are flexible, but they come with limitations when doing numerical operations. They take more memory and don’t support element-wise mathematical operations natively.</p><p>NumPy arrays, on the other hand:</p><ul><li>Are faster and use less memory</li><li>Support mathematical operations directly</li><li>Can handle multi-dimensional data (like matrices)</li></ul><p>Switching to NumPy arrays felt like moving from a manual car to an automatic one. Less effort, smoother performance.</p><p><strong>Vectorization</strong>: Doing More With Less Code ,Another key concept we covered is vectorization. This just means doing operations on entire arrays without writing explicit loops.</p><p>For instance, instead of:</p><pre>result = []<br>for i in list1:<br>    result.append(i * 2)<br><br></pre><p>you can do:</p><pre>result = array1 * 2<br><br></pre><p>This saves time and makes the code easier to read and debug. It also runs faster behind the scenes.</p><p><strong>A Quick Mention of Julia</strong><br>We also briefly looked at Julia, another programming language known for speed, especially in scientific computing. Unlike Python, Julia was built with performance in mind from the start. While Python uses NumPy to reach high speeds, Julia allows vectorization more naturally in its syntax.</p><p>But for now, sticking with Python and mastering NumPy seems like a solid path for me as a beginner.</p><p>finally,Learning NumPy this week showed me how important tools can make programming more efficient. It also reminded me that there’s a difference between writing code that works and writing code that works well—especially when dealing with large datasets.</p><p>As I continue this journey, I’ll keep exploring how to write cleaner, faster, and more efficient code, starting with mastering NumPy.</p><p>Abdulmalik Bashir</p><p>Data analyst and Research specialist</p><p>abdulmalikbashir364@gmail.com</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c9de555740b5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning the Foundations of Data Science and Machine Learning.]]></title>
            <link>https://medium.com/@CREATIVEABDULMALIK/learning-the-foundations-of-data-science-and-machine-learning-37ca1069c5de?source=rss-3267cc42fa6d------2</link>
            <guid isPermaLink="false">https://medium.com/p/37ca1069c5de</guid>
            <dc:creator><![CDATA[ABDULMALIK BASHIR]]></dc:creator>
            <pubDate>Mon, 12 May 2025 05:57:47 GMT</pubDate>
            <atom:updated>2025-05-12T05:57:47.416Z</atom:updated>
            <content:encoded><![CDATA[<p>As part of my journey with Arewa data Science and Machine Learning,</p><p>Week 12 introduced some important foundational topics— understanding data types, an introduction to data science and machine learning, and an overview of data ethics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6kT8vmLhdtW-XQSv" /><figcaption>Photo by Campaign Creators on Unsplash</figcaption></figure><p>In this blog post, I’ll reflect on what I’ve learned, in simple terms, as a beginner in this growing field.</p><p>Understanding Data types, we have three different data types</p><ul><li><strong>structured data</strong></li></ul><p>Structured data, as it sounds, is the most organized form of data, designed for easy storage, access, and analysis. This data type is typically formatted into predefined rows and columns, making it highly searchable and easily organized within databases or spreadsheets.</p><ul><li><strong>unstructured data : </strong>Unstructured data represents the largest category of data, and it’s growing exponentially as more digital content is created. Unlike structured data, unstructured data doesn’t follow a specific format or schema, which makes it more challenging to store and analyze.</li><li><strong>semi structured data: </strong>Semi-structured data blends elements of both structured and unstructured data. While it doesn’t fit neatly into relational databases, it contains some organizational markers, such as metadata or tags, that make it easier to manage and analyze than fully unstructured data.</li></ul><p><strong>Introduction to Data Science and Machine Learning</strong></p><p>This part of the week helped me see the big picture of what data science is all about. It involves:</p><ul><li><strong>Collecting data</strong></li><li><strong>Cleaning it to remove errors or missing values</strong></li><li><strong>Analyzing it to find useful insights</strong></li><li><strong>Visualizing it using charts and graphs</strong></li></ul><p>And sometimes, making predictions using machine learning</p><p><strong>Machine learning</strong> was introduced as a way to train computers to learn from data. Even though the details are advanced, I now understand that it involves feeding data into models so they can recognize patterns and make decisions—like predicting who Will win the next Nigerian election in 2027, weather or recommending products.</p><p><strong>Learning About Data Ethics</strong></p><p>One of the most important lessons this week was about data ethics.</p><p>It reminded me that working with data is not just about numbers—it involves real people. Some of the key things I learned include:</p><p><strong>Respecting privacy:</strong> We must protect people’s personal information.</p><p><strong>Avoiding bias:</strong> Data should be collected and used in fair and balanced ways.</p><p><strong>Transparency:</strong> People should know how their data is being used.</p><p><strong>Responsibility:</strong> As future data professionals, we are responsible for using data in ways that don’t harm individuals or communities.</p><p>This made me realize that being a good data scientist is not just about technical skills—it’s also about integrity and accountability.</p><p>Final Thoughts,</p><p>Week 12 helped me connect the dots between Python basics and the broader field of data science. I now see how important it is to understand data types, to have a clear idea of the data science process, and to always consider ethical responsibilities.</p><p>I’m still learning and growing, but I appreciate the opportunity to build these foundations through Arewa data science academy fellowship program. Each week brings me one step closer to becoming a responsible and skilled data professional.</p><p>If you&#39;re also new to data science, I encourage you to stay consistent, ask questions, and take your time to understand the concepts. It’s a journey worth taking.</p><p>stay blessed 🙏.</p><p>Abdulmalik Bashir</p><p>Data analyst and Research.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=37ca1069c5de" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Classes in Python]]></title>
            <link>https://medium.com/@CREATIVEABDULMALIK/understanding-classes-in-python-f090e14f776e?source=rss-3267cc42fa6d------2</link>
            <guid isPermaLink="false">https://medium.com/p/f090e14f776e</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[freelancing]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[ABDULMALIK BASHIR]]></dc:creator>
            <pubDate>Thu, 16 Jan 2025 08:46:08 GMT</pubDate>
            <atom:updated>2025-01-16T08:46:08.768Z</atom:updated>
            <content:encoded><![CDATA[<p>As a beginner in Python, diving into the world of classes felt like exploring a new dimension of programming.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*Cp2_rpbQL8s2qe2qhABfMg.jpeg" /></figure><p>At first, it seemed complicated, but with practice, I started to see how powerful classes are in organizing and managing data.</p><p>This blog post reflects on what I’ve learned about creating and using classes and how they’ve added structure to my coding journey.</p><p><strong>What Are Classes?</strong><br>To me, a class is like a blueprint. It defines how something should be structured and what it should be able to do. For example, if we think of a class as a blueprint for a car, every car we create from that class will have the same core structure but can have its own unique details.</p><p>In Python, a class looks like this:</p><pre>class Car:<br>    def __init__(self, make, model):<br>        self.make = make<br>        self.model = model<br><br></pre><p>This simple example introduced me to the concept of attributes—variables that belong to the object created from the class in Python programming.</p><p><strong>Creating My First Class in Python</strong><br>Creating my first class was a big milestone. Here’s a small example I wrote to represent a student:</p><p>I learned that the __init__ method acts like a constructor, initializing attributes for each object. The introduce method added functionality, showing how a class can encapsulate both data and behavior.</p><p><strong>Working with Objects</strong><br>Once I created a class, I could use it to create objects. Here’s how it worked in Python.</p><pre>student1 = Student(&quot;Creativeabdulmalik&quot;, 26, &quot;Data Science&quot;)<br>print(student1.introduce())<br><br></pre><p>The out put of my information will be</p><p># My name is Creative abdulmalik, I’m 26 years old, and I study Data Science.</p><p>This exercise showed me how classes bring data and behavior together, making my code cleaner and more modular.</p><p><strong>Adding Methods and Improving Usability.</strong><br>Learning to add more methods and make my classes versatile was exciting. For instance,</p><p>I added a method to update a student’s age.</p><pre>class Student:<br>    def __init__(self, name, age, major):<br>        self.name = name<br>        self.age = age<br>        self.major = major<br><br>    def introduce(self):<br>        return f&quot;My name is {self.name}, I’m {self.age} years old, and I study {self.major}.&quot;<br><br>    def update_age(self, new_age):<br>        self.age = new_age<br><br></pre><p>This small addition I did taught me how classes could evolve to meet different needs, reinforcing the concept of reusability in the python program.</p><p>Working with classes wasn’t easy at first. Debugging errors like missing self in a method helped me understand how Python manages instance attributes.</p><p>Learning about classes has been a turning point in my Python journey with arewa data science Academy. They’ve taught me how to write structured, efficient, and reusable code. While I’m still exploring their full potential, I’m excited to apply this knowledge to data science tasks.</p><p>Thank you for reading my thoughts about classes in Python programming.</p><p>Stay blessed 🙏</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f090e14f776e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning Functions in Python: My Data Science Journey as a Newbie.]]></title>
            <link>https://medium.com/@CREATIVEABDULMALIK/learning-functions-in-python-my-data-science-journey-as-a-newbie-924c08218356?source=rss-3267cc42fa6d------2</link>
            <guid isPermaLink="false">https://medium.com/p/924c08218356</guid>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[freelancing]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[ABDULMALIK BASHIR]]></dc:creator>
            <pubDate>Sat, 11 Jan 2025 09:58:36 GMT</pubDate>
            <atom:updated>2025-01-11T09:58:36.987Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*Cp2_rpbQL8s2qe2qhABfMg.jpeg" /><figcaption>PYTHON FOR DATA SCIENCE</figcaption></figure><p>Learning Python for data science has been a rewarding journey filled with &quot;aha!&quot; moments. One of the concepts I recently explored is functions. At first, the idea seemed abstract, but as I practiced, I began to see how powerful and useful they are in making code organized and reusable.</p><h3>Here’s a reflection on what I’ve learned about creating, using, and understanding functions.</h3><p><strong>What Are Functions</strong>?<br>A function is like a reusable recipe. Instead of writing the same code repeatedly, you can package it into a function and call it whenever needed. For example:</p><pre>def greet(name):<br>    return f&quot;Hello, {name}!&quot;<br><br></pre><p>When I first wrote this, it felt like magic. I could pass any name to the function, and it would return a personalized greeting:</p><pre>def greet(creaiveAbdulmalik):<br>    return f&quot;Hello,{CreaiveAbdulmalik}!&quot;<br><br><br></pre><pre>print(greet(&quot;Creative Abdulmalik&quot;) </pre><p># Output: Hello, Creative Abdulmalik!</p><p>Functions save time and keep the code neat, which I quickly realized is essential for data science tasks.</p><p><strong>Writing My Own Functions</strong><br>Creating functions became a fun challenge. Here’s one I wrote to calculate the square of a number:</p><pre>def square(number):<br>    return number ** 2<br><br>This helped me practice breaking down a problem and thinking about inputs (parameters) and outputs (return values). Functions like this can be building blocks for larger projects.Default Parameters: Process for Making Functions Flexible ,I also learned that functions can have default values, making them even more versatile. For instance:</pre><pre>def greet(name=&quot;Guest&quot;):<br>    return f&quot;Welcome, {name}!&quot;<br><br></pre><p>With this, I didn’t always need to provide a name:</p><pre>print(guest()) #out put welcome Guest!<br></pre><p>This feature gave me insights into writing code that adapts to different situations.</p><p><strong>Realizing the Power of Functions in Loops</strong><br>Combining functions with loops felt like a breakthrough.</p><p>Here’s an example where I applied a function to multiple values in a list:</p><p>Seeing this in action made me appreciate how functions simplify repetitive tasks in data processing.</p><p>One of the greatest Lessons from Learning Functions<br>Exploring functions in Python has taught me some valuable lessons:</p><p>How to Think about reusability of Functions are all about writing code that can be used multiple times.</p><p>And then seconldly start small and be patient by Practicing with simple functions helped me build confidence over a time Alhamdulilahi.</p><p>And lastly point is Learn from errors and Debugging taught me to pay attention to details, like ensuring the correct number of arguments.</p><p>I’m still learning, I’m excited to see how these skills will help in data analysis and problem-solving.</p><p>If you’re also learning Python, I encourage you to explore functions. Start with simple examples, and don’t be afraid to make mistakes—they’re part of the process.</p><p>Thank you so much for reading my blog, I hope you learned something new From it. Stay blessed 🙏😇.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=924c08218356" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Dictionaries in Python.]]></title>
            <link>https://medium.com/@CREATIVEABDULMALIK/understanding-dictionaries-in-python-a3f726460057?source=rss-3267cc42fa6d------2</link>
            <guid isPermaLink="false">https://medium.com/p/a3f726460057</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[ABDULMALIK BASHIR]]></dc:creator>
            <pubDate>Tue, 31 Dec 2024 08:22:50 GMT</pubDate>
            <atom:updated>2024-12-31T08:22:50.319Z</atom:updated>
            <content:encoded><![CDATA[<p>Reflecting on My Data Science Journey: Understanding Dictionaries in Python<br>As I continue my Python journey for data science, I’ve come to appreciate the versatility of dictionaries.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/489/1*mk5alAJWpUhYO5D1v1W_9Q.png" /><figcaption>PYTHON FOR DATA SCIENCE</figcaption></figure><p>These structures feel like a digital version of a real-world dictionary, where you look up a word (key) to find its definition (value).</p><p>Here’s a reflection on what I’ve learned about creating, working with, and looping through dictionaries.</p><p>Creating Dictionaries: The Basics<br>At first, the syntax felt a bit tricky. A dictionary in Python is defined using curly braces {} with key-value pairs separated by a colon. Here’s a simple example:</p><pre>student = {<br>    &quot;name&quot;: &quot;Ali&quot;,<br>    &quot;age&quot;: 20,<br>    &quot;major&quot;: &quot;Data Science&quot;<br>}<br><br></pre><p>Seeing this, I realized dictionaries allow us to store related data in a single structure, making it easy to organize and access.</p><p><strong>Accessing and Modifying Data</strong><br>Understanding how to interact with dictionaries opened new possibilities. For example, I learned to access values using their keys:</p><pre>print(student[&quot;name&quot;])<br></pre><p>Modifying or adding new key-value pairs was straightforward too:</p><p>Exploring Dictionary Methods<br>Python’s built-in methods like get(), keys(), values(), and items() made working with dictionaries even more efficient. Here’s an example that stood out during my practice:</p><pre># Safely access a key with .get()<br>gpa = student.get(&quot;GPA&quot;, &quot;Not Available&quot;)<br>print(gpa)  # Output: Not Available<br><br></pre><p>Using get() helped me handle missing keys without causing errors, which is crucial in data science workflows.</p><p><strong>Looping Through Dictionaries</strong><br>Loops took my understanding to the next level. With a for loop, I could easily iterate over keys, values, or both:</p><pre>for key, value in student.items():<br>    print(f&quot;{key}: {value}&quot;)<br><br></pre><p>This feature feels essential for tasks like analyzing data in a dataset or transforming information.</p><p><strong>Lessons from Practice</strong><br>As with any new concept, learning dictionaries came with its challenges.</p><p>I made mistakes, like trying to access a key that didn’t exist, but those errors were part of the learning process.</p><p>Step by steps, I’ve learned to:</p><ul><li>Read the documentation: Python’s official docs clarified many doubts.</li><li>Practice with examples: Real-world scenarios helped reinforce the concepts.</li><li>Debug patiently: Error messages are learning opportunities.</li></ul><p>Dictionaries have proven to be an invaluable tool in my data science journey. They simplify data management and open the door to more complex operations. While I’m still a beginner, each small step builds my confidence.</p><p>If you’re also exploring Python, I’d encourage you to experiment with dictionaries. Start simple, make mistakes, and learn from them. Progress may feel slow at times, but consistency is key.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a3f726460057" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring If Statements, Conditional Tests, and Boolean Logic: My Python Learning Journey.]]></title>
            <link>https://medium.com/@CREATIVEABDULMALIK/exploring-if-statements-conditional-tests-and-boolean-logic-my-python-learning-journey-fdd307c1dd53?source=rss-3267cc42fa6d------2</link>
            <guid isPermaLink="false">https://medium.com/p/fdd307c1dd53</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[ABDULMALIK BASHIR]]></dc:creator>
            <pubDate>Fri, 13 Dec 2024 07:38:55 GMT</pubDate>
            <atom:updated>2024-12-13T07:46:00.987Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*lrDxeskOnTisP8YY_xnD9A.png" /><figcaption>If statements, conditional tests and Boolean.</figcaption></figure><p>As someone new to Python and data science, I’ve come to appreciate how fundamental logical thinking is to this field. Recently, I dove into if statements, conditional tests, and Boolean logic—essential building blocks in programming.</p><p>Here’s what I’ve learned so far and how these concepts are shaping my journey.</p><p><strong>Understanding If Statements:</strong> The Core of Decision-Making</p><p>In simple terms, if statements allow your program to make decisions.</p><p>They act like checkpoints: if a certain condition is true, then a specific block of code runs. Otherwise, it’s skipped</p><p>Here’s an example I practiced while learning:</p><pre>age = 18<br>if age &gt;= 18:<br>    print(&quot;You are eligible to vote.&quot;)<br><br></pre><p>This felt magical to me. The program actually understood the condition and gave the right response! It was a small step, but it made me realize how decision-making works in programming.</p><p><strong>Conditional Tests:</strong> Asking Questions in Code<br>Conditional tests are questions your program asks. They’re written as expressions that evaluate to True or False. For example:</p><pre>temperature = 30<br>if temperature &gt; 25:<br>    print(&quot;It&#39;s a hot day!&quot;)<br><br></pre><p>In this snippet, temperature &gt; 25 is a conditional test. Practicing different comparisons—like ==, !=, &lt;, and &gt;—helped me understand how to ask the right questions in my code.</p><p><strong>Boolean Logic:</strong> Combining Conditions As I got comfortable with individual conditions, I learned about Boolean logic, which lets you combine multiple conditions. Using logical operators like and, or, and not, you can create more complex decision-making processes.</p><p>For instance:</p><pre>age = 25<br>is_registered = True<br><br>if age &gt;= 18 and is_registered:<br>    print(&quot;You can vote.&quot;)<br><br></pre><p>Here, both conditions must be true for the message to display. This gave me insight into how Python handles multiple checks efficiently.</p><p>Applying What I Learned<br>To solidify my understanding, I tried applying these concepts to a small project. I created a simple Python program to categorize numbers as positive, negative, or zero:</p><pre>number = int(input(&quot;Enter a number: &quot;))<br><br>if number &gt; 0:<br>    print(&quot;The number is positive.&quot;)<br>elif number &lt; 0:<br>    print(&quot;The number is negative.&quot;)<br>else:<br>    print(&quot;The number is zero.&quot;)<br><br></pre><p>This exercise not only reinforced the logic behind if-elif-else structures but also boosted my confidence as I saw how these ideas could solve real problems.</p><p><strong>Lessons from My Journey</strong><br>Learning these concepts hasn’t always been easy. Debugging my mistakes taught me patience, and every “Aha!” moment reminded me why I started this journey.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fdd307c1dd53" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lessons from Atomic Habits.]]></title>
            <link>https://medium.com/@CREATIVEABDULMALIK/lessons-from-atomic-habits-b39874d144db?source=rss-3267cc42fa6d------2</link>
            <guid isPermaLink="false">https://medium.com/p/b39874d144db</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[ABDULMALIK BASHIR]]></dc:creator>
            <pubDate>Thu, 12 Dec 2024 06:27:09 GMT</pubDate>
            <atom:updated>2024-12-12T06:27:09.309Z</atom:updated>
            <content:encoded><![CDATA[<p>Building My Data Science Habits, A Journey Inspired by Atomic Habits.</p><p>Data science is an exciting field, but like any journey worth taking, it requires consistent effort and focus. As someone navigating this path, I recently read Building Data Science Habits: Lessons from Atomic Habits. The book reframes the journey of mastering data science, connecting it with the idea of forming small, meaningful habits.</p><p>Here are a few key takeaways I’ve adopted from the book and how they’re shaping my data science journey.</p><p><strong>Start Small, Build Consistently</strong></p><p>One of the core lessons of Atomic Habits is the idea of incremental change. Instead of trying to master machine learning or deep learning overnight, I began focusing on one small skill at a time. For instance, I committed to spending 15 minutes each day exploring a Python library like Jupyter note book for doing my daily assignments and practices.</p><p>The shift from “I need to learn everything” to “I’ll focus on one thing” has made the process less overwhelming.</p><p><strong>Make Learning Visible</strong></p><p>The book emphasizes the power of tracking progress. To stay consistent, I created a habit tracker. It’s a simple spreadsheet where I log my daily learning—whether it’s writing a piece of code, completing a tutorial, or analyzing a dataset. Seeing those little checkmarks adds a sense of achievement and keeps me motivated.</p><p><strong>Environment Shapes Behavior</strong></p><p>Another insight I’ve implemented is optimizing my environment for learning.</p><p>I decluttered my workspace and set up my tools—Jupyter Notebook, VS Code, and an organized folder structure for my projects. Having a dedicated space makes it easier to dive into learning without distractions.</p><p><strong>Break Down Goals into Systems</strong></p><p>Instead of setting a vague goal like &quot;become a data scientist,&quot; I broke it into actionable systems:</p><p><strong>Daily</strong>: Spend 15-30 minutes coding or exploring datasets.</p><p><strong>Weekly</strong>: Complete one data analysis project or tutorial.</p><p><strong>Monthly</strong>: Share one project or analysis with peers for feedback.</p><p>This approach focuses on habits rather than outcomes, which feels more manageable.</p><p>Celebrate the Process</p><p>Lastly, I’ve learned to appreciate small wins. Successfully debugging a piece of code or understanding a complex problems is worth celebrating.</p><p>The process itself is rewarding, even before reaching the end goal.</p><p>Building Data Science Habits reminded me that becoming proficient in data science isn’t about grand gestures; it’s about small, consistent actions.</p><p>It’s a lesson I’ll carry with me, not just in this field but in life. If you’re on a similar journey, I encourage you to start small, stay consistent, and trust the process.</p><p>What habits are you building for your data science journey? Let’s learn together.</p><p>Let me know if you&#39;d like any adjustments or additional sections!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b39874d144db" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>