<?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 Matthew Courtney on Medium]]></title>
        <description><![CDATA[Stories by Matthew Courtney on Medium]]></description>
        <link>https://medium.com/@mathyou?source=rss-85bf870adbcc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*-hW-aGH7vsOiC39QZBDOww@2x.jpeg</url>
            <title>Stories by Matthew Courtney on Medium</title>
            <link>https://medium.com/@mathyou?source=rss-85bf870adbcc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 03:14:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mathyou/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[Marketing & Sales Analysis: Using SQL and Tableau]]></title>
            <link>https://medium.com/@mathyou/marketing-sales-analysis-using-sql-and-tableau-e6c3f4d59dd?source=rss-85bf870adbcc------2</link>
            <guid isPermaLink="false">https://medium.com/p/e6c3f4d59dd</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Matthew Courtney]]></dc:creator>
            <pubDate>Fri, 25 Aug 2023 18:53:18 GMT</pubDate>
            <atom:updated>2023-08-25T18:53:18.476Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i4rRu-hHpzaHVEaCkegVAQ.png" /></figure><h3>Introduction</h3><p>You’re a marketing analyst and you’ve been told by the Chief Marketing Officer that recent marketing campaigns have not been as effective as they were expected to be. You need to analyze the <a href="https://www.kaggle.com/datasets/jackdaoud/marketing-data">Dataset</a> to understand this problem and propose data-driven solutions.</p><h3>Exploratory Data Analysis (EDA)</h3><p>Upon delving into the dataset within the DBeaver environment, a few key observations stood out. Most notably, the dataset lacks a distinct column for ‘Customer IDs’. While this absence might not hinder our immediate SQL analysis, it poses a significant challenge when we transition to visualizing our insights in Tableau. In the realm of data visualization, unique identifiers are paramount for tracking and analyzing individual customer behaviors and patterns.</p><p>To rectify this and ensure a seamless and comprehensive analysis, our next logical step is to introduce a ‘Customer ID’ column. This will not only enhance our dataset’s structure but also pave the way for a more granular and insightful exploration in our subsequent Tableau dashboard creation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BeXRkuxDujdXJOiA3-bQww.png" /><figcaption>DBeaver</figcaption></figure><p>Below will be the Query I used to fix this issue:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ww_ZcjAMWDtwaz886ERqvA.png" /></figure><p>Following the addition of the ‘Customer ID’, another nuance caught my attention: the dataset does not provide a consolidated count of total purchases for each customer. This metric, while seemingly straightforward, is a fundamental indicator of customer engagement and loyalty. Without this consolidated figure, our insights could be fragmented, potentially leading to incomplete or even misleading interpretations.</p><p>Next, let’s add that Column below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xCOb4qxxt1XvcvnsTOiFIg.png" /></figure><h4>Which marketing campaign is most successful?</h4><p>We can answer this by measuring the success of each campaign by counting the number of acceptances for each campaign.</p><p>The query is below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YnBzteutn5mUrhKMjV4zXQ.png" /></figure><p>Here are the acceptance counts for each marketing campaign:</p><ul><li>AcceptedCmp1: 142</li><li>AcceptedCmp2: 30</li><li>AcceptedCmp3: 163</li><li>AcceptedCmp4: 164</li><li>AcceptedCmp5: 161</li><li>Response (latest campaign): 333</li></ul><p>Based on the acceptance counts, the most successful campaign is the latest one (denoted as “Response”), with 333 acceptances. The least successful campaign is AcceptedCmp2, with only 30 acceptances.</p><h4>What does the average customer look like for this company?</h4><p>We can find this by calculating the average values for the following attributes: income, age, number of kids/teens at home, recency of purchase, and spending on various product categories.</p><p>Here is what that looks like below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HgdUdCo8HNiUoWJyNQUd8Q.png" /></figure><p>Here are the average values for various customer attributes:</p><ul><li>AvgIncome: $51,622.09</li><li>AvgAge: 51.1 years</li><li>AvgKidhome: 0.44 kids at home</li><li>AvgTeenhome: 0.51 teenagers at home</li><li>AvgRecency: 49.01 days since last purchase</li></ul><h4>Which products are performing best?</h4><p>Lets rank the products by total sales (amount spent) in the last 2 years and identify the products with the highest sales.</p><p>Query below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0-_4COjD5ULhyd592NYF1A.png" /></figure><p>Here are the total sales (amount spent) in the last 2 years for each product category:</p><ul><li>TotalMntWines: $675,093</li><li>TotalMntFruits: $58,219</li><li>TotalMntMeatProducts: $364,513</li><li>TotalMntFishProducts: $83,253</li><li>TotalMntSweetProducts: $59,818</li><li>TotalMntGoldProds: $97,146</li></ul><p>Based on the total sales, the best-performing product category is “Wines” with $675,093 in sales. The least-performing product category is “Sweet Products” with $59,818 in sales.</p><h4>Which channels are underperforming?</h4><p>Let’s calculate the total sales and number of purchases made through each channel (web, catalog, store) and then identify the channels with the lowest sales or the fewest purchases.</p><p>Query below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_WW6cuC4zL26RZXR6FWk1Q.png" /></figure><p>Here are the total number of purchases made through each channel:</p><ul><li>TotalWebPurchases: 9,042</li><li>TotalCatalogPurchases: 5,833</li><li>TotalStorePurchases: 12,841</li></ul><p>Based on the total number of purchases, the best-performing channel is the “Store” with 12,841 purchases. The underperforming channel is the “Catalog” with 5,833 purchases.</p><p>Now that we have answered all the questions, we can proceed to create a dashboard to visualize the findings for stakeholders.</p><h3>Dashboard</h3><p>A well-designed dashboard should be intuitive, easy to understand, and provide valuable insights to stakeholders. Here are the things I am wanting the dashboard to consist of:</p><p><strong>Marketing Campaign Success:</strong></p><ul><li>A bar chart showing the acceptance count for each marketing campaign.</li><li>Highlight the most successful campaign.</li></ul><p><strong>Product Performance:</strong></p><ul><li>A bar chart or pie chart showing the total sales for each product category.</li><li>Highlight the best-performing and least-performing products.</li></ul><p><strong>Channel Performance:</strong></p><ul><li>A bar chart or pie chart showing the total number of purchases made through each channel (web, catalog, store).</li><li>Highlight the best-performing and underperforming channels.</li></ul><p>Below is the <a href="https://public.tableau.com/app/profile/matthew.courtney/viz/MarketingCampaignSales/Dashboard1">dashboard</a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BtHGyLyNwSWMMMcVcuO8tA.png" /><figcaption>Dashboard Final</figcaption></figure><h3>Conclusion</h3><p>Through rigorous analysis, we’ve unearthed several actionable insights that can significantly bolster the efficacy of our advertising campaigns:</p><p><strong>Campaign Acceptance and Demographics:</strong></p><ul><li>Our data indicates a positive correlation between advertising campaign acceptance and customer income. Interestingly, there’s an inverse relationship with the presence of kids or teenagers in the household.</li><li>Recommended Strategy: Segment advertising campaigns into two distinct streams: a. Target high-income individuals who don’t have kids or teenagers. b. Craft tailored campaigns for lower-income individuals who have kids or teenagers in the household.</li></ul><p><strong>Product Popularity:</strong></p><ul><li>Wines and meats emerge as the frontrunners, witnessing the highest expenditure from the average customer.</li><li>Recommended Strategy: While these products maintain their strong market presence, pivot advertising efforts to elevate the appeal and sales of less popular items. This diversification can lead to a more balanced product portfolio and potentially tap into untapped market segments.</li></ul><p><strong>Channel Performance:</strong></p><ul><li>When it comes to purchase channels, deals and catalog purchases lag behind, indicating a lower preference among our customer base. In contrast, web and in-store purchases dominate, reflecting their popularity and efficiency.</li><li>Recommended Strategy: Amplify advertising endeavors on high-performing channels like web and in-store platforms. By capitalizing on these preferred channels, we can enhance our reach, resonance, and conversion rates.</li></ul><p>By aligning our marketing efforts with these insights, we stand to craft more impactful campaigns, resonate more deeply with our target audience, and ultimately drive greater returns on our advertising investments.</p><p>Thanks for reading, for all things data be sure and checkout my <a href="https://www.linkedin.com/in/mathyoucourtney/">LinkedIn</a>!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e6c3f4d59dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploratory Data Analysis of Hawaii  Airbnb Python Project]]></title>
            <link>https://medium.com/@mathyou/exploratory-data-analysis-of-hawaii-airbnb-python-project-f213bdd947dc?source=rss-85bf870adbcc------2</link>
            <guid isPermaLink="false">https://medium.com/p/f213bdd947dc</guid>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[exploratory-data-analysis]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Matthew Courtney]]></dc:creator>
            <pubDate>Sat, 12 Aug 2023 19:06:05 GMT</pubDate>
            <atom:updated>2023-08-12T19:06:05.175Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/662/1*DbPpawSY-gm8mDY0VCfaDg.png" /></figure><p>In this exploration, we wield Python and its potent libraries, including pandas, numpy, matplotlib, and seaborn, to navigate the “Hawaii Airbnb Open Data” dataset. Our mission: to understand the dynamics of Hawaii’s Airbnb market and extract key insights.</p><p>Through this journey, we unravel regional trends, guest preferences, and booking patterns, crafting a nuanced narrative of Hawaii’s Airbnb ecosystem. This project serves as a testament to Python’s data analysis prowess and a deep dive into Hawaii’s vibrant Airbnb landscape. Let’s explore together!</p><h4>Importing Libraries</h4><p>In this code block we are importing all the necessary libraries for this analysis:</p><pre>import folium as fl<br>import matplotlib.pyplot as plt<br>import numpy as np<br>import pandas as pd<br>import plotly.express as px<br>import plotly.graph_objects as go<br>import seaborn as sns<br>import time</pre><h4>Reading and Viewing CSV Data</h4><p>In the first step of our analysis, we loaded our Airbnb listings dataset using the pandas function read_csv. This function reads the CSV file and converts it into a pandas DataFrame. After loading the data, we used the head function to display the first five rows of the DataFrame. This provides us with a quick overview of our data, showing us the column names and some example values from each column.</p><pre>df = pd.read_csv(&quot;listings.csv&quot;)<br>df.head()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Psb0r6HJC5UvYsJDU82ZWw.png" /><figcaption>Data</figcaption></figure><h4>Inspecting the Shape of the Data</h4><p>The shape attribute of a pandas DataFrame returns a tuple representing the dimensions of the DataFrame. Here is the code:</p><pre>df.shape</pre><p>The tuple returned (32597, 75). This means the DataFrame has 32,597 rows and 75 columns.</p><h4>Extract Column Names</h4><p>The expression list(data.columns) converts the column names of a pandas DataFrame into a list.</p><pre>list(df.columns)</pre><pre>[&#39;id&#39;,<br> &#39;listing_url&#39;,<br> &#39;scrape_id&#39;,<br> &#39;last_scraped&#39;,<br> &#39;source&#39;,<br> &#39;name&#39;,<br> &#39;description&#39;,<br> &#39;neighborhood_overview&#39;,<br> &#39;picture_url&#39;,<br> &#39;host_id&#39;,<br> &#39;host_url&#39;,<br> &#39;host_name&#39;,<br> &#39;host_since&#39;,<br> &#39;host_location&#39;,<br> &#39;host_about&#39;,<br> &#39;host_response_time&#39;,<br> &#39;host_response_rate&#39;,<br> &#39;host_acceptance_rate&#39;,<br> &#39;host_is_superhost&#39;,<br> &#39;host_thumbnail_url&#39;,<br> &#39;host_picture_url&#39;,<br> &#39;host_neighbourhood&#39;,<br> &#39;host_listings_count&#39;,<br> &#39;host_total_listings_count&#39;,<br> &#39;host_verifications&#39;,<br> &#39;host_has_profile_pic&#39;,<br> &#39;host_identity_verified&#39;,<br> &#39;neighbourhood&#39;,<br> &#39;neighbourhood_cleansed&#39;,<br> &#39;neighbourhood_group_cleansed&#39;,<br> &#39;latitude&#39;,<br> &#39;longitude&#39;,<br> &#39;property_type&#39;,<br> &#39;room_type&#39;,<br> &#39;accommodates&#39;,<br> &#39;bathrooms&#39;,<br> &#39;bathrooms_text&#39;,<br> &#39;bedrooms&#39;,<br> &#39;beds&#39;,<br> &#39;amenities&#39;,<br> &#39;price&#39;,<br> &#39;minimum_nights&#39;,<br> &#39;maximum_nights&#39;,<br> &#39;minimum_minimum_nights&#39;,<br> &#39;maximum_minimum_nights&#39;,<br> &#39;minimum_maximum_nights&#39;,<br> &#39;maximum_maximum_nights&#39;,<br> &#39;minimum_nights_avg_ntm&#39;,<br> &#39;maximum_nights_avg_ntm&#39;,<br> &#39;calendar_updated&#39;,<br> &#39;has_availability&#39;,<br> &#39;availability_30&#39;,<br> &#39;availability_60&#39;,<br> &#39;availability_90&#39;,<br> &#39;availability_365&#39;,<br> &#39;calendar_last_scraped&#39;,<br> &#39;number_of_reviews&#39;,<br> &#39;number_of_reviews_ltm&#39;,<br> &#39;number_of_reviews_l30d&#39;,<br> &#39;first_review&#39;,<br> &#39;last_review&#39;,<br> &#39;review_scores_rating&#39;,<br> &#39;review_scores_accuracy&#39;,<br> &#39;review_scores_cleanliness&#39;,<br> &#39;review_scores_checkin&#39;,<br> &#39;review_scores_communication&#39;,<br> &#39;review_scores_location&#39;,<br> &#39;review_scores_value&#39;,<br> &#39;license&#39;,<br> &#39;instant_bookable&#39;,<br> &#39;calculated_host_listings_count&#39;,<br> &#39;calculated_host_listings_count_entire_homes&#39;,<br> &#39;calculated_host_listings_count_private_rooms&#39;,<br> &#39;calculated_host_listings_count_shared_rooms&#39;,<br> &#39;reviews_per_month&#39;]</pre><p>Leveraging the list() function on df.columns elegantly transforms the column names from a pandas Index object into a standard Python list. This transformation empowers us with greater flexibility to access and manipulate these column names.</p><p>This snippet of code proves instrumental when we wish to scrutinize or manipulate the column names of our DataFrame. It is particularly handy when we need to cherry-pick specific columns for analysis or visualization, offering us an efficient and straightforward way to engage with our dataset.</p><h4>Rent Statistics</h4><p>In the code block below, we are conducting a statistical analysis of the ‘price’ column from our dataframe. The describe() function is used to generate a comprehensive set of descriptive statistics, which include measures such as the count, mean, standard deviation, minimum, 25th percentile (Q1), median (50th percentile), 75th percentile (Q3), and maximum. The output from describe() is stored in the price_stats variable for future reference. Finally, we print the price_stats variable to display these calculated statistics, providing an informative summary of the distribution of prices in our dataset.</p><pre># Clean the price column and convert it to a float<br>df[&#39;price&#39;] = df[&#39;price&#39;].replace(&#39;[\$,]&#39;, &#39;&#39;, regex=True).astype(float)<br><br># Get basic statistics for the price<br>price_stats = df[&#39;price&#39;].describe()<br><br>price_stats</pre><pre>count    32597.000000<br>mean       475.113507<br>std       1400.798440<br>min          0.000000<br>25%        163.000000<br>50%        259.000000<br>75%        440.000000<br>max      99110.000000</pre><p>The average price of a listing is approximately $475, with a standard deviation of around $1400. This large standard deviation suggests a wide distribution of prices, which is confirmed by the maximum price of $99,110 and the minimum price of $0.</p><p>However, the 50% quartile (median) price is $259, and 75% of the listings have a price lower than $440. These figures suggest that there are a few listings with extremely high prices, which are skewing the mean.</p><pre># Set the style to dark<br>plt.style.use(&quot;dark_background&quot;)<br><br># Create a histogram for the distribution of prices<br>plt.figure(figsize=(10, 6))<br>n, bins, patches = plt.hist(df[&#39;price&#39;], bins=50, color=&#39;darkblue&#39;)<br><br># Define a color palette<br>cmap = sns.color_palette(&quot;Blues_r&quot;, as_cmap=True)<br><br># Scale values to interval [0,1]<br>col = (bins[:-1] + bins[1:]) / 2<br>col -= min(col)<br>col /= max(col)<br><br># Apply the color palette to the bars<br>for c, p in zip(col, patches):<br>    plt.setp(p, &#39;facecolor&#39;, cmap(c))<br><br>plt.title(&#39;Distribution of Prices&#39;, color=&#39;white&#39;)<br>plt.xlabel(&#39;Price&#39;, color=&#39;white&#39;)<br>plt.ylabel(&#39;Frequency&#39;, color=&#39;white&#39;)<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/871/1*MzK3NvVAAoIqihU-o-e-eQ.png" /></figure><p>In this code block we are creating our visualization for the rent price distribution and applying a dark background theme as well as a gradient which we will be using for all the visuals of this project. The histogram above displays the distribution of prices, but it’s hard to discern anything from it due to the extreme values or outliers.</p><p>To deal with this issue, let’s plot another histogram, this time only including listings with a price less than $1000, which should cover a substantial majority of the listings. This will give us a better sense of the distribution for most listings.</p><pre># Set the style to dark<br>plt.style.use(&quot;dark_background&quot;)<br><br>plt.figure(figsize=(10, 6))<br><br># Create a histogram for the distribution of filtered prices<br>n, bins, patches = plt.hist(filtered_df[&#39;price&#39;], bins=50)<br><br># Scale values to interval [0,1]<br>col = (bins[:-1] + bins[1:]) / 2<br>col -= min(col)<br>col /= max(col)<br><br># Apply the color palette to bars<br>for c, p in zip(col, patches):<br>    plt.setp(p, &#39;facecolor&#39;, cmap(c))<br><br>plt.title(&#39;Distribution of Prices (less than $1000)&#39;, color=&#39;white&#39;)<br>plt.xlabel(&#39;Price&#39;, color=&#39;white&#39;)<br>plt.ylabel(&#39;Frequency&#39;, color=&#39;white&#39;)<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/1*96AIdVSB3K26NCzunfG96w.png" /></figure><p>This shows us a much better visual for the distribution of prices. We quickly can determine that majority of the listings are priced around $200 and below.</p><h4>Regional Statistics</h4><p>Lets use the neighbourhood_group_cleansed column, which seems to correspond to larger regions (possibly islands, in this case). Let’s first examine the unique values in this column to confirm.</p><pre># Get unique values of neighbourhood_group_cleansed column<br>unique_neighbourhood_groups = df[&#39;neighbourhood_group_cleansed&#39;].unique()<br>unique_neighbourhood_groups</pre><pre>array([&#39;Honolulu&#39;, &#39;Hawaii&#39;, &#39;Maui&#39;, &#39;Kauai&#39;], dtype=object)</pre><p>Now that we confirmed it is the larger regions in that column we can go ahead and analyze regional stats like distributions of listings.</p><pre># Get counts of listings in each neighbourhood group<br>regional_group_counts = df[&#39;neighbourhood_group_cleansed&#39;].value_counts()<br><br># Create a bar plot of the number of listings in each neighbourhood group<br>plt.figure(figsize=(10, 6))<br>sns.barplot(x=neighbourhood_group_counts.index, y=neighbourhood_group_counts.values, palette=&#39;Blues_r&#39;)<br>plt.title(&#39;Number of Listings by Region&#39;)<br>plt.xlabel(&#39;Region&#39;)<br>plt.ylabel(&#39;Number of Listings&#39;)<br>plt.xticks(rotation=45)<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/871/1*1WBi0C3d1JpjTc13Q3pOdA.png" /></figure><p>The ‘Maui’ region has the most listings, followed by ‘Hawaii’, ‘Honolulu’, and ‘Kauai’. The color of the bars ranges from dark blue for the region with the most listings to light blue for the region with the fewest.</p><p>Lets view this as a pie chart as well. Using plt.pie and minimal adjustments we can quickly change from the histogram to a pie chart. The code block is below.</p><pre># Set the style to dark<br>plt.style.use(&quot;dark_background&quot;)<br><br># Get counts of listings in each neighbourhood group<br>total_listings_per_region = df[&#39;neighbourhood_group_cleansed&#39;].value_counts()<br><br># Create a pie chart for the number of listings in each neighbourhood group<br>plt.figure(figsize=(8, 8))<br>plt.pie(total_listings_per_region, labels=total_listings_per_region.index, autopct=&#39;%1.1f%%&#39;, colors=sns.color_palette(&quot;Blues_r&quot;))<br>plt.title(&#39;Distribution of Listings by Region&#39;, color=&#39;white&#39;)<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/651/1*QglKGL3vaOJDy_ee9PhhvA.png" /></figure><p>Now lets explore the average rental price in each region. For that we will need to remove outliers of the data so we can get a better idea of the true average.</p><pre># Define the Interquartile Range (IQR) for the &#39;price&#39; column<br>Q1 = df[&#39;price&#39;].quantile(0.25)<br>Q3 = df[&#39;price&#39;].quantile(0.75)<br>IQR = Q3 - Q1<br><br># Define the bounds for outliers<br>lower_bound = Q1 - 1.5 * IQR<br>upper_bound = Q3 + 1.5 * IQR<br><br># Filter the dataframe to exclude outliers<br>df_filtered = df[(df[&#39;price&#39;] &gt;= lower_bound) &amp; (df[&#39;price&#39;] &lt;= upper_bound)]<br><br># Calculate the average price for each region<br>average_price_per_region = df_filtered.groupby(&#39;neighbourhood_group_cleansed&#39;)[&#39;price&#39;].mean()<br><br>average_price_per_region</pre><p>Here are the average rental prices for each region, excluding outliers:</p><ol><li>Hawaii: $241.49</li><li>Honolulu: $235.13</li><li>Kauai: $346.51</li><li>Maui: $330.80</li></ol><p>Next, let’s visualize this data with a bar chart.</p><pre># Sort the average prices in descending order<br>average_price_per_region_sorted = average_price_per_region.sort_values(ascending=False)<br><br># Create a bar plot of the average price in each neighbourhood group<br>plt.figure(figsize=(10, 6))<br>sns.barplot(x=average_price_per_region_sorted.index, y=average_price_per_region_sorted.values, palette=&#39;Blues_r&#39;)<br>plt.title(&#39;Average Price by Region&#39;)<br>plt.xlabel(&#39;Region&#39;)<br>plt.ylabel(&#39;Price&#39;)<br>plt.xticks(rotation=45)<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/854/1*S3qTbDzRMfte1q8vtY2now.png" /></figure><p>From the chart, we can see that the ‘Kauai’ region has the highest average rental price, followed closely by ‘Maui’. The ‘Hawaii’ and ‘Honolulu’ regions have slightly lower average prices.</p><p>Next lets analyze the amount of reviews for each region in the code block below.</p><pre># Calculate the total number of reviews for each Region<br>total_reviews_per_region = df.groupby(&#39;neighbourhood_group_cleansed&#39;)[&#39;number_of_reviews&#39;].sum()<br><br># Sort the results in descending order<br>total_reviews_per_region = total_reviews_per_region.sort_values(ascending=False)<br><br>total_reviews_per_region</pre><p>Here are the total numbers of reviews for each region:</p><ol><li>Hawaii: 328,121 reviews</li><li>Maui: 317,890 reviews</li><li>Honolulu: 313,738 reviews</li><li>Kauai: 126,039 reviews</li></ol><p>Next, let’s visualize this data with a bar chart.</p><pre># Set the style to dark<br>plt.style.use(&quot;dark_background&quot;)<br><br># Create a bar plot of the total number of reviews in each region<br>plt.figure(figsize=(10, 6))<br>sns.barplot(x=total_reviews_per_region.index, y=total_reviews_per_region.values, palette=&#39;Blues_r&#39;)<br>plt.title(&#39;Total Number of Reviews by Region&#39;)<br>plt.xlabel(&#39;Region&#39;)<br>plt.ylabel(&#39;Total Number of Reviews&#39;)<br>plt.xticks(rotation=45)<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/879/1*aGgLXNmRxo85pGMdY9vfNg.png" /></figure><p>From the chart, we can see that the ‘Hawaii’ region has the most reviews, followed closely by ‘Maui’ and ‘Honolulu’. The ‘Kauai’ region has significantly fewer reviews. This visual provides a clear understanding of how guest activity (as measured by the number of reviews) is distributed across different regions.</p><p>Interesting to note that Kauai has the least amount of reviews but the most expensive rent prices.</p><h4>Property Type</h4><p>Lets use the column property_type to calculate the top 10 property types among all the regions.</p><pre># Calculate the distribution of property types<br>property_type_distribution = df[&#39;property_type&#39;].value_counts()<br><br># Display the top 10 property types by count<br>property_type_distribution.head(10)</pre><pre>Entire condo                 15685<br>Entire rental unit            4415<br>Entire home                   3736<br>Entire serviced apartment     1443<br>Private room in resort         854<br>Room in hotel                  710<br>Entire guest suite             645<br>Private room in home           618<br>Entire villa                   605<br>Entire townhouse               576<br>Name: property_type, dtype: int64</pre><p>Now lets visualize this using a bar chart.</p><pre># Set the style to dark<br>plt.style.use(&quot;dark_background&quot;)<br><br># Create a bar plot of the top 10 property types by count<br>plt.figure(figsize=(12, 8))<br>sns.barplot(x=property_type_distribution.head(10).values, y=property_type_distribution.head(10).index, palette=&#39;Blues_r&#39;)<br>plt.title(&#39;Distribution of Top 10 Property Types&#39;, color=&#39;white&#39;)<br>plt.xlabel(&#39;Number of Listings&#39;, color=&#39;white&#39;)<br>plt.ylabel(&#39;Property Type&#39;, color=&#39;white&#39;)<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XFzpONbxrlNYdu-xKAyoJA.png" /></figure><p>Here’s a bar chart that visualizes the distribution of the top 10 property types in the dataset:</p><ul><li>Entire condo is the most common property type, followed by Entire rental unit and Entire home.</li><li>Other property types in the top 10 include Entire serviced apartment, Private room in resort, Room in hotel, Entire guest suite, Private room in home, Entire villa, and Entire townhouse.</li></ul><h4>Minimum Nights</h4><p>Analyzing the minimum night distribution will provide insights into the rental patterns and preferences of hosts and guests. This information could be useful to understand the flexibility of booking stays and the types of guests that may be targeted (e.g., short-term tourists vs. long-term renters).</p><p>We can start by exploring the distribution of the minimum nights required for bookings across all listings and then visualize this distribution using a histogram.</p><p>Let’s begin with a summary of the distribution of minimum nights:</p><pre># Get basic statistics for the minimum_nights column<br>minimum_nights_stats = df[&#39;minimum_nights&#39;].describe()<br><br># Display the statistics<br>minimum_nights_stats</pre><p>The summary statistics for the minimum nights required for bookings across all listings are as follows:</p><ul><li>Count: 32,597 listings</li><li>Mean: Approximately 7.65 nights</li><li>Standard Deviation: Approximately 23.11 nights</li><li>Minimum: 1 night</li><li>25th Percentile (Q1): 1 night</li><li>Median (Q2): 2 nights</li><li>75th Percentile (Q3): 5 nights</li><li>Maximum: 1,000 nights</li></ul><p>Let’s create a histogram to visualize this distribution, focusing on the more common values (e.g., up to 30 nights) to better understand the main patterns.</p><pre># Create a histogram for the distribution of minimum nights (focusing on up to 30 nights)<br>plt.figure(figsize=(10, 6))<br>n, bins, patches = plt.hist(df[df[&#39;minimum_nights&#39;] &lt;= 30][&#39;minimum_nights&#39;], bins=30, edgecolor=&#39;white&#39;)<br><br># Scale values to interval [0,1]<br>col = (bins[:-1] + bins[1:]) / 2<br>col -= min(col)<br>col /= max(col)<br><br># Apply the color palette to the bars<br>for c, p in zip(col, patches):<br>    plt.setp(p, &#39;facecolor&#39;, cmap(c))<br><br>plt.title(&#39;Distribution of Minimum Nights (up to 30 nights)&#39;, color=&#39;white&#39;)<br>plt.xlabel(&#39;Minimum Nights&#39;, color=&#39;white&#39;)<br>plt.ylabel(&#39;Frequency&#39;, color=&#39;white&#39;)<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3q-lJ5LcgrPVRoYrr9iz5A.png" /></figure><p>This visualization provides a clear understanding of the typical minimum stay requirements for listings, with the majority targeting short-term stays.</p><h4>First Booking</h4><p>Analyzing the time it took for listings to receive their first booking can provide valuable insights into the attractiveness of listings and the efficiency of the market.</p><p>To perform this analysis, we need information about the date when the listing was created and the date of the first booking. Columns host_since and first_review will be used to calculate this.</p><p>Keep in mind that this analysis will make the assumption that the first review was left shortly after the first booking, which may not always be the case. However, it can still provide a reasonable estimate.</p><p>Let’s proceed by calculating the time it took for listings to receive their first booking and then analyze the distribution of this time.</p><pre># Convert host_since and first_review columns to datetime objects<br>df[&#39;host_since&#39;] = pd.to_datetime(df[&#39;host_since&#39;])<br>df[&#39;first_review&#39;] = pd.to_datetime(df[&#39;first_review&#39;])<br><br># Calculate the time it took for listings to receive their first booking (in days)<br>df[&#39;time_to_first_booking&#39;] = (df[&#39;first_review&#39;] - df[&#39;host_since&#39;]).dt.days<br><br># Get basic statistics for the time_to_first_booking column<br>time_to_first_booking_stats = df[&#39;time_to_first_booking&#39;].describe()<br><br># Display the statistics<br>time_to_first_booking_stats</pre><p>The summary statistics for the time it took for listings to receive their first booking (in days) are as follows:</p><ul><li>Count: 24,917 listings (with available data)</li><li>Mean: Approximately 1305.5 days (around 3.6 years)</li><li>Standard Deviation: Approximately 1045.5 days</li><li>Minimum: -3427 days (this negative value is likely erroneous and may require further investigation)</li><li>25th Percentile (Q1): 349 days</li><li>Median (Q2): 1211 days (around 3.3 years)</li><li>75th Percentile (Q3): 2075 days (around 5.7 years)</li><li>Maximum: 5365 days (around 14.7 years)</li></ul><p>It appears that there is a wide range of values for the time to the first booking, with some listings receiving their first booking relatively quickly and others taking several years. The negative minimum value likely indicates an issue with the data, such as incorrect dates.</p><p>Lets visualize this in a bar chart:</p><pre># Create a histogram for the distribution of time to first booking (excluding negative values and focusing on up to 3000 days)<br>plt.figure(figsize=(10, 6))<br>n, bins, patches = plt.hist(df[df[&#39;time_to_first_booking&#39;] &gt; 0][&#39;time_to_first_booking&#39;], bins=50, range=(0, 3000), edgecolor=&#39;white&#39;)<br><br># Scale values to interval [0,1]<br>col = (bins[:-1] + bins[1:]) / 2<br>col -= min(col)<br>col /= max(col)<br><br># Apply the color palette to the bars<br>for c, p in zip(col, patches):<br>    plt.setp(p, &#39;facecolor&#39;, cmap(c))<br><br>plt.title(&#39;Distribution of Time to First Booking (up to 3000 days)&#39;, color=&#39;white&#39;)<br>plt.xlabel(&#39;Time to First Booking (days)&#39;, color=&#39;white&#39;)<br>plt.ylabel(&#39;Frequency&#39;, color=&#39;white&#39;)<br>plt.xlim(0, 3000)  # Limit the x-axis to 3000 days<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dbgJOSeEkNTU3wDAUWxFiA.png" /></figure><p>Here’s a histogram that visualizes the distribution of the time it took for listings to receive their first booking, focusing on up to 3000 days (approximately 8.2 years):</p><ul><li>Most listings received their first booking within the first few hundred days.</li><li>There is a gradual decline in frequency as the time to the first booking increases.</li><li>Some listings took several years to receive their first booking.</li></ul><p>This visualization provides insights into how quickly listings tend to get booked and the variability in the time to the first booking.</p><h4>Host Ownership</h4><p>Analyzing hosts with multiple listings can provide insights into the dynamics of professional hosting vs. individual hosting within the platform.</p><p>We’ll start by identifying hosts with multiple listings and then analyze the distribution of the number of listings per host. This will help us understand how many hosts have just one listing compared to those who manage multiple properties.</p><p>Let’s begin by calculating the number of listings for each host:</p><pre># Calculate the number of listings for each host<br>host_listings_count = df[&#39;host_id&#39;].value_counts()<br><br># Get basic statistics for the number of listings per host<br>host_listings_stats = host_listings_count.describe()<br><br># Display the statistics<br>host_listings_stats</pre><p>The summary statistics for the number of listings per host are as follows:</p><ul><li>Count: 8,936 unique hosts</li><li>Mean: Approximately 3.65 listings per host on average</li><li>Standard Deviation: Approximately 16.91 listings</li><li>Minimum: 1 listing (some hosts only have one listing)</li><li>25th Percentile (Q1): 1 listing</li><li>Median (Q2): 1 listing (most hosts have only one listing)</li><li>75th Percentile (Q3): 2 listings</li><li>Maximum: 457 listings (the host with the most listings)</li></ul><p>It appears that the majority of hosts have only one or two listings, but there are a few hosts with a large number of listings, which increases the average.</p><p>Let’s create a histogram to visualize this distribution, focusing on the more common values to better understand the main patterns.</p><pre># Create a histogram for the distribution of the number of listings per host (focusing on up to 10 listings)<br>plt.figure(figsize=(10, 6))<br>n, bins, patches = plt.hist(host_listings_count, bins=range(1, 11), edgecolor=&#39;white&#39;)<br><br># Scale values to interval [0,1]<br>col = (bins[:-1] + bins[1:]) / 2<br>col -= min(col)<br>col /= max(col)<br><br># Apply the color palette to the bars<br>for c, p in zip(col, patches):<br>    plt.setp(p, &#39;facecolor&#39;, cmap(c))<br><br>plt.title(&#39;Distribution of Number of Listings per Host (up to 10 listings)&#39;, color=&#39;white&#39;)<br>plt.xlabel(&#39;Number of Listings&#39;, color=&#39;white&#39;)<br>plt.ylabel(&#39;Frequency&#39;, color=&#39;white&#39;)<br>plt.xticks(range(1, 11))<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OUxnBiI0dJ_I9O9y" /></figure><p>Here’s the histogram that visualizes the distribution of the number of listings per host, focusing on up to 10 listings.</p><p>The chart shows that:</p><ul><li>The vast majority of hosts have only one listing.</li><li>The number of hosts with multiple listings decreases sharply as the number of listings increases.</li><li>Very few hosts manage more than a handful of listings.</li></ul><p>This visualization provides a clear understanding of the hosting landscape, with the majority of hosts managing just one or two properties.</p><h4>Host Ownership Per Region</h4><p>Let’s analyze host ownership and determine which island is most popular with the hosts.</p><p>Let’s continue with the analysis:</p><pre># Group the listings by neighbourhood_group_cleansed (regions) and count the unique hosts in each region<br>host_per_region = df.groupby(&#39;neighbourhood_group_cleansed&#39;)[&#39;host_id&#39;].nunique().sort_values(ascending=False)<br><br># Display the number of unique hosts for each region (island)<br>host_per_region</pre><p>Here are the results:</p><ul><li>Honolulu: 2,971 unique hosts</li><li>Hawaii: 2,897 unique hosts</li><li>Maui: 2,407 unique hosts</li><li>Kauai: 1,064 unique hosts</li></ul><p>Honolulu has the highest number of unique hosts, followed closely by Hawaii and then Maui. Kauai has the fewest unique hosts among the islands.</p><p>Let’s visualize this:</p><pre># Set the style to dark<br>plt.style.use(&quot;dark_background&quot;)<br><br># Plot a bar chart to visualize the number of unique hosts in each region using the defined color palette<br>plt.figure(figsize=(12, 6))<br>host_per_region.plot(kind=&#39;bar&#39;, color=bar_colors, edgecolor=&#39;white&#39;)<br>plt.title(&#39;Number of Unique Hosts per Region (Island)&#39;, color=&#39;white&#39;)<br>plt.xlabel(&#39;Region (Island)&#39;, color=&#39;white&#39;)<br>plt.ylabel(&#39;Number of Unique Hosts&#39;, color=&#39;white&#39;)<br>plt.xticks(rotation=45, ha=&#39;right&#39;)<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aklXeOd5waG8S8Nk" /></figure><p>This analysis provides insights into the popularity of different regions with hosts and can help in understanding the distribution of properties across the islands.</p><h4>Conclusion</h4><p>In conclusion, this analysis presented a multifaceted exploration of Airbnb listings across the Hawaiian Islands, delivering insightful perspectives into the vacation rental environment in this tropical paradise. The findings from this project are poised to empower both hosts and guests in making well-informed decisions. For hosts, the comprehensive examination of regional preferences, price distribution, and property types offers guidance on positioning their listings optimally, from setting competitive prices to selecting desirable locations. For guests, the rich analysis paints a vivid picture of the rental landscape, illuminating factors such as typical minimum stay requirements, booking lead times, and hotspots for premium properties. By distilling intricate data into tangible insights, this study enhances the understanding of Hawaii’s Airbnb market, providing valuable intelligence for anyone engaged in the island’s thriving rental ecosystem.</p><p>Thank you for reading, be sure to also check me out on <a href="https://www.linkedin.com/in/mathyoucourtney/">LinkedIn</a> ❤️ .</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f213bdd947dc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using Data Analytics to Create a High-Probability Sports Betting Dashboard]]></title>
            <link>https://medium.com/@mathyou/using-data-analytics-to-create-a-high-probability-sports-betting-dashboard-948b486d7de9?source=rss-85bf870adbcc------2</link>
            <guid isPermaLink="false">https://medium.com/p/948b486d7de9</guid>
            <category><![CDATA[data-analyst]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[data-analytics]]></category>
            <dc:creator><![CDATA[Matthew Courtney]]></dc:creator>
            <pubDate>Fri, 28 Jul 2023 20:14:09 GMT</pubDate>
            <atom:updated>2023-07-28T20:14:09.116Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t_OR7-QSY1a7iM-76D-mdQ.jpeg" /><figcaption>Sports betting dashboard made by Matthew Courtney</figcaption></figure><h3>Introduction</h3><p>You know how people often view sports betting as more of an intuition-based game rather than a scientific process? Well, with the rise of big data and advanced analytics, we are able to bring in a more methodical approach. I took this idea and ran with it, leveraging my data analysis skills to create a savvy sports betting dashboard. It does not just randomly choose bets. Instead, it meticulously analyzes betting odd lines to find the bet with the highest probability of winning.</p><p>In this post, I am excited to share with you this unique project. We will dive into how I took the traditional world of sports betting, usually driven by gut feelings, and transformed it into a data-driven machine. It has been quite a journey, and I believe you will find the process intriguing. Let’s get started!</p><h3>My Thought Process</h3><p>In the initial stages of this project, I contemplated incorporating various data points such as individual player performance, match-ups, home versus away statistics, and other factors influencing the player’s daily performance variations. The aim was to synthesize all this information to predict future outcomes. However, upon reflection, I realized this could prove somewhat counterproductive.</p><p>Major sports books invest millions of dollars annually in cutting-edge analytics. Attempting to emulate their exhaustive analysis with a smaller scale project would be akin to reinventing the wheel, and likely less effective. That is when a novel idea struck me: why not leverage the considerable analytical work already done by these sports books?</p><p>Instead of duplicating their efforts, I decided to focus on comparing the data from various sports books. By identifying discrepancies and inconsistencies across their predictions, I could potentially uncover a unique edge. This approach involves capitalizing on the divergences in their analyses to find the highest probability bets. By standing on the shoulders of these sports betting giants, we can discern valuable insights that may have been overlooked or discounted in their projections.</p><h3>The Data</h3><p>For this project, I utilized Python’s robust capabilities to web scrape data from leading sports books. Specifically, I crafted scripts to systematically extract data from PrizePicks, DraftKings, and Pinnacle. These scripts were designed to run at five-minute intervals, ensuring the collection of the most current and up-to-date odds lines each time. This frequent data gathering provided a continuously refreshed perspective on the evolving betting landscape, critical for the accuracy and relevance of my analysis.</p><h3>Data Preprocessing</h3><p>Cleaning and preprocessing the data were my next steps. This included dealing with missing values, correcting data inconsistencies, and converting data into formats suitable for analysis.</p><h3>Exploratory Data Analysis</h3><p>With the data prepared, I embarked on an exploratory data analysis (EDA) journey to uncover underlying patterns and trends. This comprehensive examination required extensive back-testing over several weeks of historical data. I diligently cross-referenced player performances against the sports books’ predictions to evaluate their accuracy. The process entailed an in-depth investigation of how often the sports books’ predictions were on the mark, which provided valuable insights into their predictive reliability and established a benchmark for my project.</p><h3>The Math</h3><p>In this project, we’re using PrizePicks as our sports book. Unlike traditional platforms, PrizePicks uses a fixed payout structure for all bets. After evaluating this structure, we found the ‘5 pick flex’ offers the best long-term return on investment. However, to stay profitable, our individual bets need to hit a 54% success rate. This is the critical threshold when placing bets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1L8jnnM1J_kenjgM-K-wLQ.png" /><figcaption>PrizePicks Payouts</figcaption></figure><p>With a clear baseline established, we’ll strategically place bets only when they exhibit greater than 54% fair odds as per the dashboard’s analysis. But before we dive into that, let’s dissect what we mean by ‘fair odds’ and how we calculate them.</p><p>‘Fair odds’ are the hypothetical odds we’d see if sports books didn’t build in their profit margins. They reflect the actual probabilities of outcomes, without the bookmaker’s added cut. Understanding ‘fair odds’ is vital for our data-driven betting approach and overall betting analytics.</p><p>example using American odds:</p><ul><li>Team A: -110</li><li>Team B: -110</li></ul><p>Converting these to probabilities gives:</p><ul><li>Team A: 110 / (110 + 100) = 52.38%</li><li>Team B: 110 / (110 + 100) = 52.38%</li></ul><p>Adding these together gives a total probability of 104.76%. The extra 4.76% is the bookmaker’s margin. That would be known as the ‘vig’.</p><p>To find the ‘fair odds’, we need to normalize these probabilities so they add up to 100%. We do this by dividing each probability by the total market probability (104.76% in this case), like so:</p><ul><li>Fair odds for Team A: 52.38% / 104.76% = 50%</li><li>Fair odds for Team B: 52.38% / 104.76% = 50%</li></ul><p>So, while the bookmaker’s odds suggest each team has a slightly better than 50% chance of winning (which is impossible), the ‘fair odds’ recognize that each team has an equal chance of winning.</p><h3>Creating the Dashboard</h3><p>I wanted this dashboard to show the most profitable betting opportunities in a very easy-to-understand format. To achieve this, I designed a workflow orchestrated by Python scripts:</p><ol><li>The first script scrapes data from various sports books, capturing the latest odds every five minutes to ensure the data remains current and relevant.</li><li>Upon completion of the scraping process, a data cleaning script is triggered, refining the raw data into a more analyzable format.</li><li>The cleansed data is then passed to another script, which pushes the data to a Google Sheets document. The data is automatically sorted and filtered, presenting bets with the highest odds first.</li></ol><p>This process occurs every five minutes, ensuring users have access to the most favorable odds at any given time.</p><p>The dashboard displays a wealth of information including the player’s name, our recommended bet (over or under), the specific stat we’re betting on, PrizePicks’ lines, and corresponding lines from other sports books. It cross-references these data points, helping us identify inconsistencies and opportunities. Additionally, it presents Pinnacle odds, DraftKings odds, the average odds, and the percentage odds to hit, offering a comprehensive betting analytics tool for users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V-TUGw1ud2QC1GpyCTqzRA.png" /><figcaption>Finished Dashboard</figcaption></figure><h3>Results</h3><p>My journey with this dashboard began in February 2023. As a new user on PrizePicks, I took advantage of their welcome offer by depositing $100, which they generously matched, giving me a starting bankroll of $200. Astonishingly, within just two months of utilizing this dashboard, I secured 52 successful entries, resulting in a total win amount of $4,591.20. This impressive return nearly marked a 50-fold increase on my initial investment.</p><p>Encouraged by this success, I decided to share the benefits of this data-driven approach with those close to me. I opened access to my Google Sheet to a select group of friends and family who expressed an interest in sports betting. It was through this shared experience that they witnessed the remarkable potential and power of data analytics in sports betting first-hand.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/747/1*VHtjgm4W5zIsNI3gpm4SPg.png" /><figcaption>PrizePicks Account</figcaption></figure><h3>Conclusion</h3><p>In conclusion, this project underscores the power and potential of data analytics. It also highlights how the right skills and tools can turn something traditionally based on intuition into a science-based endeavor. My sports betting dashboard serves as a real-world example of leveraging data analytics to provide an edge in an industry historically driven by chance and luck.</p><p>Whether you’re a sports enthusiast, data scientist, or potential employer, I hope this project provides an insightful glimpse into my abilities as a data analyst. Using data science to find solutions to real-world problems is what I love, and I’m always ready for the next challenge.</p><p>As we look forward to the future, the possibilities of data analytics in various sectors, including sports betting, are limitless. I’m excited to continue utilizing my skills to push the boundaries and make a meaningful impact.</p><p>If you want to see all my code check it out <a href="https://github.com/ImMatthewCourtney/Portfolio/tree/main/sports_betting_proj">HERE</a> as well as my <a href="https://www.linkedin.com/in/mathyoucourtney/">LinkedIn</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=948b486d7de9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>