<?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 Oluwatuyi Oluwatiimilehin on Medium]]></title>
        <description><![CDATA[Stories by Oluwatuyi Oluwatiimilehin on Medium]]></description>
        <link>https://medium.com/@oluwatuyitimilehin?source=rss-ec0bf739aae6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*lrMPZUAAnpBj4wht</url>
            <title>Stories by Oluwatuyi Oluwatiimilehin on Medium</title>
            <link>https://medium.com/@oluwatuyitimilehin?source=rss-ec0bf739aae6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 21:30:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@oluwatuyitimilehin/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[Beyond Writing Code: My Journey into Algorithms, Data Structures and Efficient Problem-Solving]]></title>
            <link>https://medium.com/@oluwatuyitimilehin/beyond-writing-code-my-journey-into-algorithms-data-structures-and-efficient-problem-solving-4278a43d59cf?source=rss-ec0bf739aae6------2</link>
            <guid isPermaLink="false">https://medium.com/p/4278a43d59cf</guid>
            <dc:creator><![CDATA[Oluwatuyi Oluwatiimilehin]]></dc:creator>
            <pubDate>Sun, 29 Nov 2026 21:27:38 GMT</pubDate>
            <atom:updated>2026-11-29T21:27:38.868Z</atom:updated>
            <content:encoded><![CDATA[<p>One of the most important lessons I have learnt before writing this article is that writing code that works is not necessarily the same as writing good code. Understanding how a solution works, how efficiently it performs and how well it scales as the volume of data increases is equally important. This week, as part of my Data Science training at Dataraflow, I explored algorithms and data structures, focusing on the fundamental principles that underpin efficient programming and computational problem-solving. The learning experience went beyond understanding theoretical concepts. It involved implementing algorithms in Python, analysing their computational complexity and applying similar problem-solving techniques to SQL and real-world datasets.</p><h3>1. Understanding Algorithms and Data Structures</h3><p>An algorithm is a finite sequence of well-defined instructions designed to solve a particular problem, while a data structure provides a systematic way of organising, storing and accessing data. Although these concepts may appear straightforward, choosing an appropriate algorithm and data structure can significantly influence the performance of a solution.</p><p>For instance, searching through a list sequentially may be sufficient for a small dataset. However, when dealing with thousands or millions of records, a more efficient searching technique may become necessary.</p><p>Throughout the week, I explored:</p><ul><li>Algorithms and Big-O notation</li><li>Arrays and strings</li><li>Two-pointer techniques</li><li>Hash maps and sets</li><li>Linked lists</li><li>Stacks and queues</li><li>Recursion</li><li>Divide and conquer</li><li>Linear and binary search</li></ul><p>These concepts provided a foundation for understanding how computers process information and how different approaches can improve the efficiency of a solution.</p><h3>2. Big-O Notation: Understanding the Cost of Code</h3><p>One of the most significant concepts I encountered this week was Big-O notation. Big-O notation describes how the computational resource requirements of an algorithm grow as the size of its input increases. It provides a framework for evaluating algorithms beyond whether they produce the correct output.</p><p>I explored common complexity classifications, including:</p><p>O(1) Constant time</p><p>(log n) Logarithmic time</p><p>O(n) Linear time</p><p>O(n log n) Linearithmic time</p><p>O(n²) Quadratic time</p><p>O(2ⁿ)Exponential time</p><p>Consider the following Python function:</p><pre>def find_number(numbers, target):<br>    for number in numbers:<br>        if number == target:<br>            return True<br>    return False</pre><p>This algorithm examines elements sequentially until it finds the target. In the worst case, it may examine every element in the list, resulting in a time complexity of O(n). However, when working with sorted data, binary search can reduce the search space by half during each iteration, achieving a time complexity of O(log n).</p><p>Understanding this distinction helped me appreciate why evaluating the efficiency of an algorithm is particularly important in data science, where datasets can grow substantially. I also learnt to distinguish between time complexity, which measures computational growth, and space complexity, which describes how memory requirements grow. Sometimes, improving execution efficiency requires additional memory. Recognising and evaluating such trade-offs is an important aspect of algorithm design.</p><h3>3. Arrays, Strings and the Two-Pointer Technique</h3><p>Arrays and strings are among the most frequently encountered data structures in programming. This week, I explored how to traverse, compare and manipulate sequential data without introducing unnecessary computational operations.</p><p>One technique that stood out was the two-pointer approach.</p><p>Rather than repeatedly examining every possible combination of elements, the two-pointer technique uses two indices that move through a data structure according to predefined conditions.</p><p>For example, determining whether two numbers in a sorted array add up to a particular target can be accomplished using two pointers.</p><pre>def two_sum(numbers, target):<br>    left = 0<br>    right = len(numbers) - 1<br>    while left &lt; right:<br>        total = numbers[left] + numbers[right]<br>        if total == target:<br>            return left, right<br>        elif total &lt; target:<br>            left += 1<br>        else:<br>            right -= 1<br>    return None</pre><p>Instead of using nested loops with a time complexity of O(n²), this solution traverses the sorted array using O(n) time and O(1) auxiliary space. The important lesson was not simply learning how to move two pointers, but understanding the conditions that justify each movement. This technique demonstrated how recognising patterns and using the properties of a dataset can eliminate unnecessary computations.</p><h3>4. Hash Maps and Sets: Making Searching More Efficient</h3><p>Another important concept was the use of hash maps and sets.</p><p>In Python, dictionaries and sets provide efficient mechanisms for storing and retrieving information, with average-case constant-time lookup.</p><p>I explored their applications in:</p><ul><li>Detecting duplicate values.</li><li>Counting the frequency of elements.</li><li>Checking whether an element exists.</li><li>Comparing strings.</li><li>Solving anagram problems.</li><li>Creating relationships between keys and values.</li></ul><p>For example, an anagram problem involves determining whether two strings contain the same characters with the same frequencies. Rather than repeatedly searching through both strings, a frequency-counting approach can be used.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/577/1*Fe9nlkRyzRDJ3IF-Rt0uVg.png" /></figure><p>This approach shows how selecting an appropriate data structure can simplify an algorithm while maintaining computational efficiency. Hash maps and sets are particularly relevant to data science because many analytical operations involve categorisation, counting, aggregation and identifying unique records.</p><h3>5. Linked Lists, Stacks and Queues</h3><p>Unlike conventional arrays, linked lists consist of nodes connected through references. Each node contains a value and a reference to another node. I worked on understanding how linked lists can be traversed and reversed by manipulating these references.</p><p>Reversing a linked list requires careful tracking of the previous, current and next nodes to avoid losing access to the remaining elements. This exercise helped me appreciate the importance of understanding how data structures are represented in memory.</p><h3>Stacks</h3><p>A stack follows the Last-In, First-Out (LIFO) principle.</p><p>I explored its application in solving a bracket-validation problem, where opening brackets are stored until their corresponding closing brackets are encountered. Stacks are useful in several computational processes, including expression evaluation, undo operations and function-call management.</p><p>Another practical exercise involved finding the next warmer day in a sequence of daily temperatures using a monotonic stack. Instead of repeatedly searching through future temperatures for every day, the stack stores unresolved indices until a warmer temperature is encountered. This transforms a potentially quadratic solution into a linear-time approach.</p><h3>Queues</h3><p>A queue follows the First-In, First-Out (FIFO) principle.</p><p>Understanding queues introduced me to the logic behind task scheduling, sequential processing and managing operations in the order in which they arrive. Together, these data structures shows that the order in which information is stored and retrieved can significantly influence the design of an algorithm.</p><h3>6. Recursion and Divide and Conquer</h3><p>Recursion was another interesting aspect of the week’s learning.</p><p>A recursive function solves a problem by calling itself with a smaller or simpler version of the original problem until a defined stopping condition, known as the base case, is reached.</p><p>One of the exercises I worked on involved flattening nested lists.</p><pre>def flatten(items):<br>    result = []<br>    for item in items:<br>        if isinstance(item, list):<br>            result.extend(flatten(item))<br>        else:<br>            result.append(item)<br>    return result</pre><p>For an input such as:</p><pre>[1, [2, 3], [4, [5, 6]]]</pre><p>The expected output is:</p><pre>[1, 2, 3, 4, 5, 6]</pre><p>The recursive function continues exploring nested lists until it encounters individual elements. This exercise showed me how a seemingly complicated problem can be broken down into smaller, manageable components.</p><h3>Applying Algorithmic Thinking to SQL</h3><p>One of the most valuable aspects of this week’s training was discovering how algorithmic concepts extend beyond Python. Before this i learnt how to approach every problem using the UMPIRE framework.</p><p>U = Understand</p><p>M = Match</p><p>P = Plan</p><p>I = Implement</p><p>R = Review</p><p>E = Evaluate</p><p>I learnt how to solve similar problems in Python using SQL.</p><h3>Challenges I Encountered</h3><p>Learning algorithms and data structures introduced a different level of complexity compared with conventional data analysis and programming. One of the main challenges was understanding the reasoning behind algorithmic solutions rather than simply memorising their implementations.</p><h3>Understanding Computational Complexity</h3><p>Initially, distinguishing between different complexity classifications required careful consideration, particularly when analysing nested loops, recursive functions and algorithms that progressively reduce their search spaces. I learnt that the presence of multiple loops does not automatically imply quadratic complexity. The number of operations performed relative to the input size is what matters.</p><h3>Understanding Pointer and Index Movement</h3><p>Two-pointer algorithms and linked-list operations required careful tracking of variables and references.</p><p>Moving a pointer in the wrong direction or updating a reference in the wrong order could produce incorrect results.</p><p>These exercises highlighted the importance of understanding the state of an algorithm at every stage of its execution.</p><h3>Understanding Recursion</h3><p>Following the execution of recursive functions was another challenging aspect.</p><p>It required understanding how successive function calls interact, how the base case terminates the process and how results are returned through the call stack.</p><h3>How I Approached These Challenges</h3><p>Rather than concentrating solely on obtaining the correct output, I focused on understanding the logic behind each solution.</p><p>I adopted several approaches that helped simplify the learning process.</p><p>First, I broke complex problems into smaller components. Understanding what each component was expected to accomplish made it easier to develop the complete solution.</p><p>Second, I traced algorithms using small, manageable examples. This made pointer movement, stack operations, recursion and binary search easier to follow.</p><p>Third, I examined the computational complexity of different approaches to understand why one solution might be more efficient than another.</p><p>Fourth, I considered potential edge cases before finalising solutions, including empty inputs, duplicate values, missing records and incomplete periods.</p><p>Finally, I connected theoretical concepts to practical data analysis tasks. Applying prefix sums and sliding windows to SQL helped reinforce my understanding of these techniques beyond their Python implementations.</p><p>Going forward, I intend to place greater emphasis on testing algorithms with different input sizes, documenting assumptions and comparing alternative solutions before selecting an implementation.</p><h3>Key Insights from This Week</h3><p>This week’s learning provided several important insights that extend beyond programming:</p><ul><li>A correct solution is not necessarily an efficient solution.</li><li>Selecting an appropriate data structure can simplify a complex problem.</li><li>Computational complexity becomes increasingly important as data volumes grow.</li><li>Problem decomposition makes challenging tasks more manageable.</li><li>Algorithmic thinking is applicable across programming languages and analytical tools.</li><li>Understanding why a solution works is more valuable than memorising how it is written.</li></ul><h3>Looking Ahead</h3><p>As I continue my journey into data science, I aim to strengthen my understanding of algorithms and data structures through consistent practice and practical applications. I particularly look forward to exploring how these concepts contribute to machine learning, large-scale data processing, predictive analytics and the development of efficient data-driven solutions. I also intend to improve my ability to evaluate different computational approaches and select solutions based on accuracy, efficiency, scalability and maintainability.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4278a43d59cf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Week 8 at Dataraflow: Grouping, Aggregating and Visualising Data]]></title>
            <link>https://medium.com/@oluwatuyitimilehin/my-week-8-at-dataraflow-grouping-aggregating-and-visualising-data-137b6879439f?source=rss-ec0bf739aae6------2</link>
            <guid isPermaLink="false">https://medium.com/p/137b6879439f</guid>
            <dc:creator><![CDATA[Oluwatuyi Oluwatiimilehin]]></dc:creator>
            <pubDate>Sun, 01 Nov 2026 20:41:39 GMT</pubDate>
            <atom:updated>2026-11-01T20:41:39.920Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>Week 8 of my Dataraflow data science journey was about one idea that will always show up in every real analysis I intend to carry out as a data analyst. This includes <strong>splitting data into groups, calculating something for each group, and combining the results</strong>. This is called split-apply-combine, and I practised both in Pandas and also in SQL.</p><p>The week had two parts. Part A was grouping and aggregating data, built around a project on the UK’s milk and cream trade. Part B was data visualisation with Seaborn and Matplotlib. In addition to these is the SQL practice section featuring five (5) questions, which involves querying the cohort database to extract data in a systematic way using GROUP BY. This article captures what I learnt, the tools I used, the challenges I encountered and how I solved them.</p><h3>The project: exploring the UK’s milk imports and exports</h3><p>The project used data from the United Nations Comtrade database, covering the UK’s monthly imports and exports of milk and cream in 2015. Two commodity codes were involved: (milk and cream that is neither concentrated nor sweetened) and (concentrated or sweetened).</p><p>The analysis of this dataset answers four major questions:</p><ol><li>How much does the UK export and import, and is the trade balance positive?</li><li>Who are the main trading partners?</li><li>Which countries buy milk from the UK every single month?</li><li>Which countries does the UK both import from and export to?</li></ol><p>Each question mapped to a different grouping technique, which made a captivating and good learning example of how flexible groupby really is.</p><h3>What I learnt while doing my take-home</h3><h3>1. groupby and aggregation in pandas</h3><p>The main lesson here is split-apply-combine: split the dataframe by one or more columns, do a computation (like sum or count) for each group, and combine the results into a new table. The groupby command does all of this in one or two lines, and sorting the results gives you a rank. In the milk case study, summing trade value by trade flow and by partner country was exactly that, just with a different column to split on.</p><h3>2. Filtering groups, not just rows</h3><p>I also learnt that you can filter whole groups, not just rows. A normal condition looks at one row at a time, but sometimes the rule is about the group itself, such as how many rows it has. groupby(...).filter(...) takes a function that returns True or False for each group and keeps only the groups that pass. I practised using it to find the countries that bought from the UK every month.</p><h3>3. Pivot tables</h3><p>pivot_table reshapes data so the values of one column become new columns, with an aggregation applied where rows and columns meet. It is split-apply-combine again, laid out as a grid that is easy to read and compare.</p><h3>4. Using SQL</h3><p>In this section, I used the SQL code cells to answer questions similar to those in the Pandas section, where GROUP BY plays the role of groupby.</p><h3>5. Data visualisation</h3><p>In Part B I re-created a set of plots with Seaborn and Matplotlib using the milk data: a histogram, a KDE plot, box and violin plots, a regression plot and a heatmap. Each plot answers a different kind of question. I learnt that histograms and KDE plots show how values are distributed, box and violin plots compare groups, the regression plot shows the relationship between two variables, and the heatmap shows how values change across two categories at once.</p><h3>Challenges and how I solved them</h3><h3>The ‘World’ rows were counting everything twice</h3><p>The Comtrade data includes monthly totals under a partner called World. If you leave them in, every total is roughly doubled, because you are adding the individual countries and their sum. Removing those rows before any grouping fixed it. I learnt that it is very important to always look at what a column&#39;s values actually mean before you aggregate it.</p><h3>Subqueries nested inside subqueries</h3><p>My first SQL solutions worked, but they were nested three levels deep with aliases like t, r and x. Coming back to them later, I could barely follow my own logic. Rewriting them with CTEs gave each step a name, such as partner_totals and ranked, and let me run each step on its own while debugging. It was the biggest readability improvement I made all week.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/1*XHiryGuFn2WZt-ReBV4cwQ.png" /><figcaption>Before</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/1*PLUvLTIIz_0YyJwrFF73bw.png" /><figcaption>After</figcaption></figure><h3>Rounding at the wrong moment</h3><p>When calculating the trade balance, rounding imports and exports first and subtracting afterwards can leave the answer 0.01 off. The fix is to calculate from the unrounded sums and round only in the final step.</p><h3>Edge cases</h3><p>Three smaller problems taught me to be defensive:</p><ul><li>Ranking partners with ROW_NUMBER() needs a tiebreaker (I added partner to the ORDER BY), otherwise equal totals can come back in a different order each run.</li><li>Dividing by a total that might be zero crashes a query, so I wrapped denominators in NULLIF(..., 0).</li><li>rank is a reserved word in SQL, so it needs square brackets when used as a column name.</li></ul><h3>What I would do differently</h3><ul><li>Start with CTEs from the beginning instead of refactoring into them later.</li><li>Check the data for summary rows and duplicates before writing any aggregation.</li><li>Write down what each query should return (rows and columns) before writing it, so mistakes show up immediately.</li></ul><h3>Conclusion</h3><p>This week has changed my perspective about data analysis. While before, I would only see rows in tables, now I can see clusters, and it is certain that a lot of real-life questions require some kind of “cluster, compute, aggregate”.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=137b6879439f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 7: Ensuring Data Quality and Integrity, the Bedrock of All Data Analysis]]></title>
            <link>https://medium.com/@oluwatuyitimilehin/week-7-ensuring-data-quality-and-integrity-the-bedrock-of-all-data-analysis-0505fa1415c7?source=rss-ec0bf739aae6------2</link>
            <guid isPermaLink="false">https://medium.com/p/0505fa1415c7</guid>
            <category><![CDATA[internships]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[datara-flow]]></category>
            <dc:creator><![CDATA[Oluwatuyi Oluwatiimilehin]]></dc:creator>
            <pubDate>Sat, 24 Oct 2026 21:32:27 GMT</pubDate>
            <atom:updated>2026-10-24T21:53:56.693Z</atom:updated>
            <content:encoded><![CDATA[<p>Week 7 of my internship with Dataraflow is completely dedicated to data manipulation, which includes data import, data cleaning, and data joining. Before analysing a particular data set, its quality needs to be assured. In most cases, raw data consists of errors that are not easily detected upon initial inspection, such as extra characters, incorrect data types, missing data, and inconsistent variable names. If these are left alone, every chart, average and correlation built on top of the data inherits the same errors. This is the idea behind the well-known principle of “garbage in, garbage out”: an analysis can only be as reliable as the data it starts from.</p><p>This week, I worked with pandas and SQL with three different sets of data: London weather data (daily format), GDP and life expectancy data from the World Bank database, and also my own project on food security, which was also imported from the World Bank database. In this article, I will explain what I learned, what was resolved, the issues faced and how to solve them.</p><p><strong>What I learnt this week</strong></p><p>The week had two parts. Part A covered cleaning and visualising data, and Part B covered transforming and combining data. First, I learnt how to bring data into a notebook. I used three approaches: running SQL queries against the cohort database, reading CSV files with pd.read_csv(), and downloading World Bank indicators directly with the download() function from the pandas_datareader module. Importing data was crucial in everything I did this week and will remain so throughout my journey as a data scientist. This is because, for every data enthusiast, importing data is a basic tool that all later steps depend on.</p><p>In addition to importing data, I learnt how to:</p><ul><li>inspect a dataframe before touching it, using head(), tail(), shape, dtypes and isnull().</li><li>fix column names with str.strip() and rename().</li><li>clean text values with str.replace() and convert them with astype()to the appropriate datatype</li><li>convert text to proper dates with pd.to_datetime() and use a date column as the index.</li><li>reset the index and drop columns that are not needed in the analysis</li><li>Handle missing values with fillna() and dropna(), and know when each one is appropriate.</li><li>filter rows with boolean conditions and with methods such as isin().</li><li>combine dataframes with pd.concat() and pd.merge().</li><li>measure the relationship between two variables with the Spearman rank correlation, and check it with a scatterplot.</li><li>Do similar cleaning and joining work in SQL.</li></ul><p>All of these, though not limited to them, ensure that the data is accurate, consistent and in the right format before any analysis is carried out, so that the results can be trusted. I also learnt that the choice of data cleaning approach will always depend on how dirty the data is.</p><h3>Part A: Cleaning the London weather data</h3><p>The first dataset was London’s daily weather for 2014, and three problems had to be fixed before any analysis. The column names had stray spaces and a leftover &lt;br /&gt; tag from the HTML source. Every wind direction value also ended in &lt;br /&gt;, so pandas read the column as text. Removing the tag and converting to integers solved it:</p><pre>london[&#39;WindDirDegrees&#39;] = (<br>    london[&#39;WindDirDegrees&#39;].str.replace(&#39;&lt;br /&gt;&#39;, &#39;&#39;, regex=False).astype(int)<br>)</pre><p>The GMT column held dates as text, so I converted it with pd.to_datetime(). I also filled the blank Events values with an empty string, since a blank meant no event was recorded that day. After that, filtering by wind direction and date range and plotting spring humidity was straightforward.</p><h3>The Holiday Weather project</h3><p>This project used 2023 Heathrow data to find a good two-week summer break. I combined two CSV files (January to June and July to December) with pd.concat(), checked that they added up to 365 days, converted the dates and set them as the index. Summer means June to August in the Northern Hemisphere and December to Februaryin the Southern Hemisphere, and the datetime index made this a one-line filter:</p><pre>summer = london_weather[london_weather.index.month.isin([6, 7, 8, 12, 1, 2])]</pre><h3>Part B: Combining data and finding relationships</h3><p>I combined some tables in different ways to compare the output:</p><ul><li><strong>Inner:</strong> only countries in both tables</li><li><strong>Outer:</strong> every row from both, with NaN where there is no match.</li><li><strong>Left:</strong> every row from the left table, plus matches from the right.</li><li><strong>Right:</strong> the same, with the right table as the reference.</li></ul><p>This task, although tedious in some cases, exposed me to a lot of new concepts and made me familiar with how pandas handles common problems in raw data.</p><h3>My own mini project: food insecurity and undernourishment</h3><p>For my own mini project on cleaning, transforming, joining and analysing data, I picked two indicators from the World Bank for 2020: the prevalence of severe food insecurity and the prevalence of undernourishment. I followed the same steps as before: download, remove regional aggregates, drop missing values, reset the index, keep the country and indicator columns, rename the indicators to readable names, and merge on country.</p><p>The inner join left 132 countries. The Spearman correlation was 0.82 with a p-value far below 0.05, so the relationship is strong and statistically significant. The scatterplot agreed with the number: countries with higher food insecurity generally also had a higher share of undernourished people. After observing the results of the analysis, I concluded that the two variables are strongly related. However, food insecurity is not the only cause of undernourishment. Illness, poor sanitation and water quality, and feeding practices all play a part, so I treated the result as a strong association and not a full explanation for undernourishment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*G_HrOk6h4x5D5319_nPQeQ.png" /><figcaption><strong>Scatterplot showing association between food insecurity and undernourishment</strong></figcaption></figure><h3><strong>Challenges I faced and how I overcame them</strong></h3><p>Window functions were the most challenging part of the week for me. I found it difficult to understand the concept properly, and I made mistakes several times while using it. My first attempt of this led to error which took me a while to fix. So I decided to build the query one step at a time: first selecting the summer days in a CTE, then adding the rolling seven-day sum, and finally checking how many days each window covered. Adding a COUNT(*) OVER with the same window and keeping only the rows where the count was 7 solved the problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*PoLT8G8RpkmCudS0EL1mjA.png" /></figure><h3>What I would do differently</h3><p>If I did this week again, I would write a short checklist and run it on every new dataset: shape, data types, missing values, duplicates and the range of each column. I learnt this towards the end of the week’s tasks that listing out the steps before writing any code makes a problem easier to break down and reduces mistakes.</p><h3>Final thoughts and advice</h3><p>Looking back, the pattern was the same in every task this week. The London weather, the World Bank tables and the food insecurity data i worked on all needed to be cleaned before they could answer a single question, and the analysis took far less time than the cleaning.</p><p>For anyone learning this, my advice is simple. Look at the raw data before you change it and always approach it based on how dirty the data is. check the row count after every filter and merge, to ensure you are not dropping valuable part of the data. Run the notebook from the top before you trust any output. None of this is exciting work, but it is what makes the later results believable, and I plan to carry these checks into every analysis I do from here.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0505fa1415c7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 6 with Dataraflow: Exploring NumPy, Pandas and SQL]]></title>
            <link>https://medium.com/@oluwatuyitimilehin/week-6-with-dataraflow-exploring-numpy-pandas-and-sql-1da252e3c839?source=rss-ec0bf739aae6------2</link>
            <guid isPermaLink="false">https://medium.com/p/1da252e3c839</guid>
            <category><![CDATA[pandas]]></category>
            <category><![CDATA[numpy]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[datara-flow]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Oluwatuyi Oluwatiimilehin]]></dc:creator>
            <pubDate>Mon, 19 Oct 2026 04:13:12 GMT</pubDate>
            <atom:updated>2026-10-19T04:13:12.130Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PETLCsSPxYbeXUQzhsOQ2A.png" /></figure><p>Week 6 started like the previous weeks with Dataraflow: another chance to learn something new, challenge myself, and build on what I learned in earlier weeks. As the course progresses, I am beginning to realise that data analytics is not just about learning programming languages or memorising functions. It is about understanding databases, data structures, how they work, asking the right questions, solving problems, and interpreting results meaningfully.</p><p>This week was particularly interesting for me because I got to explore 3 important tools in data analytics: NumPy, Pandas and SQL. For NumPy, I learnt how to create a NumPy array (ndarray): my_array = numpy.array([1,2,3,4]), and access its elements by indexing my_array[0] and slicing my_array[1:3]. I also learnt how to change its elements, check its shape: my_array.shape and dimension: my_array.ndim, reshape the array, compute arithmetic operations on the array and much more.</p><p>In terms of Pandas, I learnt how to create pandas Series and DataFrames. I learnt the difference between the pandas Series and DataFrame and their associated methods. Using the Pandas library for the first time seemed strange, but I got used to it after a few trials. Differentiating pandas Series from NumPy arrays was a bit difficult on my first encounter with them this week, but as I practised them more, I got familiar with them.</p><p>The SQL part was a bit complex; I learnt intermediate-level SQL. Apart from learning how to SELECT FROM a table in a database, one thing caught my attention at the beginning of this course: the concept of querying the metadata of the database, that is, the table that provides information about the tables in the database. This part was very interesting to me because it makes me feel like a data scientist. Using INFORMATION_SCHEMA, I got to know the number of tables in the database, the columns in each table, the data types of each column and much more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*LNwM1PeReLWcdBsHlIfjEw.png" /><figcaption>Querying the metadata to know the tables in the database and the number of columns per table</figcaption></figure><p>In addition to what I mentioned earlier, another thing made this part very interesting: learning how to approach a database for the first time. I learnt to start by querying the metadata to understand the database structure and its tables. I also learnt that when selecting data, you should never dump all the rows from a table immediately; instead, take a quick peek first, for example, with df.head(). I was also introduced to common table expressions (CTEs), window functions, aggregate functions, conditionals, partitioning, and many other SQL concepts.</p><p>This week, I worked through a range of tasks across NumPy, Pandas and SQL. In NumPy, I wrote programs to test arrays element-wise for NaN values and for complex or real numbers, checked whether a value is a scalar type, compared arrays element-wise and calculated the memory occupied by an array. In Pandas, I created Series from data, dictionaries and NumPy arrays, converted a Series to a list and an array, performed arithmetic and floor division on two Series, changed data types to numeric, sorted a Series, appended data to it, and flattened a Series of lists into one. I also worked with a TB dataset, where I retrieved specific rows, displayed the first 10 rows, selected columns, and filtered rows using single and combined conditions. I then explored six airport weather datasets for 2014 pulled from the cohort database, and finished with a ten-task intermediate SQL assessment covering schema exploration, NULL handling, conditional aggregation, GROUP BY with HAVING, joins, anti-joins, UNION ALL, CTEs with window ranking and running totals.</p><h3>Challenges I faced</h3><ul><li><strong>Pandas Series versus NumPy arrays.</strong> They look and behave similarly, so I kept mixing them up at first.</li><li><strong>Getting used to Pandas.</strong> Using the library for the first time felt strange.</li><li><strong>The integer-division trap.</strong> Averaging a whole-number column in SQL truncates the result to an integer instead of giving a decimal.</li><li><strong>NULL handling.</strong> My first filters returned wrong counts until I stopped using = NULL.</li><li><strong>Window functions and CTEs.</strong> Ranking within groups and running totals were harder than the basics, and long queries were difficult to debug.</li></ul><h3>How I overcame them</h3><p>Practice was the biggest factor. Working with Series, arrays and DataFrames side by side made the differences clear, and I started to get familiar with Pandas after a few trials.</p><p>For SQL, I built queries one small piece at a time and checked each output before moving on. I created another .ipynb file where I tested my code before I copied it to my take-home file. To fix the integer-division trap, I multiplied by 1.0.</p><p>In addition, I gave myself a break when things got confusing. I used pen and paper to analyse the differences between concepts, then went back to my laptop to continue working. This helped me a lot to avoid mixing up concepts and ideas.</p><p><strong>Insights</strong></p><p>The most valuable lesson was learning how to approach a database for the first time. Always start by querying the metadata to understand the structure of the database and its tables. This remains vital because of the differences that can occur in the tables, which may silently affect the output of your code. Also, I believe that anyone learning SQL for the first time, after learning how to use SELECT FROM, should learn the SQL order of execution; this makes things easier, as you know what runs first and what runs later in your code. This way, you can organise your thoughts properly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*aEMAHNs8oTMQzBsbQ9sJjA.jpeg" /><figcaption>SQL Order of Execution by <a href="https://code.likeagirl.io/sqls-order-of-execution-f64d639ce4ec">Taran Kaur</a></figcaption></figure><p>The course materials were very good and elaborate enough, but I would also advise that this be included in the learning scheme, as it makes SQL much simpler to understand.</p><p>My advice to other learners is that they should not be discouraged if a tool feels strange at first. It gets familiar with practice. Take your time, find a time that fits into your schedule, always show up every day no matter what, try to recap what you learnt in the previous weeks before proceeding to the new week, and also collaborate with people; speak and discuss some concepts, as it makes things clearer.</p><p>Week 6 showed me how NumPy, Pandas and SQL fit together, and I’m looking forward to building on this in week 7.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1da252e3c839" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Weeks 4 and 5: Two Rejections, One Verified Topic, and a Proposal I Almost Gave Up On]]></title>
            <link>https://medium.com/@oluwatuyitimilehin/weeks-4-and-5-two-rejections-one-verified-topic-and-a-proposal-i-almost-gave-up-on-868eeb87b0a2?source=rss-ec0bf739aae6------2</link>
            <guid isPermaLink="false">https://medium.com/p/868eeb87b0a2</guid>
            <category><![CDATA[research]]></category>
            <category><![CDATA[internships]]></category>
            <category><![CDATA[dataraflow-intern]]></category>
            <dc:creator><![CDATA[Oluwatuyi Oluwatiimilehin]]></dc:creator>
            <pubDate>Tue, 13 Oct 2026 17:20:33 GMT</pubDate>
            <atom:updated>2026-10-13T20:07:41.258Z</atom:updated>
            <content:encoded><![CDATA[<p>I used to think choosing a research topic was the easy part of getting a research done. Pick something interesting, write it down, get approval, and start the real work. Weeks 4 and 5 with dataraflow proved me wrong.</p><p>These two weeks were slow and frustrating to me, and they taught me more about research than anything I had read so far, which include critical thinking and problem solving.</p><h3>The First Rejection: “Saturated benchmark”</h3><p>My first topic was on prediction <strong>[Machine Learning Prediction of Malaria Infection Among Children Under Five in Nigeria Using Socio-economic, Demographic and Household Factors]</strong>. I was proud of it. It felt it was a novel area of research and one that would make people nod and say, “That matters.” I submitted it with full confidence.</p><p>It came back rejected. The reviewer stated that the topic is an established, saturated benchmark in health analytics and further suggested I carry out spatial cross-validation instead to address geographical autocorrelation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mjvs-quD6ciFQb53GOTJLw.jpeg" /></figure><p>I was confused when i saw the suggestion, cause i haven’t done my findings on what autocorrelation means. I did my findings on spatial cross-validation and autoccorrelation and I found out that these concept are more about validating models with foreign date i.e data from a different geography or a data outside the data the model was built on.</p><p>That was my first real lesson: <strong>importance and feasibility are not the same thing.</strong></p><h3>The Second Rejection: “Research not feasible”</h3><p>I went back, instead of narrowing things down, I pick another topic after rigorous research. My second topic, <strong>[Predicting Respiratory Disease Mortality using Machine Learning: Integrating Satellite-Derived Air Pollution and Meteorological Data]</strong>, was far more complicated.</p><p>It was rejected again.</p><p>This time the issue was different. The reviewer stated that the environmental data is sophisticated and the work design cannot work for the reasons on the health-outome. The reviewer further mentioned that the available WHO respiratory mortality data for Nigeria is a model estimate rather than a counted deaths. I had chosen something that sounded original without checking whether it could actually be researched. A topic can be unique and still not be feasible.</p><p>After that second rejection, adhered to the reviewers suggestion that i should focus on ground level PM 2.5.</p><h3>Changing My Approach</h3><p>My first instinct was to submit a third topic quickly and get it over with. Instead, I forced myself to slow down. Two rejections meant my method was flawed, not just my topics.</p><p><strong>I read before I wrote.</strong> I spent several days trying to understand the reviewer suggestions and comments. I paid close attention to the limitations.</p><p><strong>I used four narrowing questions.</strong> For every idea, I asked: <em>What</em> am I studying? <em>Where</em> am I studying it in? <em>When</em> (what time frame)? <em>How</em> (what method)? If I could not answer all four clearly, the topic was still too vague.</p><p><strong>I asked for help.</strong> I asked for help from my peers and also discussed my ideas with few of my colleagues. Some of these conversations shed light to some concept and aspect of my interest.</p><h3>Third Time: Topic Verified</h3><p>My third topic was <strong>accepted</strong>. When the approval finally came, I felt a relief I cannot fully describe.</p><p>Looking back, both rejections were useful. The first taught me to do critical evaluation before selecting a topic. The second taught me to ground my ideas in evidence and possibilities. Together they gave me a much stronger idea and approach on how i will address the process of selecting a research topic.</p><h3>Writing the Proposal</h3><p>With an approved topic, the next task was the proposal, which was week 5. Here is how I built it, section by section.</p><p><strong>Introduction.</strong> I started with the broad context and gradually narrowed down to my specific problem, so a reader unfamiliar with my topic could follow the logic.</p><p><strong>Literature review.</strong> The goal was not to list every relevant study but to show what is already known, what is disputed, and the research gaps.</p><p><strong>Statement of the Research problem.</strong> I stated what is wrong, missing, or unknown, and why it matters.</p><p><strong>Aim and objectives.</strong> I wrote objectives that were specific and measurable, using verbs like <em>examine</em>, <em>develop</em>, <em>evaluate</em>, and <em>assess.</em></p><p><strong>Research questions.</strong> Each question linked directly to an objective. If a question had no matching objective, one of them needed to change.</p><p><strong>Methodology.</strong> This section is the most critical among. It included my research design, data collection tools, and method of analysis, and why each choice suited my objectives.</p><p><strong>References.</strong> I kept a record of every source i cited in the paper. I initially have experience in using Zotero reference manager which made this easy. It saved me from alot of stress.</p><h3>What These Two Weeks Taught Me</h3><ul><li><strong>Rejection is feedback, not failure.</strong> Each rejection told me exactly what to fix and also to always try again.</li><li><strong>Ask for help early.</strong> Other people see problems you cannot see in your own work.</li><li><strong>A rough is very important before perfect plan.</strong> You can only improve something that exists.</li></ul><p>Finding a research topic and building on it is less about having a brilliant idea and more about identifying problems around you and shaping an idea around it. It takes patience, critical thinking, and more conversations than expected. But the result is worth it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=868eeb87b0a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 3 with Dataraflow]]></title>
            <link>https://medium.com/@oluwatuyitimilehin/week-3-with-dataraflow-acd3b8d51c43?source=rss-ec0bf739aae6------2</link>
            <guid isPermaLink="false">https://medium.com/p/acd3b8d51c43</guid>
            <dc:creator><![CDATA[Oluwatuyi Oluwatiimilehin]]></dc:creator>
            <pubDate>Sun, 27 Sep 2026 03:53:49 GMT</pubDate>
            <atom:updated>2026-09-27T03:58:08.260Z</atom:updated>
            <content:encoded><![CDATA[<p>This week was all about levelling up my Python fundamentals and a little introduction to SQL.</p><p><strong>Modules</strong></p><p>Modules were the first concept formally introduced this week, although I’d already been using them in previous weeks without realising there is more to it. It wasn’t until week 3 that this concept was officially covered. Looking back, this has become one of the most important concepts in Python so far, both generally and in how I now approach writing code. Obviously, a module is a Python file containing reusable code which may include functions, classes, or variables that you can import into other programs instead of rewriting everything from scratch.</p><p>This concept interests me because it means a programmer never has to work in isolation. Instead of solving the same problem everyone else has already solved, you can lean on code that another programmer has written, tested, and refined</p><p><strong>Working with Dates: The </strong><strong>datetime Module</strong></p><p>This week, I built a couple of small programs that got me comfortable with Python’s datetime module: the one that calculates how many days are left until your next birthday, and another that finds the number of days between two dates.</p><p>An important trick I picked up: you can subtract two date objects, and Python hands you back a timedelta, from which .days gives you a clean integer. No manual calendar math required.</p><pre>from datetime import date<br><br>today = date.today()<br>next_birthday = date(today.year, 6, 15)<br><br>if next_birthday &lt; today:<br>    next_birthday = date(today.year + 1, 6, 15)<br><br>days_left = (next_birthday - today).days</pre><p><strong>Handling Errors Gracefully with </strong><strong>try/</strong><strong>except</strong></p><p>This concept interested me the most this week because I get to decide how errors are handled rather than letting programs just crash. Working through it wasn’t mistake-free, though. I originally wrote a program where the input conversion happened before the try block. That meant if someone typed garbage instead of a number, the error was raised outside the block that was supposed to catch it.</p><pre>#Error will be raised outside the box<br>num = float(input(&quot;Enter a number: &quot;))<br>try:<br>    print(num)<br>except ValueError:<br>    print(&#39;Please input a number&#39;)<br>finally:<br>    print(&#39;Session is over&#39;)</pre><p>Once I spotted the issue, the fix was simple, but it left me with a much clearer understanding of the concept: whatever code can fail needs to live inside the try block, not before it.</p><pre>try:<br>    num = float(input(&quot;Enter a number: &quot;))<br>    print(num)<br>except ValueError:<br>    print(&#39;Please input a number&#39;)<br>finally:<br>    print(&#39;Session is over&#39;)</pre><h4>Reading and Writing Files</h4><p>Alongside try/except, I practised basic file I/O, opening files, reading their contents, and writing data back out. Using with open(file_name) as fileexpression to open, edit and close a file easily, since so many things can go wrong if the file is not properly closed.</p><h4>JSON: JavaScript Object Notation</h4><p>I also learnt how to read and write to a JSON file, which built naturally on what I already knew about try/except. Using json.load() to read a file and json.dump() to write to one felt straightforward, but it also showed me how easily things can break if the file content isn&#39;t properly formatted.</p><p>That’s where the error handling came in again. I tried to parse invalid JSON with json.load(); it raises a json.JSONDecodeError, which I learnt is actually a subclass of ValueError. That meant I could catch it specifically, or catch it more broadly depending on how detailed I wanted my error messages to be.</p><h4>Dipping a Toe into SQL</h4><p>The last piece of the week was getting introduced to SQL, a totally different mental model from Python. Instead of writing step-by-step logic, this helps users create, manage and query a database. The core concept is to describe <em>what data you want</em> using keywords specific to SQL and let the database figure out how to get it.</p><h4>The Throughline</h4><p>A concept that finally clicked is how to create a virtual environment. A virtual environment is just an isolated sandbox for a project’s dependencies, so one project’s package versions don’t collide with another’s. I practice this several times throughout the week, ensuring that the concept becomes a part of me as a data scientist.</p><p>If there’s one thing tying all of this together, it’s <strong>defensive programming: </strong>anticipating what could go wrong (bad input, broken files, malformed data, colliding packages in the case of a virtual environment) and handling them explicitly rather than letting the program crash. That mindset showed up in almost everything I built this week, and it’s already changing how I write even simple scripts.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=acd3b8d51c43" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 2 at Dataraflow: Learning to think in Objects]]></title>
            <link>https://medium.com/@oluwatuyitimilehin/week-2-at-dataraflow-learning-to-think-in-objects-f87a745ac6a1?source=rss-ec0bf739aae6------2</link>
            <guid isPermaLink="false">https://medium.com/p/f87a745ac6a1</guid>
            <category><![CDATA[object-oriented]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[datara-flow]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[internship-experience]]></category>
            <dc:creator><![CDATA[Oluwatuyi Oluwatiimilehin]]></dc:creator>
            <pubDate>Thu, 17 Sep 2026 12:57:53 GMT</pubDate>
            <atom:updated>2026-09-17T12:57:53.854Z</atom:updated>
            <content:encoded><![CDATA[<p>Week one with Dataraflow was about getting comfortable with Python; it actually felt good. I could write a script, get an output and also do some basic and critical thinking. Week two, on the other hand, broke that comfort a little. And I mean that in the best way.</p><p>This week wasn’t about learning new syntax alone; it was really about learning a new way of thinking. Instead of writing simple code that just runs top to bottom, I learnt how to build code that is a bit more complex than in week 1. Week 2 completely changed how I look at coding with Python. It introduced me to Object-Oriented Programming (OOP), where code flow is built around ‘Classes’ and ‘Objects’. I learned how this approach uses objects to group data with the specific actions those objects can perform. It was a significant mental shift for me, but once I got into the concept, I started seeing it everywhere: in every advanced code snippet I see online, every dataset object, and even the core processes that run in the background of the Python system.</p><p><strong>What did I learn this week?</strong></p><p><em>Object-Oriented Programming (OOP)</em></p><p>The week began with an introduction to object-oriented programming (OOP). At first, I wondered why I needed classes when functions could do the job. It started to make sense when I realised that OOP is less about writing more code and more about organising code logically by keeping data and methods together in an orderly manner.</p><p><em>Inheritance</em></p><p>After the introduction to OOP, I also learned about inheritance. This helped me understand how classes can build on one another without repeating code. My main challenge was understanding how a child class relates to its parent class. Eventually, it clicked that inheritance allows a child class to keep what already works while adding or changing only what is different. That made the concept much more practical.</p><p><em>Polymorphism, Iterator and Scope</em></p><p>Polymorphism showed me that different objects can respond differently to the same method. A good example is having several classes with the same method name, such as .describe(), but with each class performing the task differently. This exposed me to how Python libraries can provide a consistent interface while allowing different objects to behave in their own ways.</p><p>I had used for loops many times without thinking about what happens behind them. Learning about iterators, on the other hand, showed me that Python repeatedly requests the next value until there is nothing left. Building a simple iterator also helped me understand how a sequence can be processed gradually instead of loading everything into memory at once. In addition, scope was one of the topics that affected my code most directly. Understanding scope (global and local) made me more aware of how Python manages variables.</p><p><strong>Are there any challenges?</strong></p><p>YES!!! A lot of them. I will share the ones that taught me the most this week</p><p>The first real challenge came after I finished writing what I thought was a perfect piece of code (Figure 1:Left). I assumed the task was complete until I executed it and, instead of getting the expected output, Python returned what looked like a memory address.</p><p>I spent quite some time trying to identify the problem, only to realise that the issue was simply the missing parentheses. This experience taught me an important lesson about debugging: sometimes, when you have been staring at the same code for too long, stepping away for a few minutes and returning with a fresh perspective can make a simple mistake much easier to spot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/835/1*I89oDLKwpRq0OnxEVlh6ug.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/656/1*vJPIUhy-0gqOBTrirSNEqA.png" /><figcaption><strong>Figure 1: Left:</strong> forgot the parentheses; got the method reference. <strong>Right</strong>: added (), improved the code and got the actual sound.</figcaption></figure><p>Another important challenge was while I was trying to handle <em>StopIteration. </em>I put this to the test with a simple exercise: take a list of numbers, turn it into an iterator with iter(), and pull each value out with next() until there&#39;s nothing left. My first attempt tried to detect the end manually with if next(list_itr) != True: raise StopIteration. It failed almost immediately. I searched for what could be wrong online until I came across a concept that was introduced in week 1 (<a href="https://www.geeksforgeeks.org/python/resolve-stopiteration-error-in-python/">try/except</a>). Catching StopIteration with try/except made the code work perfectly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*8v4cuWIE3f13cybt_A3DwQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/814/1*PwUvtYDWafQdgTaURDiwNA.png" /><figcaption><strong>Figure 2: Left: </strong>manually raising StopIteration crashes the program. <strong>Right:</strong> wrapping next() in a try/except handles it gracefully.</figcaption></figure><p>Apart from this, I also faced challenges while working on the library management system, as the task required more critical thinking and careful planning. I relied mainly on YouTube tutorials to better understand how to structure and build the system correctly. I coded along with the tutorials first, which helped me understand the process before attempting the assignment on my own.</p><p><strong>Did I do something different this week?</strong></p><p>Yes. One major thing I did differently this week is to always make my code work first, then look for a way to make it simpler. I demonstrated this in the printname exercise for the Student class. I first wrote out printname as a regular function to confirm the logic actually worked when assigned to the class, and only after seeing x.printname() print the correct name did I go back and simplify it into a one-line lambda function. Working first, simplifying second, kept me from getting stuck chasing elegant code before I even knew if the logic was right.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*-2BmaxTiPfM0GmdENTwwGQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/476/1*EF0oFIEMMIPJ4CNOwDh8Lg.png" /><figcaption><strong>Figure 3: Left: </strong>the function that proved the logic worked. <strong>Right: </strong>the lambda it became once simplified.</figcaption></figure><p>My approach to most of the challenges I encounter is quite similar. I first try to solve the problem on my own, pushing myself to think critically and explore different possible solutions before seeking external help. When necessary, I consult documentation, YouTube videos, and relevant articles online to improve my understanding.</p><p>I also make it a habit to code along with tutorials rather than just watch them passively. In many cases, I write out pseudocode first to organise my thoughts and clearly understand the logic before writing the actual code. I believe this approach helps me learn more deeply and become more independent in solving programming problems.</p><p><strong>Looking Ahead</strong></p><p>As I move into a new week in this internship, I am becoming more comfortable with the learning process. Each challenge has reminded me that growth often comes through confusion, mistakes, debugging, and persistence. Rather than expecting everything to make sense immediately, I am learning to trust the process, remain consistent, and focus on becoming better with every problem I solve.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f87a745ac6a1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My First Week Learning Data Science With Python]]></title>
            <link>https://medium.com/@oluwatuyitimilehin/my-first-week-learning-data-science-with-python-591bdb8a83c6?source=rss-ec0bf739aae6------2</link>
            <guid isPermaLink="false">https://medium.com/p/591bdb8a83c6</guid>
            <category><![CDATA[internships]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[grit]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Oluwatuyi Oluwatiimilehin]]></dc:creator>
            <pubDate>Sat, 05 Sep 2026 16:43:28 GMT</pubDate>
            <atom:updated>2026-09-05T16:43:28.764Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Introduction</strong></p><p>A year ago, I taught myself how to analyse small data using Excel and R. It gave me a glimpse into what data really is, and why it holds so much power in decisions that shape outcomes. So when I finally got into this internship program with Dataraflow, and I opened Python for the first time this week, I felt something I hadn’t expected: pure excitement, the kind that comes from standing at the edge of something new, knowing you’ve done hard things before and can do them again and better.</p><p><strong>Week 1: Diving into Python and Data Science</strong></p><p>I have come to believe that</p><blockquote>The beginning is not the hardest part of any journey; it’s just the first proof of how much grit it will take.</blockquote><p>This truth hit me harder than I expected in my first week. With my basic knowledge of programming, I thought I understood what it meant to code. What I didn’t expect was how many small, simple exercises would humble me almost immediately, or how many questions would come from the most unexpected places.</p><p><strong><em>Curiosity at the early stage of learning</em></strong></p><p>My first question arose while going through Python’s data types. I came across complex numbers. Although the concept wasn’t new to me in mathematics, I still found myself asking: why is this even important in Python, and are there other programming languages that use this data type too? It felt like a strange thing to include in a language. So I searched for answers, read a few articles, and pieced it together. Complex numbers, I learned, matter in fields like engineering, signal processing, and scientific computing, where calculations often involve imaginary numbers (like square roots of negatives) that show up in things like electrical currents and wave functions. It was a small question, but it taught me something bigger: not every answer would come from an assignment or a task. Some of the best learning will come from curiosity and the ability to search for answers.</p><p><strong><em>What is Data Science?</em></strong></p><p>If you’d asked me a year ago what data science was, I probably would have said something about coding and building predictive models. While going through the course overview for this week, I learnt that coding is only a fraction of the picture. Data science isn’t just about writing clever code or training complex models; it’s about asking the right questions, understanding the data well enough to trust (or challenge) it, and communicating what you find in a way that actually helps someone make a data-driven and impactful decision.</p><p>Python, in this sense, is just a tool. The real work is in the thinking that happens before and after the code: What problem am I solving? What does this output actually mean? Who needs this, and why?</p><p>In my first week, I set up a coding environment in VS Code and learned about the tools commonly used by data scientists. During the live session, it was emphasised that these tools don’t define a data scientist; rather, a strong grasp of data science fundamentals matters most. The course overview also captured that the real ‘X-factor’ for a data scientist isn’t the tools but intellectual curiosity. Building on this, I moved into learning basic Python programming. This included understanding Python’s core data types, writing functions, and working with key data structures such as tuples, lists, and dictionaries. I also learned the basics of file I/O (input/output) operations in Python.</p><p><strong>How I Handled the First Challenge</strong></p><p>The Fibonacci sequence task was my first real challenge in the coding section. I understood the logic on paper: each number is the sum of the two before it, but translating that logic into working Python code was a different story. I kept mixing up my loop conditions, and my function kept returning the wrong sequence or an error. I sat with it longer than I’d like to admit before I finally stepped back, sketched the sequence by hand, and traced through my code line by line to see where the logic broke. I still couldn’t fix it, so I consulted a few articles where I learnt about <a href="https://www.tutorialspoint.com/python/python_packing_and_unpacking.htm">Tuple packing and unpacking</a>. This helped me to solve the problem easily (Fig 1)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/572/1*GsEB4t0pol-df1iVpj1r7A.png" /><figcaption><strong>Figure 1: Tuple Unpacking</strong></figcaption></figure><p>As I proceeded with the course activities, I came across an assessment that required me to write code that counts the words in a given text. The word count task tested something different in me: not just syntax, but patience. Splitting a string into words and counting occurrences might seem simple, but tasks like this often hide several smaller problems stacked on top of each other. The first code I wrote worked (Figure 2), until I tested it with text containing a trailing space, which caused it to count one word extra. This gave me headaches for a while until I read an article online regarding the <a href="https://www.geeksforgeeks.org/python/python-string-split/">.split()</a> method, which now handles trailing whitespace correctly and counts every case accurately (Figure 3).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rug2C0JhPCNWa7UBlusNqg.png" /><figcaption>Figure 2</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*lYvcchj5p2hSU0OueAs4ug.png" /><figcaption>Figure 3</figcaption></figure><p><strong><em>What got me through the first week</em></strong></p><p>The major thing that got me through the first week was persistence and a willingness to learn from multiple sources. I turned to YouTube more times than I can count, watching walkthroughs of the same problems I was stuck on, sometimes pausing every few seconds to type along. Sometimes I retried the code I learnt using another approach. I read documentation I didn’t fully understand on the first pass, and read it again. Slowly, the syntax started to feel less like a foreign language and more like a dialect of something I already knew.</p><p>The flowchart below summarises how I approached every task and challenge in my first week at the Dataraflow internship.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3DthceQ2XBQKd79d9O5gZQ.png" /><figcaption>Figure 4: How I approached every task</figcaption></figure><p>I’m grateful for this opportunity, and thankful to the founder of Dataraflow, our mentors, and the entire management team for the work they’ve put into building this programme. This is just the beginning, and I’m looking forward to sharing more of my journey as the internship continues.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=591bdb8a83c6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>