<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Oluwaseyi Oshunwusi</title>
    <description>The latest articles on DEV Community by Oluwaseyi Oshunwusi (@oluwaseyi_oshunwusi_e168a).</description>
    <link>https://dev.to/oluwaseyi_oshunwusi_e168a</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4270824%2F6b123228-ef8f-4104-bcbb-85d7009ac4d1.jpg</url>
      <title>DEV Community: Oluwaseyi Oshunwusi</title>
      <link>https://dev.to/oluwaseyi_oshunwusi_e168a</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/oluwaseyi_oshunwusi_e168a"/>
    <language>en</language>
    <item>
      <title>Late Deliveries and Repeat Customers: 99,441 Orders Analysed</title>
      <dc:creator>Oluwaseyi Oshunwusi</dc:creator>
      <pubDate>Mon, 30 Nov 2026 09:42:06 +0000</pubDate>
      <link>https://dev.to/oluwaseyi_oshunwusi_e168a/late-deliveries-and-repeat-customers-99441-orders-analysed-i18</link>
      <guid>https://dev.to/oluwaseyi_oshunwusi_e168a/late-deliveries-and-repeat-customers-99441-orders-analysed-i18</guid>
      <description>&lt;p&gt;Late deliveries cost an online shop more than one bad review. In the Olist dataset of 99,441 Brazilian e-commerce orders, customers rated on-time orders 4.3 stars on average and orders more than 8 days late 1.7 stars. Only 2.2% of customers ever placed a second order. I spent four weeks turning nine raw tables into a dashboard and four recommendations, and two of my own findings failed the checks along the way.&lt;/p&gt;

&lt;h2&gt;
  
  
  The numbers that matter
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Measure&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Revenue from delivered orders&lt;/td&gt;
&lt;td&gt;R$15.4M&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Average order value&lt;/td&gt;
&lt;td&gt;R$159.83&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Orders that arrived late&lt;/td&gt;
&lt;td&gt;6.8%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Average review score&lt;/td&gt;
&lt;td&gt;4.16 out of 5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Customers who ever came back&lt;/td&gt;
&lt;td&gt;2.2%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Week 1: make the data trustworthy
&lt;/h2&gt;

&lt;p&gt;The data came as nine linked tables. I modelled them into a star schema with two fact tables and four dimensions, and wrote 14 automated checks so no row went missing and revenue reconciled to the cent. One check exposed a trap: the customer ID changes with every order. Using the real customer key showed 96,096 actual customers, and every retention number depends on that fix.&lt;/p&gt;

&lt;h2&gt;
  
  
  Week 2: analyse, then try to break it
&lt;/h2&gt;

&lt;p&gt;I built a monthly KPI layer in SQL with a written definition for every metric, then ran 12-month cohort retention and RFM segmentation of 95,000 customers into seven groups. Then I tested my own conclusions. Two didn't survive:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;"Repeat buyers come back within 28 days."&lt;/strong&gt; 28% of these "repeat customers" had split one shopping trip into several orders. Counting real return visits, the typical wait is 74 days.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;"A late first order makes customers less likely to return."&lt;/strong&gt; Late orders cluster in certain months. Comparing customers who joined at the same time, the effect isn't statistically significant.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If I had published after week 2 without those checks, two of the headline findings would have been wrong.&lt;/p&gt;

&lt;h2&gt;
  
  
  Weeks 3 and 4: a dashboard and a report
&lt;/h2&gt;

&lt;p&gt;I published a live Streamlit dashboard anyone can filter by month, state and category, with every number matching the notebooks. Then I built a four-page Power BI executive report for a manager who has five minutes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Four recommendations
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Set honest delivery dates by region.&lt;/strong&gt; Late parcels drop ratings from about 4.3 stars to under 2.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ask for reviews after delivery.&lt;/strong&gt; 74% of reviews on late orders were written before the parcel arrived.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Build a second-purchase programme.&lt;/strong&gt; With 2.2% of customers returning, the next sale is the biggest opportunity.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Protect delivery in São Paulo, Rio de Janeiro and Minas Gerais.&lt;/strong&gt; These three states bring in 62.5% of revenue.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What this means for your business
&lt;/h2&gt;

&lt;p&gt;Check your own delivery promise against your actual delivery times, and look at when your customers write reviews. If most of your customers buy once, the cheapest growth you have is a reason to buy twice.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://olist-bi-shykeys.streamlit.app" rel="noopener noreferrer"&gt;Open the live dashboard&lt;/a&gt; · &lt;a href="https://www.meetoluwaseyi.com/work/olist-ecommerce-bi" rel="noopener noreferrer"&gt;Read the full case study&lt;/a&gt; · &lt;a href="https://github.com/shykeys-data/olist-ecommerce-bi" rel="noopener noreferrer"&gt;Code on GitHub&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Have data you want answers from?&lt;/strong&gt; Send me the question you want answered. &lt;a href="https://www.meetoluwaseyi.com/contact" rel="noopener noreferrer"&gt;Get in touch&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.meetoluwaseyi.com/data-analyst" rel="noopener noreferrer"&gt;See how I work as a data analyst&lt;/a&gt; · &lt;em&gt;Originally published on &lt;a href="https://www.meetoluwaseyi.com/writing/late-deliveries-and-repeat-customers" rel="noopener noreferrer"&gt;meetoluwaseyi.com&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>datascience</category>
      <category>python</category>
      <category>analytics</category>
      <category>ecommerce</category>
    </item>
  </channel>
</rss>
