<?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 Namira Ra&#39;ufa Dayyana on Medium]]></title>
        <description><![CDATA[Stories by Namira Ra&#39;ufa Dayyana on Medium]]></description>
        <link>https://medium.com/@naufaya?source=rss-78b4cf86be20------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*hlmc4TVVXTcCZcNJ</url>
            <title>Stories by Namira Ra&amp;#39;ufa Dayyana on Medium</title>
            <link>https://medium.com/@naufaya?source=rss-78b4cf86be20------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 14:27:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@naufaya/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[Data Science and Data Analysis: How I Started Unlocking Insights with Python]]></title>
            <link>https://medium.com/@naufaya/data-science-and-data-analysis-how-i-started-unlocking-insights-with-python-45e792fd68e0?source=rss-78b4cf86be20------2</link>
            <guid isPermaLink="false">https://medium.com/p/45e792fd68e0</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[data-analyst]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[improvement]]></category>
            <dc:creator><![CDATA[Namira Ra'ufa Dayyana]]></dc:creator>
            <pubDate>Sun, 08 Jun 2025 12:59:32 GMT</pubDate>
            <atom:updated>2025-06-08T12:59:32.101Z</atom:updated>
            <content:encoded><![CDATA[<p>In today’s digital world, data is everywhere — sometimes it feels like it’s speaking its own language. Over the past few months, I’ve been diving into data science and data analysis, and it’s been both challenging and exciting. In this post, I’ll share what I’ve learned so far about these two roles, why Python is my go-to tool, and how other programming languages fit into the picture.</p><h3>So, What’s the Difference Between a Data Scientist and a Data Analyst?</h3><p>When I first got curious about working with data, I kept hearing the terms <em>data scientist</em> and <em>data analyst</em>. They sounded similar, but they actually play different roles in the data world.</p><h4>Data Science: Predicting the Future</h4><p>Data science is all about using math, statistics, and programming to uncover patterns, build machine learning models, and make predictions. A typical data science workflow might look like this:</p><ul><li><strong>Collecting data</strong> from databases or scraping websites</li><li><strong>Cleaning data</strong>, removing errors and duplicates</li><li><strong>Exploring data</strong> with charts and visualizations</li><li><strong>Modeling</strong> with algorithms like regression or clustering</li><li><strong>Communicating</strong> insights with reports or dashboards</li></ul><p>It’s like solving a puzzle, each step brings you closer to a meaningful insight.</p><h4>Data Analyst: Understanding the Now</h4><p>On the other hand, data analysts focus more on analyzing existing data to answer specific questions. They dig into datasets using tools like Excel, SQL or Python and create dashboards or reports that help businesses make decisions.</p><p>The main difference I’ve noticed:</p><ul><li>Data analysts focus on <strong><em>descriptive analytics</em></strong> (what happened), while data scientists dive into <strong><em>predictive</em></strong> and <strong><em>prescriptive analytics</em></strong> (what might happen and what to do about it).</li><li>Data scientists tend to use more advanced machine learning tools, while analysts work more closely with business teams to find immediate answers.</li></ul><p>Both roles are equally important — and they often work together!</p><h3>Why Python Became My Best Friend</h3><p>I chose to learn Python first because it’s beginner-friendly but super powerful. I love how readable it is, and how much you can do with just a few lines of code.</p><p>Here are some Python libraries I use the most:</p><ul><li><strong>Pandas, </strong>great for manipulating and analyzing data tables</li><li><strong>NumPy</strong> , for handling arrays and doing math</li><li><strong>Matplotlib and Seaborn</strong> , for making pretty graphs</li><li><strong>Scikit-learn, </strong>my intro to machine learning models</li><li><strong>Jupyter Notebook</strong> , where I write and test my code in an interactive way</li></ul><p>Here’s a small example I used in one of my mini-projects:</p><pre>import pandas as pd<br><br># Read a CSV file<br>df = pd.read_csv(&#39;sales_data.csv&#39;)<br><br># Display the first 5 rows<br>print(df.head())<br><br># Calculate average sales per product<br>average_sales = df.groupby(&#39;product&#39;)[&#39;sales&#39;].mean()<br>print(average_sales)</pre><p>This little snippet helped me figure out which products were selling the most and it felt so cool seeing real insights come from my own code!</p><h3>Other Languages I’m Exploring</h3><p>While Python is amazing, it’s not the only language that matters in data.</p><ul><li><strong>SQL</strong> is a must have. It helps me talk to databases. I use it to filter or summarize large datasets.</li></ul><pre>SELECT product, SUM(sales) AS total_sales<br>FROM sales_data<br>GROUP BY product<br>ORDER BY total_sales DESC;</pre><p>This query calculates total sales per product and sorts them in descending order.</p><ul><li><strong>R</strong> is great for statistics and plotting, though I haven’t used it as much yet.</li><li><strong>JavaScript</strong> becomes useful if you want to build interactive dashboards with D3.js or Chart.js.</li><li>Languages like <strong>Scala</strong> or <strong>Julia</strong> are powerful for big data or numeric computing, but I’m not there yet.</li></ul><h3>My Tips for Starting a Data Journey</h3><p>If you’re new to this field like I was, here are a few tips that really helped me:</p><ul><li><strong>Start with Python and SQL, </strong>free platforms like <strong>W3Schools</strong> or <strong>FreeCodeCamp</strong> are great for beginners.</li><li><strong>Learn basic statistics, </strong>things like mean, correlation and distributions really matter.</li><li><strong>Build your portfolio,</strong> I started small by analyzing public datasets from <em>Kaggle</em> and uploading my work on GitHub.</li><li><strong>Focus on storytelling, </strong>pretty charts aren’t enough; try to explain what the data means.</li><li><strong>Join communities, </strong>following data folks on LinkedIn or joining online forums can be super motivating.</li></ul><h3>What’s Next for Me?</h3><p>These days, I’m working on a flight delay prediction project for my portfolio. It’s a great way for me to practice data analysis and explore how machine learning works. There’s still a lot I need to learn, especially with bigger datasets — but I’m really enjoying the process.</p><p>The world of data is growing fast, and yes, automation is part of it. But the human skill of interpreting results and asking the right questions will always be valuable.</p><h3>Final Thoughts</h3><p>If you’ve been thinking about getting into data science or data analysis, start now. You don’t need to be an expert to begin — you just need curiosity and consistency. I started with zero experience, and now I’m building projects that actually make sense to me and others.</p><p>Have you started your data journey yet? I’d love to hear your story in the comments. 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=45e792fd68e0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unveiling the Characteristics of Popular Songs in the Digital Age]]></title>
            <link>https://medium.com/@naufaya/unveiling-the-characteristics-of-popular-songs-in-the-digital-age-e81bc7f82a51?source=rss-78b4cf86be20------2</link>
            <guid isPermaLink="false">https://medium.com/p/e81bc7f82a51</guid>
            <category><![CDATA[tableau]]></category>
            <category><![CDATA[analysis]]></category>
            <category><![CDATA[visualization]]></category>
            <dc:creator><![CDATA[Namira Ra'ufa Dayyana]]></dc:creator>
            <pubDate>Fri, 27 Sep 2024 12:22:21 GMT</pubDate>
            <atom:updated>2024-09-27T12:22:42.821Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>Music has become an integral part of our lives, and with technological advancements, the way we listen to and consume music has changed drastically. Streaming platforms like Spotify allow us to access millions of songs with just a few clicks. But what makes a song popular? In this article, we’ll explore the characteristics of the most listened-to songs on Spotify, using data analysis from 2016 to 2023.</p><h4>The Number of Popular Songs Released Each Year (2016–2023)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*J8Kbfli1l4wCFHpW" /></figure><p>The trends in popular song releases over the years give us insights into changes within the music industry. Our analysis shows a significant increase in the number of popular songs released in certain years. For instance, if 2019 saw a dramatic rise, it could be linked to the COVID-19 pandemic, which led many artists to release new music to fill the gap left by canceled concerts. This increase reflects how global events can influence the music industry as a whole.</p><h4>Most Productive Artists: Consistency in Releasing Popular Songs</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-KStd0kKdTLMjkPq" /></figure><p>Some artists consistently produce songs that listeners love. Our analysis reveals that a few artists consistently dominate the list of popular songs. This suggests they have a special formula for success, whether through a unique music style, collaborations with other artists, or effective marketing strategies. This consistency also indicates their strong fan loyalty.</p><h4>Artists Who Made It to the Spotify Charts</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zdUTSTMLiiM4zqFe" /></figure><p>Being in the Spotify charts is another indicator of popularity. Artists who frequently manage to place their songs on the charts show that their music is not just well-liked but also has broad appeal. The correlation between the number of popular songs and chart success indicates that popularity among listeners often aligns with recognition on the music charts.</p><h4>Songs with the Most Streams</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-gbK0dK7dtCIxGKZ" /></figure><p>Songs that accumulate the most streams often share certain characteristics that make them stand out. Whether it’s a catchy hook, memorable lyrics, or impressive production, these songs capture the attention of millions of listeners. Our data analysis shows that songs with high levels of “danceability” and “energy” tend to be more popular. This suggests that listeners might prefer upbeat and energetic songs to accompany their daily activities.</p><h4>Tracks Frequently Featured in Spotify Playlists</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/476/0*C2j9MujTpn6KBAow" /></figure><p>Spotify playlists have become essential tools for artists to promote their songs. Our analysis found that songs that often appear in playlists usually have characteristics that align with the playlist’s theme, like “Feel-Good Hits” or “Chill Vibes.” These songs might have a specific tempo and mood that match the listeners’ emotions.</p><h3>Conclusion</h3><p>From the analysis above, we can draw some key conclusions about the characteristics of popular songs in the digital age. By understanding what makes a song a hit, artists and producers can better target their audience and create music that aligns with current trends and listener preferences. Technology has not only changed how we listen to music but also how music is created and promoted.</p><p>Analyzing data from platforms like Spotify offers valuable insights into the current music industry. By continually monitoring trends, we can gain a clearer picture of how music evolves and how listener tastes change over time.</p><h3>Recommendations</h3><p>1. Release Strategies and Consistency: Artists and producers should respond to global situations and social trends with appropriate release strategies. By maintaining consistency and continuing to innovate, they can ensure relevance and success in the music market.</p><p>2. Optimize Playlists and Music Characteristics: To boost visibility, collaborating with Spotify playlist curators is essential. Additionally, creating songs with desirable characteristics like high “danceability” and “energy” can enhance the chances of success on streaming platforms.</p><p>3. Continuously Monitor Trends: It’s important to keep analyzing music trends and listener preferences to ensure effective and relevant music strategies.</p><p>This article aims to provide valuable insights into how data can be used to understand music trends and guide strategic decisions in the music industry. By leveraging these insights, artists, producers, and record labels can create music that not only meets listeners’ tastes but also competes in a competitive digital market. If you’re interested in diving deeper, all the visualizations and analyses can be accessed through the Tableau dashboard I’ve created.</p><p>Link to Dashboard: <a href="https://public.tableau.com/app/profile/namira.r.d/viz/MusicAnalysis_17248571062270/Dashboard1">Dashboard Tableau</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e81bc7f82a51" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Function with Variable-Length Arguments in Python]]></title>
            <link>https://medium.com/@naufaya/function-with-variable-length-arguments-in-python-14bcbced3415?source=rss-78b4cf86be20------2</link>
            <guid isPermaLink="false">https://medium.com/p/14bcbced3415</guid>
            <category><![CDATA[function]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Namira Ra'ufa Dayyana]]></dc:creator>
            <pubDate>Sun, 08 Sep 2024 01:56:30 GMT</pubDate>
            <atom:updated>2024-09-08T01:56:30.501Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Introduction</strong></h3><p>In Python, functions are useful tools that help you group code together and use it multiple times. One of the advanced feature of Python functions is that they can take different numbers of arguments, which makes them very flexible. This article will explain what variable-length arguments are in Python, how to use them, and provide some practical examples.</p><h3><strong>Understanding Functions in Python</strong></h3><p>A function in Python is a block of reusable code designed to perform a single, related action. Functions help in organizing code, making it more readable, and reducing redundancy. Here is a simple example of a function:</p><pre>def greet(name):<br>return f&quot;Hello, {name}!&quot;<br>print(greet(&quot;Namira&quot;))<br># Output: Hello, Namira</pre><h3><strong>Variable-Length Arguments</strong></h3><p>Variable-length arguments in Python allow you to pass a variable number of arguments to a function. This is useful when you do not know beforehand how many arguments might be passed.</p><h4><strong>Using *args for Positional Arguments</strong></h4><p>The <strong>*args</strong> syntax is used to pass a variable number of non-keyword arguments to a function. Inside the function, <strong>*args</strong> is a <strong>tuple of arguments</strong>.</p><pre>def sum_all(*args):<br>return sum(args)<br>print(sum_all(1, 2, 3, 4))<br># Output: 10</pre><h4><strong>Using **kwargs for Keyword Arguments</strong></h4><p>The <strong>**kwargs</strong> syntax allows you to pass a variable number of keyword arguments to a function. Inside the function, <strong>**kwargs</strong> is a <strong>dictionary of arguments</strong>.</p><pre>def greet_all(**kwargs):<br>for key, value in kwargs.items():<br>print(f&quot;{key}: {value}&quot;)<br>greet_all(name=&quot;Alice&quot;, age=25, city=&quot;New York&quot;)</pre><h4><strong>Combining *args and **kwargs</strong></h4><p>You can use both <strong>*args</strong> and <strong>**kwargs</strong> in a single function to accept any number of positional and keyword arguments.</p><pre>def display(*args, **kwargs):<br>for arg in args:<br>print(arg)<br>for key, value in kwargs.items():<br>print(f&quot;{key}: {value}&quot;)<br>display(1, 2, 3, name=&quot;Alice&quot;, age=25)</pre><h4><strong>Example of *args and **kwargs: Practical Use Case</strong></h4><p>Here’s a practical example where both <strong>*args</strong> and <strong>**kwargs</strong> are used in a function that processes order details:</p><pre>def process_order(order_id, *items, **customer_details):<br>print(f&quot;Order ID: {order_id}&quot;)<br>print(&quot;Items:&quot;)<br>for item in items:<br>print(f&quot; - {item}&quot;)<br>print(&quot;Customer Details:&quot;)<br>for key, value in customer_details.items():<br>print(f&quot;{key}: {value}&quot;)<br>process_order(123, &quot;apple&quot;, &quot;banana&quot;, &quot;cherry&quot;, name=&quot;John Doe&quot;, address=&quot;123 Elm St&quot;, phone=&quot;123–456–7890&quot;)</pre><h4><strong>Differences with Manual Function</strong></h4><p>Creating functions manually with predefined arguments limits flexibility and can lead to code duplication. For example, a manual function handling a fixed number of arguments looks like this:</p><pre>def process_order_manual(order_id, item1, item2, item3, name, address, phone):<br>print(f&quot;Order ID: {order_id}&quot;)<br>print(&quot;Items:&quot;)<br>print(f&quot; - {item1}&quot;)<br>print(f&quot; - {item2}&quot;)<br>print(f&quot; - {item3}&quot;)<br>print(&quot;Customer Details:&quot;)<br>print(f&quot;name: {name}&quot;)<br>print(f&quot;address: {address}&quot;)<br>print(f&quot;phone: {phone}&quot;)<br>process_order_manual(123, &quot;apple&quot;, &quot;banana&quot;, &quot;cherry&quot;, &quot;John Doe&quot;, &quot;123 Elm St&quot;, &quot;123–456–7890&quot;)</pre><p>Using <strong>*args</strong> and <strong>**kwargs</strong> allows for <strong>more dynamic</strong> and <strong>reusable code</strong>, <strong>reducing redundancy </strong>and <strong>improving maintainability</strong>.</p><h3><strong>Conclusion</strong></h3><p>Variable-length arguments using <strong>*args</strong> and <strong>**kwargs</strong> enhance the flexibility and functionality of functions in Python. They allow you to write more generic, reusable, and concise code, adapting to various input scenarios effortlessly.</p><p>— -</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=14bcbced3415" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>