<?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 Ikenna Nwankpa on Medium]]></title>
        <description><![CDATA[Stories by Ikenna Nwankpa on Medium]]></description>
        <link>https://medium.com/@leeec.ik?source=rss-cdf30d55dcb6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*AbU2-R4PemqdVlbY</url>
            <title>Stories by Ikenna Nwankpa on Medium</title>
            <link>https://medium.com/@leeec.ik?source=rss-cdf30d55dcb6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 23:41:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@leeec.ik/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[How to upload files of more than 25MB to your GitHub repository.]]></title>
            <link>https://medium.com/@leeec.ik/how-to-upload-files-of-more-than-25mb-to-your-github-repository-f48581f786d6?source=rss-cdf30d55dcb6------2</link>
            <guid isPermaLink="false">https://medium.com/p/f48581f786d6</guid>
            <category><![CDATA[git-lfs]]></category>
            <category><![CDATA[repositories]]></category>
            <category><![CDATA[git-bash]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[machine-learning-ai]]></category>
            <dc:creator><![CDATA[Ikenna Nwankpa]]></dc:creator>
            <pubDate>Sat, 03 Dec 2022 15:48:56 GMT</pubDate>
            <atom:updated>2022-12-03T16:04:52.128Z</atom:updated>
            <content:encoded><![CDATA[<p>I experienced this challenge while working on a project in which I needed to build an app based on an ML model I had just developed to predict the salary of software developers around the world based on their country of residence, years of experience, and education level. In order to deploy the app, I had to create a repository for the project in my GitHub account with all the project code files and the data file, which happens to be a whopping 104MB in size.</p><p>Now, how was I going to be able to achieve this, knowing fully well GitHub has this limit in place of 25MB on files being uploaded to a repository? The search for a solution sent me down a deep and dark rabbit hole. Pay close attention as I share with you a detailed solution to this challenge.</p><p>First, you need to download and install Git on your computer. Follow this link <a href="https://git-scm.com/downloads">https://git-scm.com/downloads</a>. Check for the download link that corresponds to your operating system. Download and install.</p><p>The next thing to do is to download and install git lfs. Lfs stands for large file storage. Just follow this link to get that done <a href="https://git-lfs.github.com/">https://git-lfs.github.com/</a>.</p><p>Now we can tackle that large file! To start, just create a new folder on your desktop, and copy and paste the large file inside the new folder that you just created. Then, right-click in the new folder containing your large file. Select the “Git Bash Here” option from the pop-up menu. This action opens up the Git command prompt where you’re going to be keying in the commands that I’m going to be providing in the lines that will follow;</p><p>$ git init<br>$ ls<br>$ ls -la<br>$ clear<br>$ git branch<br>$ git checkout -b main<br>$ git remote add origin &lt;copy &amp; paste repository link here&gt;<br>$ git lfs install<br>$ git lfs track “*.&lt;file type&gt;”<br>$ git add .gitattributes<br>$ git add &lt;file name.file type&gt;<br>$ git commit -m “just write something meaningful here”<br>IF YOU ARE ASKED TO IDENTIFY YOURSELF AT THIS POINT,<br>PROCEED AS FOLLOWS;<br>$ git config — global user.name “Your github username”<br>$ git config — global user.email “the email address linked to your github account”<br>$ git commit -m “just write something meaningful here”<br>$ git push -u origin main</p><p>INCASE YOU ENCOUNTER ERROR MESSAGE &lt; first) error: failed to push some refs to repo link&gt;<br>PROCEED AS FOLLOWS;</p><p>$ git fetch origin main:tmp<br>$ git rebase tmp<br>$ git push origin HEAD:master<br>$ git branch -D tmp</p><p>For better understanding, I will leave a link to a youtube video that I found very helpful in the process <a href="https://www.youtube.com/watch?v=yY8uvTyFpsE">https://www.youtube.com/watch?v=yY8uvTyFpsE</a></p><p>My project can be found here <a href="https://github.com/Ikenna-The-Data-Guy/streamlit-app-1">https://github.com/Ikenna-The-Data-Guy/streamlit-app-1</a></p><p>To check out my app, please use this link <a href="https://ikenna-the-data-guy-streamlit-app-1-app-8kj44k.streamlit.app/">https://ikenna-the-data-guy-streamlit-app-1-app-8kj44k.streamlit.app/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f48581f786d6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fillna is not working.]]></title>
            <link>https://medium.com/@leeec.ik/fillna-is-not-working-202ef5c76513?source=rss-cdf30d55dcb6------2</link>
            <guid isPermaLink="false">https://medium.com/p/202ef5c76513</guid>
            <category><![CDATA[fillna]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[jupyter-notebook]]></category>
            <category><![CDATA[data-cleaning]]></category>
            <dc:creator><![CDATA[Ikenna Nwankpa]]></dc:creator>
            <pubDate>Sat, 08 Oct 2022 00:24:08 GMT</pubDate>
            <atom:updated>2022-10-08T14:03:17.942Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5aBwwS8f0F7rbB-8FYNzRA.jpeg" /></figure><p>I was working on a dataset that I built using Python Dictionary and a certain data point had no value. So, I filled in “NaN”, and moved on.</p><p>When my dataframe was ready, I proceeded to clean up the data by finding the median of the column that had the missing data point (I wanted to use the dataset to train a model).</p><pre>area bedrooms age price</pre><pre>0 2600 3.0 20 550000</pre><pre>1 3000 4.0 15 565000</pre><pre>2 3200 NaN 18 610000</pre><pre>3 3600 3.0 30 595000</pre><pre>4 4000 5.0 8 760000</pre><p>When I tried to use the fillna method in pandas to replace the NaN value with my new median value,</p><pre>df.bedrooms = df.bedrooms.fillna(median_bedroom)<br>df</pre><p>It didn’t work.</p><p>To resolve this problem, I exported the above dataframe to a CSV file and deleted NaN leaving the cell vacant.</p><pre>df.to_csv(&#39;homeprices.csv&#39;)</pre><p>After that, I imported the csv into Jupyter notebook and ran fillna on it. And guess what? It worked!!!!</p><p>So, from this experience, I discovered that fillna doesn’t work on dataframes that are prepared with Python Dictionary.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=202ef5c76513" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dashboard with MS Excel.]]></title>
            <link>https://medium.com/@leeec.ik/dashboard-with-ms-excel-2a74c10f2321?source=rss-cdf30d55dcb6------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a74c10f2321</guid>
            <category><![CDATA[microsoft-excel]]></category>
            <category><![CDATA[dashboard]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Ikenna Nwankpa]]></dc:creator>
            <pubDate>Sat, 30 Apr 2022 03:23:22 GMT</pubDate>
            <atom:updated>2022-05-01T21:27:42.093Z</atom:updated>
            <content:encoded><![CDATA[<p>Dashboards are a very important part of the sharing process in data analytics. It provides the stakeholders with a quick summary of things as they stand and also enables all concerned parties to monitor the progress of any ongoing projects. We are going to take a look at a typical preparatory and execution process of a simple dashboard.</p><p>The dataset used for this simple demonstration was collected from a survey that was commissioned by an international bicycle dealership chain. It could be analyzed in a number of ways depending on the business task (which is the question the stakeholder wants to use the insight generated from the analysis to answer). For instance, the stakeholder might want to know which particular group of people or region s/he needs to target more with customized ad campaigns in order to increase sales.</p><p>The factors are the variables in the dataset excluding the ID column. Owing to the size of the dataset (1027 rows/observations), MS Excel is adequate for doing the analysis and developing the dashboards.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LY2tq1pvFUXtT7jPL-8itw.png" /></figure><p><strong>PREPARATION.</strong></p><p>After downloading and opening the excel file containing the dataset, I proceeded to create three (3) more sheets in addition to the one containing the dataset. I gave them the following titles; working sheet (I made a copy of the dataset in this sheet), pivot table, and dashboard. The purpose of the working sheet is to preserve the original dataset in case I need to make reference to it after altering the one in the working sheet.</p><p><strong>PROCESSING.</strong></p><p>At this point, I start to process the data from dirty to clean. The first action I take is to remove any duplicate entries in order to have only unique entries. This is achieved using the “remove duplicates” feature under the “DATA” tab in Excel. This left me with 1000 rows as 27 duplicates were removed. The next thing I did was work on the Marital Status column. I changed the “M” values to “Married” and the “S” values to “Single” using the “Find and Replace” feature under the “Home” tab. I did this because S, M, and F could mean anything and could throw the analysis off.</p><p>Note that when applying to Find and Replace to the Gender column, the one for “M” to “Male” should be done first because if you do the one for “F” to “Female” first when you want to do the one for “M” to “Male”, Excel will pick the letter “m” in “Female” and you end up with “Femaleale” instead of “Female”.</p><p>In the Income column, I checked to make sure that the data type in that column is currency. I also cleared the decimal places to achieve rounded figures. I did this using the “Number” feature on the Home tab.</p><p>The Children and the Education columns look okay to me since I couldn’t spot any typographical errors.</p><p>All other fields okay save for the Age field where I decided to go with age brackets (or age ranges) in order to achieve some order in the visualizations. In order to achieve this, I inserted a column to the right of the Age column and gave it the title “Age Bracket”. For this column, I used the IF statement to help me create the age ranges from the “Age” column that I was going to use for the analysis. I decided to do it this way; anyone aged below 31 is considered a youth, anyone aged 31 to 53 years old is considered middle age while anyone above 53 is old. This is the IF statement that I wrote to achieve the grouping =IF(L2&gt;54,”Old”,IF(L2&gt;=31,”Middle age”,IF(L2,”Youth”,”Invalid”))). The groupings will make the visualizations much neater than if I work with the individual ages in the “Age” column. I have come to the end of the data processing. Next, I will be using the pivot table sheet and function to model the now processed dataset for the visuals and dashboard.</p><p><strong>PIVOT TABLES (MODELS)</strong></p><p>This is where I develop the pivot tables. There are a ton of free resources including videos online in which pivot tables are taught.</p><p><strong>Dashboard</strong></p><p>I now have my first dashboard from the dataset. In this dashboard, the effect of the average income and the age bracket on bicycle ownership can be evaluated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*xIh6HAQ_BZ6rtEAM5vDyAg.png" /></figure><p>To learn more, just search for “excel dashboards” on youtube. You will get tons of useful results that will help you become proficient in building dashboards.</p><p>I hope this little project was helpful. See you soon on yet another project. Thanks for stopping by.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a74c10f2321" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Google Data Analytics Course Capstone Project.]]></title>
            <link>https://medium.com/@leeec.ik/my-google-data-analytics-course-capstone-project-79146624100b?source=rss-cdf30d55dcb6------2</link>
            <guid isPermaLink="false">https://medium.com/p/79146624100b</guid>
            <category><![CDATA[ms-excel]]></category>
            <category><![CDATA[rstudio]]></category>
            <category><![CDATA[google-data-analytics]]></category>
            <category><![CDATA[data-storytelling]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Ikenna Nwankpa]]></dc:creator>
            <pubDate>Fri, 22 Apr 2022 20:49:40 GMT</pubDate>
            <atom:updated>2022-04-22T20:49:40.908Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Case study 1:How Does a Bike-Share Navigate Speedy Success?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/364/0*NcAxOAYjjxWxQO2l" /></figure><p><strong>Introduction.</strong></p><p>I am a junior analyst working as part of a team of marketing analysts for Cyclistic, a bike-share company based in Chicago. In 2016, Cyclistic launched a successful bike-share offering. Since then, the program has grown to a fleet of 5,824 bicycles that are geo-tracked and locked into a network of 692 stations across Chicago. The bikes can be unlocked from one station and returned to any other station in the system anytime. Until now, Cyclistic’s marketing strategy relied on building general awareness and appealing to broad consumer segments. One approach that helped make these things possible was the flexibility of its pricing plans: single-ride passes, full-day passes, and annual memberships. Customers who purchase single-ride or full-day passes are referred to as casual riders. Customers who purchase annual memberships are Cyclistic members.</p><p>My manager who happens to be the director of marketing believes that the future success of Cyclistic lies in increasing the annual membership base. She embarks on the development of a marketing campaign strategy that would convert existing casual riders to annual members. She assigns me the task of finding out in what ways the casual members differ from the annual members with respect to how they use Cyclistic’s bike service. This brings us to the business task.</p><p><strong>Business task.</strong></p><p>Analyze Cyclistic’s historical bike trip data in order to gain insight into the usage trend of the annual membership and casual rider groups.</p><p><strong>Data source and Preparation.</strong></p><p>The data was obtained from Cyclistic (therefore, it is reliable). It was made available by Motivate International Inc. under this <a href="https://ride.divvybikes.com/data-license-agreement">license</a>.</p><p>I downloaded data covering customer records for the year 2021 (12 zipped files; one for each month). After this process, I extracted the files and saved them in a new folder. The datasets were very large and necessitated the use of a tool that could handle the preparation processes the data was going to undergo. I opted for <a href="https://www.rstudio.com/products/rstudio/download/#download">RStudio</a>. At the core of much of the data preparation process using <a href="https://www.rstudio.com/products/rstudio/download/#download">RStudio</a> is the tidyverse package.</p><figure><img alt="Image displaying the core components of the tidyverse package that makes data manipulation possible." src="https://cdn-images-1.medium.com/max/454/0*bWGWMk0oeBQvy9uz" /><figcaption>The components of the tidyverse package aid in data preparation and analysis.</figcaption></figure><p>So, I proceed to import the datasets into <a href="https://www.rstudio.com/products/rstudio/download/#download">RStudio</a> using the read_csv() function.</p><pre>Jan_Trips &lt;- read_csv(“R/unzipped/202101-divvy-tripdata.csv”)</pre><pre>Feb_Trips &lt;- read_csv(“R/unzipped/202102-divvy-tripdata.csv”)</pre><pre>March_Trips &lt;- read_csv(“R/unzipped/202103-divvy-tripdata.csv”)</pre><pre>April_Trips &lt;- read_csv(“R/unzipped/202104-divvy-tripdata.csv”)</pre><pre>May_Trips &lt;- read_csv(“R/unzipped/202105-divvy-tripdata.csv”)</pre><pre>June_Trips &lt;- read_csv(“R/unzipped/202106-divvy-tripdata.csv”)</pre><pre>July_Trips &lt;- read_csv(“R/unzipped/202107-divvy-tripdata.csv”)</pre><pre>Aug_Trips &lt;- read_csv(“R/unzipped/202108-divvy-tripdata.csv”)</pre><pre>Sept_Trips &lt;- read_csv(“R/unzipped/202109-divvy-tripdata.csv”)</pre><pre>Oct_Trips &lt;- read_csv(“R/unzipped/202110-divvy-tripdata.csv”)</pre><pre>Nov_Trips &lt;- read_csv(“R/unzipped/202111-divvy-tripdata.csv”)</pre><pre>Dec_Trips &lt;- read_csv(“R/unzipped/202112-divvy-tripdata.csv”)</pre><p>I checked the columns to ensure that they were properly alligned. To achieve this, I ran the colnames() function on each of the datasets.</p><pre>colnames(Jan_Trips)<br>colnames(Feb_Trips)<br>colnames(Mar_Trips)<br>colnames(Apr_Trips)<br>colnames(May_Trips)<br>colnames(Jun_Trips)<br>colnames(Jul_Trips)<br>colnames(Aug_Trips)<br>colnames(Sep_Trips)<br>colnames(Oct_Trips)<br>colnames(Nov_Trips)<br>colnames(Dec_Trips)</pre><p>Next, I merged them to form one dataset in order to have a broader view of the data.</p><pre>Year_2021_Trips &lt;- bind_rows(Jan_Trips, Feb_Trips, March_Trips, April_Trips, May_Trips, June_Trips, July_Trips, Aug_Trips, Sept_Trips, Oct_Trips, Nov_Trips, Dec_Trips)</pre><p>At this point, you can use a couple of functions to determine the size of the dataset. You could use the View() function, the glimpse() function, the str() function or the head() function. I opted for the glimpse() function. It will return a glimpse of the dataset’s summary. The dataset has 5,595,063 rows (or observations) and 13 variables (column headers). That means a total number of 5,595,063 trips were made in 2021.</p><p>Now, it’s time to remove some columns that aren’t going to be useful in the analysis. I removed the following: <em>start_lat</em>, <em>start_long</em>, <em>end_lat</em>, and <em>end_long</em>.</p><pre>Year_2021_Trips &lt;- Year_2021_Trips %&gt;% <br>    select(-c(start_lat,start_lng,end_lat,end_lng))                       </pre><p>Observations that had n/a values were also dropped.</p><pre>Year_2021_Trips %&gt;% drop_na()</pre><p>This process left me with 4,588,302 rows and 9 columns.</p><p><strong>Data processing (Clean up data and add data for analysis)·</strong></p><p>First I inspected the new data frame that was created from the previous process by running the following codes;</p><pre># Inspect the new table that has been created</pre><pre>colnames(Year_2021_Trips)  #List of column names</pre><pre>nrow(Year_2021_Trips)  #How many rows are in data frame?</pre><pre>dim(Year_2021_Trips)  #Dimensions of the data frame?</pre><pre>head(Year_2021_Trips)  #See the first 6 rows of data frame.  Also tail(Year_2021_Trips)</pre><pre>str(Year_2021_Trips)  #See list of columns and data types (numeric, character, etc)</pre><pre>summary(Year_2021_Trips)  #Statistical summary of data. Mainly for numerics</pre><p>The ‘redeable_type’ column contains 3 types of bikes namely, <em>classic_bike</em>, <em>electric_bike</em>, and <em>docked_bike</em>. I made inquiries and found out that the <em>classic_bike </em>and <em>docked_bike </em>were used interchangeably and hence are the same. So I replaced <em>docked_bike</em> with <em>classic_bike.</em></p><pre>Year_2021_Trips %&gt;% mutate(rideable_type=replace(rideable_type,&quot;docked_bike&quot;,&quot;classic_bike&quot;))</pre><p>As it stands, the dataset can only aggregate at the ride level which will not be enough for effective analysis. So I created more columns based on the <em>started_at</em>, <em>ended_at</em>, <em>start_station_name</em>, and <em>end_station_name</em>.</p><pre>Year_2021_Tripsv2 &lt;- Year_2021_Trips %&gt;% mutate(month=month(started_at,label=TRUE),<br>day_of_week=wday(started_at,label=TRUE),<br>hour_of_day=hour(started_at),<br>ride_duration_hours=dfftime(ended_at,started_at,units=&quot;hours&quot;),<br>ride_duration_mins=difftime(ended_at,started_at,units=&quot;mins&quot;),<br>route=str_c(start_station_name,end_station_name,sep=&quot;--&quot;))</pre><p>The resultant dataset now has 15 columns.</p><p>I renamed the <em>member_casual</em> column.</p><pre>Year_2021_Trips_clean &lt;- Year_2021_Tripsv2 %&gt;% rename(customer_type = member_casual)</pre><p>This brings me to the end of the data cleaning exercise.</p><p><strong>Analysis.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*0BzZo58EwBr8fHi_eYQktw.png" /></figure><p>In 2021, members accounted for 2,539,923 rides, while casual riders accounted for 2,048,379 rides.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*_gxRmOQMTaiCPIOIgNpZIw.png" /><figcaption>Courtesy Motivate International Inc.</figcaption></figure><p>For much of 2021, it can be seen that classic bikes were preferred to electric bikes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*mr41iq_AlRuku0Gu-eFckQ.png" /></figure><p>The column chart above tells a story. The ride count is highest from May to October. It is lowest from December to March. This tells us that the seasonal changes have a huge impact on the ride count. It is lowest during the winter season and highest during the summer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/814/1*AI_H-9NciihkN-JVX7ELRg.png" /><figcaption>Courtesy Motivate International Inc.</figcaption></figure><p>When the analysis is broken down to the customer type level, it can be observed from the line graph above that the ride count of members surpassed that of casual riders up until the month of June (peak of summer), when casual ride numbers shot past that of members. But those numbers declined again by the month of August and continued in that downward trend as the winter sets in. At this point, a hypothesis starts to form: that casual riders are mostly tourists who are more in number at the peak of summer (from June to August). The column chart below further buttresses this insight.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*gavwepf-hJCemDYvP0Y0jg.png" /></figure><p>This leads to an exploration of the daily ride patterns for more insight.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*yiZB7EHv9IZrBazH03aDsg.png" /></figure><p>Saturday records the highest number of rides, followed by Sunday, Friday, Wednesday, Tuesday, Thursday, and Monday in that order. Clearly, the weekends are favored for rides than the weekdays.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/903/1*OFnm6Pqmrpv0aBNInUwpVg.png" /><figcaption>Courtesy Motivate International Inc.</figcaption></figure><p>The line graph above shows that members are mostly active on weekdays, while casual riders are mostly active over the weekends. We gain more insight into the usage pattern of these two groups: the members seem to be people using Cyclistic’s bike services to commute to work, while the casual riders are customers who mostly likely embark on leisurely rides on weekends.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hC7yHs9byiIJqQWo4WCY2g.png" /><figcaption>Courtesy Motivate International Inc.</figcaption></figure><p>The weekly trend of a high number of rides among the casual riders on weekends still continues throughout the season except in the winter season when it plunges drastically. Among the member category, we see an almost constant number of rides on the weekdays. This analysis further confirms that the customer base is mostly comprised of people transiting to and from work, whereas a bulk of the casual riders are either tourist who mostly uses the bike-share service during the non-winter season or fitness enthusiasts who ride mostly during the weekends.</p><p>To further investigate these theories, I took my analysis down to the ride duration level (in minutes).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*L-xk4HDwZQBVoK_MlvtLWQ.png" /><figcaption>Courtesy Motivate International Inc.</figcaption></figure><p>The longest ride duration of the week occurs on Saturday and Sunday which records a higher duration (26mins and 27mins)than the weekly average of 24 minutes. The weekdays on the other hand record ride durations that fall below the weekly average. It can be deduced from the chart that riders spend longer time riding on weekends than on the weekdays. I probed further to find if there are variations between the customer types in this regard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*Pkq-b-JCqoYXV9_v-D4rIA.png" /><figcaption>Courtesy Motivate International Inc.</figcaption></figure><p>The breakdown shows members going on shorter rides throughout the week than the casual riders. Casual riders on average, ride for twice as long as the member riders with Saturdays and Sundays witnessing the longest ride durations. I checked further to see if this trend was sustained throughout the four seasons.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/872/1*2NvAP3T3kbK7UTZheh5Tew.png" /><figcaption>Courtesy Motivate International Inc.</figcaption></figure><p>The trend is sustained through each season. Saturdays and Sundays witness twice the ride duration of the weekdays with the spring season having the highest average ride duration (25.82mins)followed by summer(23.22mins).</p><p><strong>Ride Start Times.</strong></p><p>I took the analysis further to determine the ride start time preferred by riders over the four seasons. The next chart will be showing the preferred ride times on weekends over the seasons.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G-rhSqBXKVFaohp2Egdmzg.png" /><figcaption>Courtesy Motivate International Inc.</figcaption></figure><p>About 33,420 casual riders started their ride within 1 pm on a weekend in the course of the summer season, while 18,934 members started theirs within the same time frame over the summer weekends. Those are the highest recorded number of rides on weekends over the seasons. Next, I looked at the same metric for the weekdays over the seasons as can be seen in the next chart.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e9GyTGQaWha8_LwsckWR_g.png" /><figcaption>Courtesy Motivate International Inc.</figcaption></figure><p>In the Start time ride count chart for weekdays, I noticed that the member ride count surpassed that of casual riders. In each of the four seasons, the weekday rides for members peaked at two periods; 8 am and 5 pm respectively with the summer season having the highest peak in riders. The casual ride count only peaked once in the week at 5 pm.</p><p><strong>Start and End Stations(Most Frequently Used Routes).</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/1*CFAp_iVAp8ZWiXolIS0kTw.png" /><figcaption>Courtesy Motivate International Inc.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*tdVq-ypmgtHfLZ6_p9QZ8A.png" /><figcaption>Courtesy Motivate International Inc.</figcaption></figure><h3>Summary of Insights</h3><p>These are my deductions from the analysis done on the dataset regarding the pattern of usage by customers of Cyclistic.</p><p><strong>Members</strong></p><ul><li>Average 3,349 rides per day in winter(lowest) to 13,720 rides per day in Summer. Annual average is 9,071 rides per day. On weekdays, the average number of trips per day is 9,358 as opposed to 8,354 rides per day over the weekends.</li><li>80.73% of rides occur on weekdays (Mon-Fri).</li><li>Members have an average ride duration of 13 mins. It’s highest in Spring(14.13 mins) and lowest in Winter (11.72 mins). On weekends, the average ride duration is 14.64 mins, and 12.36 mins on weekdays.</li><li>Most popular commute times: 8AM, 12PM and 5PM on the weekdays. over the weekends, the most popular commute time is between 12PM and 3PM.</li><li>Most used dock station(pickup — drop off) route:<br><em>Ellis Ave &amp; 60th St — Ellis Ave &amp; 55th St.</em></li></ul><p>From the analysis, members most likely use Cyclistic bikes for their Home-Work commutes. This is explained by the average ride counts on weekdays, and the peak ride start times, which correspond to the morning (8AM) work commute, and the evening (5PM) home commute. The average ride duration is almost constant over the course of the week.</p><p><strong>Casual Riders</strong></p><ul><li>Average 977 rides per day in winter(lowest) to 14,501 rides per day in Summer(highest). Annual average is 5,882 rides per day. On weekdays, the average number of trips per day is 9,358 as opposed to 10,904 rides per day over the weekends.</li><li>64% of rides occur during the week (Mon-Fri).</li><li>Casual riders have an average ride duration of 31 mins. It’s highest in spring (38 mins) and lowest in Autumn (26 mins). On weekends, the average ride duration is 35.73 mins, and 28.84 mins on weekdays.</li><li>Most popular commute times: 5PM on the weekdays. Over the weekends, the most popular commute time is between 11AM and 3PM.</li><li>Most used dock station(pickup — drop off) route:<br><em>Streeter Dr &amp; Grand Ave — Streeter Dr &amp; Grand Ave</em></li></ul><p>From the analysis, the average casual rider most likely uses Cyclistic bike service for leisure/fitness purposes(more data is required in order to confirm this). This is supported by the fact that the highest ride count occurs in the summer months during the summer holidays, with little activity in the winter months. In addition, the highest ride counts occur over the weekend (Saturday &amp; Sunday), with an average ride duration almost twice that of members.</p><h3>Recommendations</h3><p>Going by what I could learn by analysing the dataset obtained from Cyclistic with regards to the way in which the casual riders and the annual members used the bike service, I have come up with the following recommendations to the marketing team on how the casual riders can be converted to annual members;</p><ul><li>Design a new annual membership plan targeting fitness and wellness enthusiasts. Ideally, this plan should aim to maximise bike usage by providing access to customers during the weekdays from 5PM, and weekends.</li><li>To further target that select group, Cyclistic could establish partnerships with companies in the wellness and fitness industry to provide this new offering to their customers.</li><li>In order to reach the already existing casual riders, marketing campaigns should be launched at the start and stop stations popular with the casual riders in the spring and run throughout the summer months, especially on the weekends to draw the attention of casual riders to the new offering.</li></ul><p><strong>Thank you for reading! Happy to receive your suggestions and recommendations.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=79146624100b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>