<?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 Indra Pradanto on Medium]]></title>
        <description><![CDATA[Stories by Indra Pradanto on Medium]]></description>
        <link>https://medium.com/@pradantohendika?source=rss-684831f21478------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*McyICXSuJ1svkdlq</url>
            <title>Stories by Indra Pradanto on Medium</title>
            <link>https://medium.com/@pradantohendika?source=rss-684831f21478------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 18:16:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pradantohendika/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[Analyzing the Marvel Cinematic Universe: Insights from Data Analysis of MCU Movies]]></title>
            <link>https://medium.com/@pradantohendika/analyzing-the-marvel-cinematic-universe-insights-from-data-analysis-of-mcu-movies-2a18932ad363?source=rss-684831f21478------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a18932ad363</guid>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[movies]]></category>
            <category><![CDATA[marvel-cinematic-universe]]></category>
            <dc:creator><![CDATA[Indra Pradanto]]></dc:creator>
            <pubDate>Tue, 09 Apr 2024 06:07:08 GMT</pubDate>
            <atom:updated>2024-04-09T06:07:08.324Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*oS6oCYQ9IvqtS9FB.png" /></figure><p>Marvel Cinematic Universe (MCU) has revolutionized the landscape of modern cinema, captivating audiences worldwide with its extraordinary blend of superheroes, action, and intricate storytelling. Since its inception in 2008 with “Iron Man,” the MCU has evolved into a vast and interconnected cinematic universe, spanning multiple phases and introducing a plethora of iconic characters. With its rich tapestry of films, television series, and now streaming content, the MCU has become a cultural phenomenon, reshaping the way we perceive and consume superhero narratives.</p><p>At the heart of the MCU lies a cohesive and meticulously crafted narrative, meticulously woven across films, television shows, and one-shot shorts. Each installment adds layers to this intricate tapestry, creating a sense of continuity and depth unparalleled in cinematic history. Within this narrative, memorable moments like “I love you 3000” from “Avengers: Endgame” have transcended the screen, becoming iconic expressions of love and connection within the fandom. These moments not only resonate emotionally but also exemplify the MCU’s ability to infuse heart and humanity into its superhero epics.</p><p>One of the most remarkable aspects of the MCU is its ability to balance spectacle with emotional depth. Beyond the dazzling visual effects and high-octane action sequences, MCU films delve into themes of heroism, sacrifice, and the human condition. Characters grapple with their own flaws and vulnerabilities, adding nuance and complexity to their journeys. Whether it’s the redemption arc of Loki, the internal struggle of Bruce Banner/Hulk, or the existential crisis of Vision, the MCU explores the human side of its superheroes, making them relatable and compelling figures.</p><p>Moreover, the phrase “I love you 3000” encapsulates the profound emotional connection between the MCU and its dedicated fanbase. Originating from a tender moment between Tony Stark and his daughter Morgan in “Avengers: Endgame,” this phrase has transcended its fictional origins to become a symbol of affection and appreciation within the MCU community. It represents not only the bond between characters on screen but also the bond between fans and the stories that have touched their hearts. Through its groundbreaking approach to world-building and storytelling, the MCU has fostered a sense of belonging and camaraderie among its audience, echoing the sentiment of “I love you 3000” across the globe.</p><h3>Objectives on this article</h3><ol><li>What are 10 MCU films with the longest runtime ?</li><li>What are 10 MCU films with the highest production budgets ?</li><li>What are 10 MCU films with the highest box office earnings ?</li><li>What are the 10 MCU movies with the highest rotten tomatoes rating ?</li><li>What are the 10 MCU movies with the highest IMDb rating ?</li><li>Is there any strong correlation or above with the various variables above ?</li></ol><p>Dataset Reference is from <a href="https://www.kaggle.com/datasets/ummisalma/mcu-movies-and-tv-shows">Kaggle</a>, and i will use python and the libraries such as Datetime, Pandas, numpy, matpotlib and seaborn.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AP9Om-WrVi-FzNtt.png" /></figure><h3>Data Cleaning and Preprocessing Techniques</h3><p><strong>Import Libraries and Load the Dataset</strong></p><pre># DATASET <br>import pandas as pd<br>import numpy as np<br>import matplotlib.pyplot as plt<br>import matplotlib.ticker as ticker<br>import seaborn as sns<br><br>#Load the dataset<br>df = pd.read_csv(&quot;MCU Movies.csv&quot;)<br><br># Display the information of a DataFrame <br>df.info()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/382/1*1fXOy8YhWCzVWVBGL9DGxA.png" /></figure><pre>#Preview sample dataset<br>df.sample(5)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/1*aWZVoQJtNhKZirA5WK0-xA.png" /></figure><h3>Remove unnecessary data and find out information about data types</h3><p>I will remove several columns to make analysis and identification easier. Im only need ‘movie title’, ‘production budget’, ‘total box office earnings’, ‘rotten tomatoes ratings’ and ‘imdb ratings</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/745/1*HNSry2dwR8BC2i5DkmGMfg.png" /></figure><p>Hmmm, looks like the 3 data type (‘production budget’, ‘total box office earnings’, still object data type.. I need to convert those and reduce the digit number into milion USD.</p><pre># Convert the &#39;Production Budget&#39; and &#39;Total Box Office Earnings&#39; columns to numeric values<br>df[&quot;Production Budget&quot;] = df[&quot;Production Budget&quot;].replace(&#39;[\$,]&#39;, &#39;&#39;, regex=True).astype(float)<br>df[&#39;Total Box Office Earnings&#39;] = df[&#39;Total Box Office Earnings&#39;].replace(&#39;[\$,]&#39;, &#39;&#39;, regex=True).astype(float)<br><br># Set display options to display numbers without scientific notation<br>pd.options.display.float_format = &#39;{:,.2f}&#39;.format<br><br>df[&#39;Production Budget (Mil USD)&#39;] = df[&quot;Production Budget&quot;] / 1000000<br>df[&#39;Total Box Office Earnings (Mil USD)&#39;] = df[&#39;Total Box Office Earnings&#39;] / 1000000<br><br>df= df[[&quot;Movie Title&quot;,&quot;Runtime (min)&quot;, &quot;Production Budget (Mil USD)&quot;, &quot;Total Box Office Earnings (Mil USD)&quot;,&quot;Rotten Tomatoes Ratings (%)&quot;, &quot;IMDb Ratings&quot; ]]<br>df</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/1*Zo1ZU7Serem0ks0gfwWqNA.png" /></figure><p>Nice, let’s try to check missing values and duplicates data</p><pre>df.duplicated()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/113/1*RYPFZoc-4E31Wsdlc9_KOA.png" /></figure><pre>#Count the number of missing values.<br>df.isna().sum()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/218/1*BEhTwpZpmzgZagAF8RjO5g.png" /></figure><p>Good, there is no missing values and duplicated data, let’s go into the next step</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*ULMYEaLZOde5T_N2.png" /></figure><h3>Filtering , Manipulation and Visualization Data</h3><p>Sorry, wrong quotes above .. (lol)</p><p>Let’s go answer first objectives</p><p><strong>“What are 10 MCU films with the longest runtime ?”</strong></p><pre>top_runtime = df.sort_values(by=&quot;Runtime (min)&quot;,ascending=False).head(10)<br>top_runtime</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/785/1*N3dnLijuN8dP7UJtgCIrJg.png" /></figure><p>Nice,, and then let’s go to second objectives</p><p><strong>“What are 10 MCU films with the highest production budgets ?”</strong></p><pre>top_productionbudget = df.sort_values(by=&quot;Production Budget (Mil USD)&quot;,ascending=False).head(10)<br>top_productionbudget</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/822/1*wzxSPWwHBqjmsi0gkLj0_g.png" /></figure><p>Damn,, too much money at there. Let’s go to next objectives</p><p><strong>“What are 10 MCU films with the highest box office earnings ?”</strong></p><pre>top_earning = df.sort_values(by=&quot;Total Box Office Earnings (Mil USD)&quot;,ascending=False).head(10)<br>top_earning</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/822/1*cmxW3nAOG5VUQ-YaVHWNtQ.png" /></figure><p>Wow. That a fantastic profit that they created from those movies..</p><p>Let’s go into next Objectives.</p><p><strong>“What are the 10 MCU movies with the highest rotten tomatoes rating ?”</strong></p><p>Rotten Tomatoes is an American review-aggregation website for film and television. The company was launched in August 1998 by three undergraduate students at the University of California, Berkeley: Senh Duong, Patrick Y. Lee, and Stephen Wang. Although the name “Rotten Tomatoes” connects to the practice of audiences throwing rotten tomatoes in disapproval of a poor stage performance, the direct inspiration for the name from Duong, Lee, and Wang came from an equivalent scene in the 1992 Canadian film Léolo.</p><p>Since January 2010, Rotten Tomatoes has been owned by Flixster, which was in turn acquired by Warner Bros. in 2011. In February 2016, Rotten Tomatoes and its parent site Flixster were sold to Comcast’s Fandango ticketing company. Warner Bros. retained a minority stake in the merged entities, including Fandango.</p><p>( Source from wikipedia )</p><p>Rotten Tomatoes and the Tomatometer score are the world’s most trusted recommendation resources for quality entertainment.</p><pre>top_RT = df.sort_values(by=&quot;Rotten Tomatoes Ratings (%)&quot;,ascending=False).head(10)<br>top_RT</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/819/1*HlsysXEeh-gQdERU7fY7pw.png" /></figure><p>Damn, the Rotten Tomatoes are too damn high,, Bravo</p><p>Let’s go the next curator rating , IMDb</p><p><strong>“What are the 10 MCU movies with the highest IMDb rating ? “</strong></p><p>IMDb (an acronym for Internet Movie Database)is an online database of information related to films, television series, podcasts, home videos, video games, and streaming content online — including cast, production crew and personal biographies, plot summaries, trivia, ratings, and fan and critical reviews. IMDb began as a fan-operated movie database on the Usenet group “rec.arts.movies” in 1990, and moved to the Web in 1993. Since 1998, it has been owned and operated by IMDb.com, Inc., a subsidiary of Amazon. (Source from wikipedia)</p><p>IMDb can help you to :</p><p>Jog your memory about a movie, show, or person on the tip of your tongue<br>Find the best movie or show to watch next<br>Empower you to share your entertainment knowledge and opinions with the world’s largest community of fans</p><pre>top_imdb = df.sort_values(by=&quot;IMDb Ratings&quot;,ascending=False).head(10)<br>top_imdb</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/819/1*bhjkho24mC6dJYivaHIZsQ.png" /></figure><p>And wow, Avengers : Infinity War and Endgame got high rating at IMDb,,</p><p>I like all of them but, i prefer those two,,</p><p>Let’s visualize them</p><pre># Create a figure and subplots<br>plt.figure(figsize=(10, 20))<br><br># Plot 1: The Longest Runtime MCU Movies<br>plt.subplot(5, 1, 1)<br>plt.bar(top_runtime[&#39;Movie Title&#39;], top_runtime[&#39;Runtime (min)&#39;], color=&#39;skyblue&#39;)<br>plt.title(&#39;The Longest Runtime MCU Movies&#39;)<br>plt.xlabel(&#39;Movie Title&#39;)<br>plt.xticks(rotation=30, ha=&#39;right&#39;)<br>plt.ylabel(&#39;Runtime (min)&#39;)<br>plt.ylim(50, 200)<br>plt.grid(True)<br><br># Plot 2: The Highest Production Budget MCU Movies<br>plt.subplot(5, 1, 2)<br>plt.bar(top_productionbudget[&#39;Movie Title&#39;],top_productionbudget[&#39;Production Budget (Mil USD)&#39;], color=&#39;salmon&#39;)<br>plt.title(&#39;The Highest Production Budget MCU Movies&#39;)<br>plt.xlabel(&#39;Movie Title&#39;)<br>plt.xticks(rotation=30, ha=&#39;right&#39;)<br>plt.ylabel(&#39;Production Budget (Mil USD)&#39;)<br>plt.ylim(200, 400)<br>plt.grid(True)<br><br># Plot 3: The Best Earning MCU Movies<br>plt.subplot(5, 1, 3)<br>plt.bar(top_earning[&#39;Movie Title&#39;],top_earning[&#39;Total Box Office Earnings (Mil USD)&#39;], color=&#39;palegreen&#39;)<br>plt.title(&#39;The Best Earning MCU Movies&#39;)<br>plt.xlabel(&#39;Movie Title&#39;)<br>plt.xticks(rotation=30, ha=&#39;right&#39;)<br>plt.ylabel(&#39;Total Box Office Earnings (Mil USD)&#39;)<br>plt.ylim(500, 3000)<br>plt.grid(True)<br><br># Plot 4: The Best Rotten Tomatoes Rating MCU Movies<br>plt.subplot(5, 1, 4)<br>plt.bar(top_RT[&#39;Movie Title&#39;],top_RT[&#39;Rotten Tomatoes Ratings (%)&#39;], color=&#39;bisque&#39;)<br>plt.title(&#39;The Best Rotten Tomatoes Rating MCU Movies&#39;)<br>plt.xlabel(&#39;Movie Title&#39;)<br>plt.xticks(rotation=30, ha=&#39;right&#39;)<br>plt.ylabel(&#39;Rotten Tomatoes Ratings (%)&#39;)<br>plt.ylim(80, 100)<br>plt.grid(True)<br>plt.tight_layout()<br><br># Plot 5 : The Best IMDB Rating MCU Movies<br>plt.subplot(5, 1, 5)<br>plt.bar(top_imdb[&#39;Movie Title&#39;],top_imdb[&#39;IMDb Ratings&#39;], color=&#39;plum&#39;)<br>plt.title(&#39;The Best IMDB Rating MCU Movies&#39;)<br>plt.xlabel(&#39;Movie Title&#39;)<br>plt.xticks(rotation=30, ha=&#39;right&#39;)<br>plt.ylabel(&#39;IMDb Ratings&#39;)<br>plt.ylim(7, 9)<br>plt.grid(True)<br>plt.tight_layout()<br><br><br># Show plot<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/766/1*VE6IojSSe8fPtFdMBf1eLA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*xnNM8BG5bFM1PaY-wpOlrg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*2Y8TTfPepY9M5d6jMdpuYg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/758/1*EYVotO7ki0KyPPG3V2SQYA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/749/1*o6N8OLPkE2sdnLTJo87v-w.png" /></figure><p>Last objectives fellas, let’s go finish them</p><p><strong>“Is there any strong correlation or above with the various variables above ?”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*cIbu6Nr0ZcFVv5rn.jpg" /></figure><p>In more detail, to see the interpretation of the correlation between two variables, below are the criteria for the correlation calculation results</p><p>0 : There is no correlation between two variables<br>&gt; 0–0.25 : Very weak correlation<br>&gt; 0.25–0.5 : Sufficient correlation<br>&gt; 0.5–0.75 : Strong correlation<br>&gt; 0.75–0.99 : Very strong correlation<br>1 : Perfect positive correlation<br>-1 : Perfect negative correlation</p><p>(Sarwono: 2006)</p><p>Let’s create a visualization of the Corellation plot and calculate the correlation value</p><pre><br># Removed the &#39;Movie Title&#39; column before calculating correlation<br>df1 = df.drop(columns=[&#39;Movie Title&#39;])<br><br># Calculates the correlation between numerical features<br>df_corr = df1.corr()<br><br># Create a correlation plot using seaborn<br>plt.figure(figsize=(10, 8))<br>sns.heatmap(df_corr, annot=True, cmap=&#39;coolwarm&#39;, fmt=&quot;.2f&quot;, square=True)<br>plt.title(&#39;Correlation Plot of MCU Movie Features&#39;)<br>plt.xticks(rotation=30)<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/717/1*X5kjv6JueUT0plCAi_yUYw.png" /></figure><p>There are <strong>strong</strong> correlation at :</p><p>Runtime - Total Box Office Earning ( 0,69 )</p><p>Total Box Office Earning — IMDb Rating ( 0,66 )</p><p>Production Budget — Total Box Office Earning ( 0,54 )</p><p>Runtime — Production Budget ( 0,53 )</p><p>Runtime — IMDb Rating ( 0,50 )</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*rKntuaXM-7D3iRb2.png" /></figure><h3>Closing Statement</h3><p>Perfect, all objectives have been completed, and it’s time for the closing session.</p><p>Thank you to Mr. Risman as my mentor and colleagues in the RWID Data Analytics discord.</p><p>Thank you for reading this article and see you in the next article</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*y4VQ-JNaBrMpcSwn.jpg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a18932ad363" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Football Player Market Value Analysis from Transfermarkt]]></title>
            <link>https://medium.com/@pradantohendika/football-player-market-value-analysis-from-transfermarkt-712ff3f17ce5?source=rss-684831f21478------2</link>
            <guid isPermaLink="false">https://medium.com/p/712ff3f17ce5</guid>
            <category><![CDATA[football]]></category>
            <category><![CDATA[market-value]]></category>
            <category><![CDATA[data-analytics]]></category>
            <dc:creator><![CDATA[Indra Pradanto]]></dc:creator>
            <pubDate>Thu, 04 Apr 2024 12:47:12 GMT</pubDate>
            <atom:updated>2024-04-04T16:12:36.093Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*le4N4KQQdokyLmug.jpg" /></figure><h3>Introduction</h3><p>The market value of football players is not merely a figure on paper, but rather a reflection of the intricate dynamics within the global sports industry. Beyond the glitz of the stadium and the cheers of fans, there are several factors influencing the market value of players. On-field performance, contracts, age, and consistency are among them. However, there are also subjective aspects to consider, such as player reputation, market potential, and club transfer strategies. All of these contribute to the unique nuances of the football player market, making it an intriguing arena for sports observers and business stakeholders alike.</p><p>With every kick and pass, the market value of football players fluctuates, reflecting the competitive dynamics among clubs, the ambitions of players, and the expectations of fans. While some factors can be objectively measured, such as performance statistics, there are also subjective elements influencing a player’s perceived value. Reputation, potential, and star power can cause a player’s market value to soar or plummet in the blink of an eye.</p><p>With each passing transfer window, new record-breaking figures are set, creating sensations and tensions in the football world. Clubs vie to secure the signatures of promising players, while agents and players seek to maximize their market value. Behind this process lie complex negotiations and careful strategies that influence the direction and magnitude of market value changes.</p><p>In the challenging and opportunistic football industry, a deep understanding of the dynamics of football player market value is crucial. Through careful analysis, we can uncover the compelling narratives behind the price of a signature and reflect on its role in shaping the game and the football culture, which holds such profound and far-reaching influence.</p><h3>Objectives on this article</h3><ol><li>Who are the 10 football players who have the highest market value today?</li><li>Who are the 10 U-23 football players who have the highest market value today?</li><li>Who are the 10 peak age football players who have the highest market value today?</li><li>Who are the 10 senior age football players who have the highest market value today?</li><li>Who are the players who have the highest current market value in each positions ?</li><li>Is there any correlation between age and market value ?</li><li>Pick the “best XI” of players who have the highest current market value today ( with my favourite formation )</li></ol><p>Dataset Reference is from <a href="https://www.kaggle.com/datasets/davidcariboo/player-scores">Kaggle</a>, and i will use python and the libraries such as Datetime, Pandas, numpy, matpotlib and seaborn.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*peI55FWgzaZTw0Uu.jpg" /></figure><h3>Data Cleaning and Preprocessing Techniques</h3><p><strong>Import Libraries and Load the Dataset</strong></p><pre># DATASET <br>import pandas as pd<br>import numpy as np<br>import matplotlib.pyplot as plt<br>import matplotlib.ticker as ticker<br>import seaborn as sns<br>from datetime import datetime<br>import matplotlib.patches as patches<br><br>#Load the dataset<br>df1 = pd.read_csv(&quot;appearances.csv&quot;)<br>df2 = pd.read_csv(&quot;players.csv&quot;)<br><br># Display the information of a DataFrame <br>df1.info()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/455/1*WJpUuUBr-T18KRoxTCYZjg.png" /></figure><pre>df2.info()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/487/1*vjIOx3rOdx9Ck93tnMOdMg.png" /></figure><pre>#Preview sample dataset<br>df1.sample(5)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/989/1*eGdpKacQshZK1YA3NJf_-w.png" /></figure><pre>df2.sample(5)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/996/1*6MLGmMh1sgoKa_Bc4aNwPw.png" /></figure><h3>Remove unnecessary data and find out information about data types</h3><p>Actually , im only need column with variable ‘player_name’, ‘position’, ‘sub_position’, ‘age ’and ‘market_value’. But we need to do many things for get that variable i need.</p><p>I need “player_id” and “player_name” at df1</p><pre>df1= df1[[&quot;player_id&quot;, &quot;player_name&quot; ]]<br>df1</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/302/1*MPDXuOXSgTYt54Vi7BMLeQ.png" /></figure><p>Next I need ”player_id”, “name”, ”date_of_birth”, ”position”, ”sub_position”, ”market_value_in_eur” at df 2</p><pre>df2 = df2[[&quot;player_id&quot;, &quot;name&quot;,&quot;date_of_birth&quot;,&quot;position&quot;,&quot;sub_position&quot;,&quot;market_value_in_eur&quot; ]]<br>df2</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/659/1*xxU-FSGahXYzo4N7iw44CQ.png" /></figure><p>I will combine the two data sets to get the required variables at one dataframe.</p><pre>df = pd.merge(df1,df2, on = &quot;player_id&quot;)<br>df</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/731/1*0zz_jm4wRyxNQCye5hCGgA.png" /></figure><p>And I will see how dataframe 1 and dataframe 2 match at random sample..</p><pre>df.sample(5)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/789/1*QG5giHP8Gk-ehsNWyffNRA.png" /></figure><h4><strong>Finding duplicate data and missing values and how to resolve them</strong></h4><p>Now, I want to see information about duplicate data</p><pre>df.duplicated()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/313/1*i95n1qg3PmYdy94gLKLQDg.png" /></figure><p>There are duplicates in some data, let’s clean them up</p><pre>df.drop_duplicates(inplace=True)<br>df</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/747/1*gl4zxNCV0GFTK2WXcpnAlw.png" /></figure><p>Now, I want to see information about missing values</p><pre><br>#Count the number of missing values.<br>df.isna().sum()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/227/1*071vKz2q61FSs_JBeVEscA.png" /></figure><p>There are missing values ​​in some data, let’s clean it.</p><pre>df = df.dropna()<br>df</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/787/1*dKzrT7hoIHus_2i-Wo1VbA.png" /></figure><p>Let’s check it again for validation..</p><pre><br>df.isna().sum()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/230/1*3ebZisVmU91TeZ0DVOewyg.png" /></figure><p>Good, let’s go to the next step.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*5buHGX1GQHOOCN61.jpg" /></figure><h3>Filtering , Manipulation and Visualization Data</h3><p>Am I missing something ?</p><p>Yes, I still need “age” columns but i only have “date of birth”. I should make my new function to create “age” columns with def() command.</p><p>The def () command in python is used to define the function that users can use to built their own function.</p><p>Let’s go try it.</p><pre># Function to calculate age<br>def calculate_age(date_of_birth):<br>    # Convert the date of birth into a datetime object<br>    date_of_birth = datetime.strptime(date_of_birth, &#39;%Y-%m-%d&#39;)<br>    <br>    # Get today&#39;s date<br>    today = datetime.now()<br>    <br>    # Calculate the difference in years<br>    age = today.year - date_of_birth.year<br>    <br>    # Check if the birthday has occurred this year or not<br>    if (today.month, today.day) &lt; (date_of_birth.month, date_of_birth.day):<br>        age -= 1<br>    <br>    return age<br><br># Create a new column &#39;age&#39; by applying the function to &#39;date_of_birth&#39;<br>df[&#39;age&#39;] = df[&#39;date_of_birth&#39;].apply(calculate_age)<br><br># Display the DataFrame with the new &#39;age&#39; column<br>df</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/794/1*Rg8wmNk2oO7to0jorsOGiQ.png" /></figure><p>Good, now we get “age columns”.</p><p>But, the “market value” is have too many number, let’s make this short for easy identification.</p><pre>#Create a new column &#39;market_value_in_million_euros&#39; by divide &#39;market_value_in_million_euros&#39;<br>df[&#39;market_value_in_million_euros&#39;] = df[&#39;market_value_in_eur&#39;] /1000000<br>df</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*SyOxkqODY9U_CUKYCHtEbw.png" /></figure><p>Nice, but uhhh i still have 2 “player_name” columns, 2 “ market_value” columns, and sub position with too many fonts. I will filtering this again and make data identification easier.</p><pre><br>df= df[[&quot;player_name&quot;,&quot;position&quot;,&quot;sub_position&quot;,&quot;age&quot;, &quot;market_value_in_million_euros&quot;]]<br>df<br><br># Replace &#39;Attack&#39; with &#39;Forward&#39; in the &#39;sub_position&#39; column<br>df[&#39;position&#39;] = df[&#39;position&#39;].replace({&#39;Attack&#39;:&#39;Forward&#39;})<br><br># Replace &#39;sub_position&#39; column with short font <br>df[&#39;sub_position&#39;] = df[&#39;sub_position&#39;].replace({&#39;Centre-Forward&#39;:&#39;CF&#39;})<br>df[&#39;sub_position&#39;] = df[&#39;sub_position&#39;].replace({&#39;Goalkeeper&#39;:&#39;GK&#39;})<br>df[&#39;sub_position&#39;] = df[&#39;sub_position&#39;].replace({&#39;Centre-Back&#39;:&#39;CB&#39;})<br>df[&#39;sub_position&#39;] = df[&#39;sub_position&#39;].replace({&#39;Right-Back&#39;:&#39;RB&#39;})<br>df[&#39;sub_position&#39;] = df[&#39;sub_position&#39;].replace({&#39;Left-Back&#39;:&#39;LB&#39;})<br>df[&#39;sub_position&#39;] = df[&#39;sub_position&#39;].replace({&#39;Defensive Midfield&#39;:&#39;DM&#39;})<br>df[&#39;sub_position&#39;] = df[&#39;sub_position&#39;].replace({&#39;Central Midfield&#39;:&#39;CM&#39;})<br>df[&#39;sub_position&#39;] = df[&#39;sub_position&#39;].replace({&#39;Attacking Midfield&#39;:&#39;AM&#39;})<br>df[&#39;sub_position&#39;] = df[&#39;sub_position&#39;].replace({&#39;Left Winger&#39;:&#39;LW&#39;})<br>df[&#39;sub_position&#39;] = df[&#39;sub_position&#39;].replace({&#39;Right Winger&#39;:&#39;RW&#39;})<br>df[&#39;sub_position&#39;] = df[&#39;sub_position&#39;].replace({&#39;Right Midfield&#39;:&#39;RM&#39;})<br>df[&#39;sub_position&#39;] = df[&#39;sub_position&#39;].replace({&#39;Left Midfield&#39;:&#39;LM&#39;})<br>df[&#39;sub_position&#39;] = df[&#39;sub_position&#39;].replace({&#39;Second Striker&#39;:&#39;SS&#39;})<br><br># Display the DataFrame after the change<br>df</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/435/1*RtE4XewTaZul8GISqaldhA.png" /></figure><p>Nice, i have all variables that i need, let’s go answer first question with sort_values command.</p><p><strong>“Who are the 10 football players who have the highest market value today?”</strong></p><pre>df.sort_values(by=&quot;market_value_in_million_euros&quot;,ascending=False).head(10)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/518/1*k47g9XM5sVG5zjeMvchcLA.png" /></figure><p>Nice, we have got the data for “10 football players who have the highest market value”</p><p>Next I will filter the dataframe according to the objectives above using loc command for answer next question</p><p><strong>“Who are the 10 U-23 football players who have the highest market value today?”</strong></p><p>I will look at the information from the df_u23 dataframe to answer this question</p><pre>df_u23 = df.loc[(df[&#39;age&#39;] &lt; 24)]<br>df_peak = df.loc[(df[&#39;age&#39;] &gt; 23) &amp; (df[&#39;age&#39;] &lt; 31)]<br>df_senior = df.loc[(df[&#39;age&#39;] &gt; 30) ]<br>df_u23</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/582/1*D8Ai3t5igPrYE8JBI5azSg.png" /></figure><p>Let’s execute this !</p><pre>top_u23 = df_u23.sort_values(by=&quot;market_value_in_million_euros&quot;,ascending=False).head(10)<br>top_u23</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/573/1*fSMeWNb1xvwsHL2pZP_9vw.png" /></figure><p>Nice, we got the answers, now lets go to the next question</p><p><strong>“Who are the 10 peak age football players who have the highest market value today?”</strong></p><p>I will look at the information from the df_peak dataframe to answer this question</p><pre>df_peak<br></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/530/1*N-rSG0e2LpXCo2yYTCqHZA.png" /></figure><p>Let’s go execute this !</p><pre>top_peak = df_peak.sort_values(by=&quot;market_value_in_million_euros&quot;,ascending=False).head(10)<br>top_peak</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/551/1*-cMbbHANU57QPs0EMDAVWQ.png" /></figure><p>Superb, we got the answer, let’s go to third question</p><p><strong>“Who are the 10 senior age football players who have the highest market value today?”</strong></p><p>I will look at the information from the df_senior dataframe to answer this question</p><pre>df_senior</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*llpMSV3F5f5PqJq6QTXJOw.png" /></figure><p>Let’s answer this !</p><pre>top_senior = df_senior.sort_values(by=&quot;market_value_in_million_euros&quot;,ascending=False).head(10)<br>top_senior</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*QglzAdkw80N6Cgc42YFk9w.png" /></figure><p>Excellent, we’ve got three question complete..</p><p>Let’s visualize them before go to the next question</p><pre># Create a figure and subplots<br>plt.figure(figsize=(12, 12))<br><br># Plot 1: Highest Player Market Values at U23 Football Player<br>plt.subplot(3, 1, 1)<br>plt.bar(top_u23[&#39;player_name&#39;], top_u23[&#39;market_value_in_million_euros&#39;], color=&#39;skyblue&#39;)<br>plt.title(&#39;Highest Player Market Values at U23 Football Player&#39;)<br>plt.xlabel(&#39;Player Name&#39;)<br>plt.xticks(rotation=30, ha=&#39;right&#39;)<br>plt.ylabel(&#39;Market Value (in million euros)&#39;)<br>plt.ylim(70, 200)<br>plt.grid(True)<br><br># Plot 2: Highest Player Market Values at Peak Age Football Player<br>plt.subplot(3, 1, 2)<br>plt.bar(top_peak[&#39;player_name&#39;], top_peak[&#39;market_value_in_million_euros&#39;], color=&#39;salmon&#39;)<br>plt.title(&#39;Highest Player Market Values at Peak Age Football Player&#39;)<br>plt.xlabel(&#39;Player Name&#39;)<br>plt.xticks(rotation=30, ha=&#39;right&#39;)<br>plt.ylabel(&#39;Market Value (in million euros)&#39;)<br>plt.ylim(80, 200)<br>plt.grid(True)<br><br># Plot 3: Highest Player Market Values at Senior Age Football Player<br>plt.subplot(3, 1, 3)<br>plt.bar(top_senior[&#39;player_name&#39;], top_senior[&#39;market_value_in_million_euros&#39;], color=&#39;palegreen&#39;)<br>plt.title(&#39;Highest Player Market Values at Senior Age Football Player&#39;)<br>plt.xlabel(&#39;Player Name&#39;)<br>plt.xticks(rotation=30, ha=&#39;right&#39;)<br>plt.ylabel(&#39;Market Value (in million euros)&#39;)<br>plt.ylim(10, 70)<br>plt.grid(True)<br><br># Adjust layout<br>plt.tight_layout()<br><br># Show plot<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1002/1*w84ZOeucFr1TOnYTakEiJA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*CCzFwZ66OCul2em1UaWALQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/988/1*3LxW2lQh9kd_ocvqkLRR_g.png" /></figure><p>Allright, let’s go to the next objectives</p><p><strong>“Who are the players who have the highest current market value in each positions ?”</strong></p><p>I will use groupby command with additional information.. The description will be below this quoted command</p><pre># Group by sub_position and select the player with the highest market value for each sub_position<br>top_players = df.groupby(&#39;sub_position&#39;).apply(lambda x: x.nlargest(1, &#39;market_value_in_million_euros&#39;))<br><br># Reset index to remove the nested index from groupby<br>top_players = top_players.reset_index(drop=True)<br><br># Sort the DataFrame based on market_value_in_million_euros in descending order<br>top_players_sorted = top_players.sort_values(by=&#39;market_value_in_million_euros&#39;, ascending=False)<br><br>top_players_sorted</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/1*y7MnaEyqs1RjrUsFFaivRA.png" /></figure><p>The <strong>apply</strong> method is used to<strong> apply a function to each group</strong> of the grouped object. In this case, you want to apply the nlargest function to each group to select players with the highest market value.</p><p>The <strong>nlargest</strong> function is used to <strong>take the top n rows with the largest values</strong> from a particular column in the DataFrame. In this case, you want to select players with the highest market value from each group (sub_position).</p><p>Let’s break down what apply(lambda x: x.nlargest(1, ‘market_value_in_million_euros’)) does:</p><p><strong>apply</strong> is used to <strong>apply a function to each group</strong>. <strong>lambda x</strong>: generates an <strong>anonymous function (without a name)</strong> that will be applied to <strong>each group</strong>.</p><p>Here, x represents each group. x.nlargest(1, ‘market_value_in_million_euros’) is the operation applied to each group x. It selects <strong>1 row</strong> with the <strong>largest</strong> value from the ‘market_value_in_million_euros’ column in group x.</p><p>So, for each group, we select the player with the <strong>highest market value.</strong></p><p><strong>Overall, apply(lambda x: x.nlargest(1, ‘market_value_in_million_euros’)) produces a DataFrame containing one row for each group, where each row is the player with the highest market value in that group.</strong></p><p>Let’s visualize this before that things become complicated (lol)</p><pre># Create a figure and subplots<br>plt.figure(figsize=(12, 12))<br><br># Combine player name and position with parentheses<br>labels = [f&quot;{name}\n({position})&quot; for name, position in zip(top_players_sorted[&#39;player_name&#39;], top_players_sorted[&#39;sub_position&#39;])]<br><br># Plot the bar chart<br>bars = plt.bar(labels, top_players_sorted[&#39;market_value_in_million_euros&#39;], color=&#39;lightskyblue&#39;)<br><br># Set title, labels, and limits<br>plt.title(&#39;Highest Player Market Values by Position&#39;)<br>plt.xlabel(&#39;Player Name and Position&#39;)<br>plt.ylabel(&#39;Market Value&#39;)<br>plt.xticks(rotation=30, ha=&#39;right&#39;)<br>plt.ylim(0, 185)<br>plt.grid(True)<br><br># Adjust layout<br>plt.tight_layout()<br><br># Show plot<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/564/1*6CpVqobGdqJza4uErlhT9A.png" /></figure><p>Excellent work brother,, let’s go to the next objectives</p><h3>“ Is there any correlation between age and market value ? “</h3><p>In more detail, to see the interpretation of the correlation between two variables, below are the criteria for the correlation calculation results</p><p>0 : There is no correlation between two variables<br>&gt; 0–0.25 : Very weak correlation<br>&gt; 0.25–0.5 : Sufficient correlation<br>&gt; 0.5–0.75 : Strong correlation<br>&gt; 0.75–0.99 : Very strong correlation<br>1 : Perfect positive correlation<br>-1 : Perfect negative correlation</p><p>(Sarwono: 2006)</p><p>Let’s create a visualization of the regression plot and calculate the correlation value</p><pre># Calculating the correlation between the variables &#39;ages&#39; and &#39;market value&#39;<br>AgecorrMarketValue = df[&#39;age&#39;].corr(df[&#39;market_value_in_million_euros&#39;])<br>AgecorrMarketValue </pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/251/1*lgv0Le32qU6qu_NRNt-tNA.png" /></figure><pre>sns.regplot(x=&#39;age&#39;, y=&#39;market_value_in_million_euros&#39;, data=df)<br># Set x-axis formatter to display integers<br>plt.gca().xaxis.set_major_formatter(ticker.FormatStrFormatter(&#39;%d&#39;))<br># Set y-axis label<br>plt.ylabel(&#39;Market Value (in million euros)&#39;)<br><br># Set y-axis formatter to display integers<br>plt.gca().yaxis.set_major_formatter(ticker.FormatStrFormatter(&#39;%d&#39;))<br>plt.tight_layout()<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*lrK4N7qoTJ4g8r8YYSUNfg.png" /></figure><p>From the data above, the correlation value is 0.1918</p><p>It can be concluded that there is no correlation between age and points.</p><p>Almost done… Let’s go to my favourite objectives.</p><p><strong>“Pick a “best XI” of players who have the highest current market value today”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*5zzGzIyrRhZC1wip.jpg" /></figure><p>My favourite formation is <strong>4–4–2 Diamond, </strong>we will discuss about why i like this formation very much.</p><p>According to <a href="https://www.coachesvoice.com/cv/4-4-2-diamond-football-tactics-explained-klopp-potter-allegri/">Coaches Voice</a> web,</p><p>The 4–4–2 diamond formation — sometimes called a 4-diamond-2 — differs only from a standard 4–4–2 in its midfield shape. The midfield unit creates a diamond, with a single pivot at the base, two number eights on the outside of the midfield four, and a number 10 at the tip of the diamond, playing underneath a front line of two centre-forwards (below).</p><p>The 4–4–2 diamond emerged when the centre-forward in a 4–3–3 shape dropped towards the midfield line of three. In 1962, Brazil formed a 4–3–3 structure, with <a href="https://www.coachesvoice.com/cv/mario-zagallo-brazil-tactics-pele-ronaldo-world-cup/">Mário Zagallo</a> dropping out of the front line to create an overload in midfield. Despite being a centre-forward in the starting line-up, Zagallo took up positions similar to the number 10 in a 4–4–2 diamond.</p><p>The main strength of the 4–4–2 diamond is the overload it creates in central midfield against any opponent with either two or three central midfielders, which includes all of <a href="https://www.coachesvoice.com/cv/formations-football-tactics-explained-best-most-used/">football’s most popular formations</a>. This helps the team dominate possession and create attacks in dangerous areas through the centre of the pitch, while also providing cover against counter-attacks and central numbers to counter-press in defensive transition.</p><p>The presence of two centre-forwards means both opposing centre-backs are constantly occupied. Direct balls forward are thus more likely to be secured and held up, which gives the team a strong base from which to build counter-attacks.</p><p>If a team has particularly attacking full-backs, the midfield diamond leaves plenty of space for them to push forward and get into positions to create high up the pitch.</p><p>I enjoyed very much how Brighton plays under Graham Potter with 4–4–2 formation, they could be hard enemy for Big 6 clubs at EPL.</p><p>Let’s go visualize this best XI , Big Thanks for Mr. Lanre Akinbo for this code, i modified this code from <a href="https://medium.com/ai-in-plain-english/inside-the-football-data-universe-clustering-players-for-insights-158ed1b8f1ff">his medium</a>,,</p><pre># Define the desired formation<br>desired_formation = [&#39;GK&#39;, &#39;RB&#39;, &#39;CB&#39;, &#39;CB&#39;, &#39;LB&#39;, &#39;DM&#39;, &#39;CM&#39;, &#39;CM&#39;, &#39;AM&#39;, &#39;CF&#39;, &#39;CF&#39;]<br><br># Function to get the best players for a given position<br>def get_best_players_for_position(df, position, num_players=1):<br>    players_at_position = df[df[&#39;sub_position&#39;].str.contains(position)]<br>    max_market_value = players_at_position[&#39;market_value_in_million_euros&#39;].max()<br>    best_players = players_at_position[players_at_position[&#39;market_value_in_million_euros&#39;] == max_market_value]<br>    return best_players.head(num_players)<br><br># Filter players based on the desired formation and select the best players for each position<br>best_xi = pd.DataFrame()<br>selected_indices = []  # Keep track of selected player indices to avoid selecting the same player again<br>for position in desired_formation:<br>    num_players = 1<br>    <br>    # Filter out already selected players<br>    remaining_players = df[~df.index.isin(selected_indices)]<br>    <br>    best_players = get_best_players_for_position(remaining_players, position, num_players)<br>    best_xi = pd.concat([best_xi, best_players], ignore_index=True)<br>    selected_indices.extend(best_players.index)<br><br><br># Define a function to plot the football pitch<br>def plot_football_pitch():<br>    # Create figure and axis<br>    fig, ax = plt.subplots(figsize=(10, 6))<br>    ax.set_xlim(0, 100)<br>    ax.set_ylim(0, 60)<br>    ax.axis(&#39;off&#39;)<br>    field_length = 100<br>    field_width = 60<br>    <br>    # Pitch Outline<br>    pitch = patches.Rectangle((0, 0), 100, 60, linewidth=2, edgecolor=&#39;white&#39;, facecolor=&#39;yellowgreen&#39;)<br>    ax.add_patch(pitch)<br>    <br>    # Halfway line<br>    ax.plot([field_length / 2, field_length / 2], [0, field_width], color=&#39;white&#39;)<br><br>    # Left Penalty Area<br>    left_penalty = patches.Rectangle((0, 15), 15, 30, linewidth=1, edgecolor=&#39;white&#39;, facecolor=&#39;none&#39;)<br>    ax.add_patch(left_penalty)<br><br>    # Right Penalty Area<br>    right_penalty = patches.Rectangle((85, 15), 15, 30, linewidth=1, edgecolor=&#39;white&#39;, facecolor=&#39;none&#39;)<br>    ax.add_patch(right_penalty)<br><br>    # Left 6-yard Box<br>    left_sixyard = patches.Rectangle((0, 22.5), 6, 15, linewidth=1, edgecolor=&#39;white&#39;, facecolor=&#39;none&#39;)<br>    ax.add_patch(left_sixyard)<br><br>    # Right 6-yard Box<br>    right_sixyard = patches.Rectangle((94, 22.5), 6, 15, linewidth=1, edgecolor=&#39;white&#39;, facecolor=&#39;none&#39;)<br>    ax.add_patch(right_sixyard)<br>    <br>    # Center Circle<br>    center_circle = patches.Circle((50, 30), 9.15, linewidth=1, edgecolor=&#39;white&#39;, facecolor=&#39;none&#39;)<br>    ax.add_patch(center_circle)<br><br>    # Center Spot<br>    center_spot = plt.Circle((50, 30), 0.37, color=&#39;white&#39;)<br>    ax.add_patch(center_spot)<br><br>    # Prepare player positions and their coordinates on the pitch<br>    positions_x = [7, 25, 20, 20, 25, 40, 55, 55, 70, 90, 90]<br>    positions_y = [30, 5, 20, 40, 55, 30, 45, 15, 30, 15, 45]<br>    player_names = best_xi[&#39;player_name&#39;]<br><br>    # Annotate player names on their respective positions<br>    for i, name in enumerate(player_names):<br>        ax.text(positions_x[i], positions_y[i], name, ha=&#39;center&#39;, va=&#39;center&#39;, fontsize=12, color=&#39;black&#39;)<br>        <br>    plt.title(&#39;The Highest Market Value Best XI (4-4-2)&#39;)<br>    plt.show()<br><br># Plot the football pitch and annotate player names<br>plot_football_pitch()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/1*szf-Q0Feiu4pyHWkThrRyw.png" /></figure><p>Damn. This teams looks powerful with super striker Haaland and fast striker Mbappe at forward , Rodri, Valverde and Camavinga with amazing workrate, Bellingham with unexpected briliant play, and supersolid defense squad with Ruben Dias leadership.</p><h3>Closing Statement</h3><p>Perfect, all objectives have been completed, and it’s time for the closing session.</p><p>Thank you to Mr. Risman as my mentor and colleagues in the RWID Data Analytics discord, <a href="https://www.coachesvoice.com/cv/4-4-2-diamond-football-tactics-explained-klopp-potter-allegri/">Coaches Voices</a> for information about 4–4–2 diamond and Big Thanks for Mr. <a href="https://medium.com/ai-in-plain-english/inside-the-football-data-universe-clustering-players-for-insights-158ed1b8f1ff">Lanre Akinbo</a> for the code.</p><p>Thank you for reading this article and see you in the next article</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*VRuO1jrr8mrUyCGR.jpg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=712ff3f17ce5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kobe Bryant’s Analysis, Legend of the Black Mamba]]></title>
            <link>https://medium.com/@pradantohendika/kobe-bryants-analysis-legend-of-the-black-mamba-53627fe44604?source=rss-684831f21478------2</link>
            <guid isPermaLink="false">https://medium.com/p/53627fe44604</guid>
            <category><![CDATA[kobe-bryant]]></category>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[sports]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[basketball]]></category>
            <dc:creator><![CDATA[Indra Pradanto]]></dc:creator>
            <pubDate>Sun, 25 Feb 2024 15:18:42 GMT</pubDate>
            <atom:updated>2024-02-25T15:18:42.749Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3cP5ybRAKJKFF58i.jpg" /></figure><h3>Introduction</h3><p>Kobe Bryant, known to the world as the “Black Mamba,” was more than just a basketball player. He was a cultural icon, a symbol of resilience, and an inspiration to millions around the globe. From his unparalleled work ethic to his unwavering dedication to excellence, Kobe’s legacy extends far beyond the basketball court and continues to inspire generations long after his passing.</p><p>But Kobe’s impact was not limited to his on-court achievements. Off the court, he was a tireless advocate for social change and a champion for youth empowerment. He used his platform to speak out against injustice and inequality, and he dedicated himself to creating opportunities for underprivileged youth through his various philanthropic endeavors.</p><p>One of Kobe’s most enduring legacies is his commitment to mentoring the next generation of athletes and leaders. He founded the Mamba Mentality Academy, a sports training facility aimed at helping young athletes reach their full potential both on and off the court. Through his work with the academy, Kobe inspired countless individuals to dream big and never give up on their goals.</p><p>Tragically, Kobe’s life was cut short on January 26, 2020, when he, his daughter Gianna, and seven others were killed in a helicopter crash in Calabasas, California. The news sent shockwaves around the world, and an outpouring of grief and tributes poured in from fans, fellow athletes, and public figures alike.</p><p>Despite his untimely death, Kobe’s legacy continues to live on. His impact on the game of basketball and the world at large is undeniable, and his memory will forever be cherished by those who were fortunate enough to witness his greatness.</p><p>With this article, I want to invite readers to remember Kobe’s greatness in basketball during his lifetime legacy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/0*belxjOk22xhlrL1Z.jpg" /></figure><h3>Objectives on this article</h3><p>Because his position contributes to scoring points for kill the game as a shooting guard and small forward, this analysis will focus on points, assists, steals per game.</p><ol><li>How many points, assists, steals per game did Kobe get at his youth age / development phase ( 18–23 ) ?</li><li>How many points, assists, steals per game did Kobe get at his peak age / top phase (24 – 31) ?</li><li>How many points, assists, steals per game did Kobe get at last period of his career / final phase ( 32 — 37) ?</li><li>Is there any correlation between age with points, assists and steals per game ?</li></ol><p>Dataset Reference is from <a href="https://www.kaggle.com/datasets/alfredkondoro/exploring-kobe-bryants-nba-journey">Kaggle</a> , and i will use python and the libraries such as Pandas, numpy, matpotlib and seaborn.</p><h3>Data Cleaning and Preprocessing Techniques</h3><p><strong>Import Libraries and Load the Dataset</strong></p><pre>import pandas as pd<br>import numpy as np<br>import matplotlib.pyplot as plt<br>import matplotlib.ticker as ticker<br>import seaborn as sns<br><br>#Load the dataset<br>df = pd.read_csv(&quot;kobebryant.csv&quot;)<br><br>#Preview sample dataset <br>df.sample(5)<br><br></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*x4tiUeJIH76PTWpFCvjvEA.png" /><figcaption>Preview the Data of Kobe’s Stats</figcaption></figure><h4>Remove unnecessary data and find out information about data types</h4><p>I will remove several columns to make analysis and identification easier, because im only using ‘age’, ‘points’, ‘assists’,and steal</p><pre>df = df[[&quot;age&quot;, &quot;points&quot;,&quot;assists&quot;,&quot;steals&quot;, ]]<br>df</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/205/1*olPo27RJC8fbR_aP3mlgNA.png" /><figcaption>Preview of kobe’s stats after removed unecessary columns</figcaption></figure><p>I want to see the data information to find out the data type</p><pre># Display the information of a DataFrame <br>df.info()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/269/1*jAt02_FHbqw_tHClK7z8iA.png" /></figure><p>To be able to calculate the mean of each data, we need to convert object type data into numeric type data</p><p>We will do this later after detecting duplication and missing values</p><h4>Finding duplicate data and missing values and how to resolve them</h4><p>Now, I want to see information about duplicate data</p><pre>duplicates = df.duplicated()<br>duplicates</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/311/1*I4dRmYWyNSelkCTMZuVbjQ.png" /></figure><p>Good, there is no duplicate data, next I want to know about the number of missing values from the data</p><pre>#Count the number of missing values.<br>df.isna().sum()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/504/1*VdZDtLw_5JrW-9vvQ1HJHQ.png" /></figure><p>Next, I want to find out the location of the missing values in the data</p><pre># Melacak data null<br>df_null = df[df.isnull().any(axis=1)]<br>df_null</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/278/1*xrSyc1g-Qyrlx65lGmyhRA.png" /></figure><p>Then I will delete the data that contains null and missing values</p><pre>df = df.drop([0,1064])<br>df</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/205/1*bted2rEzZWJHcw7smNhfwg.png" /></figure><h4>Converts object data type to numeric data type</h4><p>Now I will convert the object type data to numeric type data</p><pre># Konversi tiga kolom menjadi numerik<br>df[[&#39;points&#39;, &#39;assists&#39;, &#39;steals&#39;]] = df[[&#39;points&#39;, &#39;assists&#39;, &#39;steals&#39;]].apply(pd.to_numeric, errors=&#39;coerce&#39;)<br>df</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/281/1*JersLjMJrO-FHFClwSkDTA.png" /></figure><p>Allright, all object type data has been converted to numeric type data. Let’s go to the next step !</p><h3>Filtering , Manipulation and Visualization Data</h3><p>Next I will filter the age data and calculate points, assists, and steals per game with groupby and aggregation commands</p><p>GroupBy: This is an operation that allows you to group data based on certain values in one or more columns. For example, you can group data based on values in certain columns, such as grouping customer data based on the country or city where they live. The result is an object that allows you to perform aggregation operations on each separate group of data.</p><p>Aggregation: Once you have grouped data using groupby, you can then apply aggregation functions to each group. Aggregation is the process of calculating summary statistics or other metrics on data that has been grouped. For example, you can calculate the mean, sum, maximum value, minimum value, or standard deviation of each group of data.</p><p>Lets go execute this !</p><pre>df = df.groupby(&#39;age&#39;, as_index=False).agg({&#39;points&#39;: &#39;mean&#39;, &#39;assists&#39;: &#39;mean&#39;, &#39;steals&#39;: &#39;mean&#39;}).round(0)<br>df</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/245/1*mLIvu1wRAtHybAZ7UDtAKQ.png" /></figure><p>Next, I will filter the dataframe according to the objectives above using loc command</p><p>loc is a method used in Pandas to select rows and columns in a DataFrame based on a specific label. It is used for label-based access, which means you can access rows and columns by using labels that correspond to the row index and column names.</p><pre>df_youth = df.loc[(df[&#39;age&#39;] &gt;= 18) &amp; (df[&#39;age&#39;] &lt;= 23)]<br>df_peak = df.loc[(df[&#39;age&#39;] &gt;= 24) &amp; (df[&#39;age&#39;] &lt;= 31)]<br>df_last = df.loc[(df[&#39;age&#39;] &gt;= 32) &amp; (df[&#39;age&#39;] &lt;= 37)]</pre><p>Great, then I will look at the information from the df_youth dataframe to answer this question</p><h4>“ How many points, assists, steals per game did Kobe get at his youth age / development phase ( 18–23 ) ? “</h4><pre>df_youth</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/240/1*fKqPpky4Fw7Yxqtz3XplsQ.png" /></figure><p>Good, we have got data for “How many points, assists, steals per game did Kobe get at his youth age / development phase ( 18–23 ) “</p><p>Next, we will visualize the dataframe above</p><pre># Create a figure and subplots<br>plt.figure(figsize=(12, 12))<br><br># Plot 1: Points Scored at Youth Age<br>plt.subplot(3, 1, 1)<br>plt.bar(df_youth[&#39;age&#39;], df_youth[&#39;points&#39;], color=&#39;skyblue&#39;)<br>plt.title(&#39;Points Scored at Youth Age / Development Phase&#39;)<br>plt.xlabel(&#39;Ages&#39;)<br>plt.ylabel(&#39;Points&#39;)<br>plt.ylim(5, 30)<br>plt.grid(True)<br><br># Plot 2: Steals Scored at Growth Age<br>plt.subplot(3, 1, 2)<br>plt.bar(df_youth[&#39;age&#39;], df_youth[&#39;steals&#39;], color=&#39;salmon&#39;)<br>plt.title(&#39;Steals Scored at Youth Age / Development Phase&#39;)<br>plt.xlabel(&#39;Ages&#39;)<br>plt.ylabel(&#39;Steals&#39;)<br>plt.ylim(0, 5)<br>plt.grid(True)<br><br># Plot 3: Assists Scored at Growth Age<br>plt.subplot(3, 1, 3)<br>plt.bar(df_youth[&#39;age&#39;], df_youth[&#39;assists&#39;], color=&#39;palegreen&#39;)<br>plt.title(&#39;Assists Scored at Youth Age / Development Phase&#39;)<br>plt.xlabel(&#39;Ages&#39;)<br>plt.ylabel(&#39;Assists&#39;)<br>plt.ylim(0, 6)<br>plt.grid(True)<br><br># Adjust layout<br>plt.tight_layout()<br><br># Show plot<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*5ZE4V35H5fHFkzlvlxGkkg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/817/1*wW38oX2Tfv4_-Sag55sfIw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/815/1*4htbKaAGvCa-ekhweguyTw.png" /></figure><p>Superb, we have got the answer and visualization, next we will discuss the second question</p><h4>“How many points, assists, steals per game did Kobe get at his peak age / top phase (24–31) ?”</h4><p>I will look at the information from the df_peak dataframe to answer this question</p><pre>df_peak</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/281/1*SiCyeNbFaWAnTFWMDAgfdw.png" /></figure><p>Good, we have got data for “How many points, assists, steals per game did Kobe get atis peak age / top phase (24–31) “</p><p>Next, we will visualize the dataframe above</p><pre># Create a figure and subplots<br>plt.figure(figsize=(12, 12))<br><br># Plot 1: Points Scored at Peak Age<br>plt.subplot(3, 1, 1)<br>plt.bar(df_peak[&#39;age&#39;], df_peak[&#39;points&#39;], color=&#39;skyblue&#39;)<br>plt.title(&#39;Points Scored at Peak Age / Top Phase &#39;)<br>plt.xlabel(&#39;Ages&#39;)<br>plt.ylabel(&#39;Points&#39;)<br>plt.ylim(5, 40)<br>plt.grid(True)<br><br># Plot 2: Steals Scored at Peak Age<br>plt.subplot(3, 1, 2)<br>plt.bar(df_peak[&#39;age&#39;], df_peak[&#39;steals&#39;], color=&#39;salmon&#39;)<br>plt.title(&#39;Steals Scored at Peak Age / Top Phase &#39;)<br>plt.xlabel(&#39;Ages&#39;)<br>plt.ylabel(&#39;Steals&#39;)<br>plt.ylim(0, 5)<br>plt.grid(True)<br><br># Plot 3: Assists Scored at Peak Age<br>plt.subplot(3, 1, 3)<br>plt.bar(df_peak[&#39;age&#39;], df_peak[&#39;assists&#39;], color=&#39;palegreen&#39;)<br>plt.title(&#39;Assists Scored at Peak Age / Top Phase&#39;)<br>plt.xlabel(&#39;Ages&#39;)<br>plt.ylabel(&#39;Assists&#39;)<br>plt.ylim(0, 7)<br>plt.grid(True)<br><br># Adjust layout<br>plt.tight_layout()<br><br># Show plot<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*95NC3ttqOOO3ffgWsMfmCg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/1*d9O0ijFKzrFC4qHqoWVIqA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/829/1*W5A4aygo13PktdvG75ZVsg.png" /></figure><p>Great, we have got the answer and visualization, next we will discuss the third question</p><h4>“How many points, assists, steals per game did Kobe get at last period of his career / final phase ( 32–37) ?”</h4><p>I will look at the information from the df_last dataframe to answer this question</p><pre>df_last</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/208/1*Txo8Z2qZ5cC3Rvhxxh441w.png" /></figure><p>Good, we have got data for “How many points, assists, steals per game did Kobe get at last period of his career / final phase ( 32–37)”</p><p>Next, we will visualize the dataframe above</p><pre># Create a figure and subplots<br>plt.figure(figsize=(12, 12))<br><br># Plot 1: Points Scored at Last Period of Career<br>plt.subplot(3, 1, 1)<br>plt.bar(df_last[&#39;age&#39;], df_last[&#39;points&#39;], color=&#39;skyblue&#39;)<br>plt.title(&#39;Points Scored at Last Period of Career / Final Phase&#39;)<br>plt.xlabel(&#39;Ages&#39;)<br>plt.ylabel(&#39;Points&#39;)<br>plt.ylim(5, 30)<br>plt.grid(True)<br><br># Plot 2: Steals Scored at Last Period of Career<br>plt.subplot(3, 1, 2)<br>plt.bar(df_last[&#39;age&#39;], df_last[&#39;steals&#39;], color=&#39;salmon&#39;)<br>plt.title(&#39;Steals Scored at Last Period of Career/ Final Phase&#39;)<br>plt.xlabel(&#39;Ages&#39;)<br>plt.ylabel(&#39;Steals&#39;)<br>plt.ylim(0, 5)<br>plt.grid(True)<br><br># Plot 3: Assists Scored at Last Period of Career<br>plt.subplot(3, 1, 3)<br>plt.bar(df_last[&#39;age&#39;], df_last[&#39;assists&#39;], color=&#39;palegreen&#39;)<br>plt.title(&#39;Steals Scored at Last Period of Career/ Final Phase&#39;)<br>plt.xlabel(&#39;Ages&#39;)<br>plt.ylabel(&#39;Assists&#39;)<br>plt.ylim(0, 7)<br>plt.grid(True)<br><br># Adjust layout<br>plt.tight_layout()<br><br># Show plot<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*CJtHqs78RSompmeE0jmTfA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/1*soFbtoRGQulkVVmtkkuEpg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*b6u6ez-fZz0QY4495Dcozg.png" /></figure><p>Great, we have got the answer and visualization, next we will try to create complete visualization of Kobe Bryant Legacy</p><p>I will calculate the average of points, assists and steals from each phase</p><pre>youth_points = df_youth[&#39;points&#39;].mean()<br>youth_assists = df_youth[&#39;assists&#39;].mean()<br>youth_steals = df_youth[&#39;steals&#39;].mean()<br>peak_points = df_peak[&#39;points&#39;].mean()<br>peak_assists = df_peak[&#39;assists&#39;].mean()<br>peak_steals = df_peak[&#39;steals&#39;].mean()<br>last_points = df_last[&#39;points&#39;].mean()<br>last_assists = df_last[&#39;assists&#39;].mean()<br>last_steals = df_last[&#39;steals&#39;].mean()</pre><p>And, abracadabra, visualize the dataframe above</p><pre># Data to be plotted<br>categories = [&#39;Development Phase&#39;, &#39;Top Phase&#39;, &#39;Final Phase&#39;]<br>points_means = [youth_points, peak_points, last_points]<br>assists_means = [youth_assists, peak_assists, last_assists]<br>steals_means = [youth_steals, peak_steals, last_steals]<br><br># Set position for each category<br>x = np.arange(len(categories))<br>width = 0.25  # Lebar setiap bar<br><br># Create a bar plot<br>plt.bar(x - width, points_means, width, color=&#39;skyblue&#39;, alpha=0.5, label=&#39;Points&#39;)<br>plt.bar(x, assists_means, width, color=&#39;palegreen&#39;, alpha=0.5, label=&#39;Assists&#39;)<br>plt.bar(x + width, steals_means, width, color=&#39;salmon&#39;, alpha=0.5, label=&#39;Steals&#39;)<br><br># Add labels and titles<br>plt.xlabel(&#39;Career Period&#39;)<br>plt.ylabel(&#39;Count Per Game&#39;)<br>plt.title(&#39;Points, Assists, and Steals per game for Kobe Bryant Legacy&#39;)<br>plt.xticks(x, categories)  # Menambahkan label sumbu x<br>plt.legend()<br><br># Displays the plot<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/526/1*d5bF5NgaoweDeLf1GI8W-Q.png" /></figure><p>Perfect, we have got a visualization of the points, assists, steals per game of the Kobe Bryant legacy. Let’s go to the final objectives !</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/801/0*zVzuKp3s-S0ZaOSX" /></figure><h4>“ Is there any correlation between age with points, assists and steals per game ? “</h4><p>In more detail, to see the interpretation of the correlation between two variables, below are the criteria for the correlation calculation results<br> <br>0 : There is no correlation between two variables<br>&gt; 0 — 0.25 : Very weak correlation<br>&gt; 0.25–0.5 : Sufficient correlation<br>&gt; 0.5–0.75 : Strong correlation<br>&gt; 0.75–0.99 : Very strong correlation<br>1 : Perfect positive correlation<br>-1 : Perfect negative correlation</p><p>(Sarwono: 2006)</p><p>Let’s create a visualization of the regression plot and calculate the correlation value</p><pre># Data to be plotted<br>sns.regplot(x=&#39;age&#39;, y=&#39;points&#39;, data=df)<br># Set x-axis formatter to display integers<br>plt.gca().xaxis.set_major_formatter(ticker.FormatStrFormatter(&#39;%d&#39;))<br><br># Set y-axis formatter to display integers<br>plt.gca().yaxis.set_major_formatter(ticker.FormatStrFormatter(&#39;%d&#39;))<br><br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/510/1*WktcYG40u6isMZj_N-T7ZA.png" /></figure><pre># Calculates the correlation between the variables &#39;ages&#39; and &#39;points&#39;<br>AgecorrPoints = df[&#39;age&#39;].corr(df[&#39;points&#39;])<br>AgecorrPoints</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/171/1*hg3-frZK2Pr2iCviGFWXyA.png" /></figure><p>From the data above, the correlation value is 0.1803</p><p>It can be concluded that there is no correlation between age and points.</p><p>Let’s move to another variable</p><pre># Data to be plotted<br>sns.regplot(x=&#39;age&#39;, y=&#39;steals&#39;, data=df)<br># Set x-axis formatter to display integers<br>plt.gca().xaxis.set_major_formatter(ticker.FormatStrFormatter(&#39;%d&#39;))<br><br># Set y-axis formatter to display integers<br>plt.gca().yaxis.set_major_formatter(ticker.FormatStrFormatter(&#39;%d&#39;))<br>plt.tight_layout()<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/454/1*6ar1Ah_EhoN5IeVwNb1VDg.png" /></figure><pre># Calculates the correlation between the variables &#39;ages&#39; and &#39;steals&#39;<br>AgecorrSteals = df[&#39;age&#39;].corr(df[&#39;steals&#39;])<br>AgecorrSteals</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/213/1*scnBgxAidfKLTVfEKze3xA.png" /></figure><p>From the data above,the correlation value is -0.3224</p><p>It can be concluded that there is very weak correlation between ages and steals</p><p>Let’s finish this with last visualization and calculation</p><pre># Data to be plotted<br>sns.regplot(x=&#39;age&#39;, y=&#39;assists&#39;, data=df)<br># Set x-axis formatter to display integers<br>plt.gca().xaxis.set_major_formatter(ticker.FormatStrFormatter(&#39;%d&#39;))<br><br># Set y-axis formatter to display integers<br>plt.gca().yaxis.set_major_formatter(ticker.FormatStrFormatter(&#39;%d&#39;))<br><br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/435/1*01NbEX9ZhWCloRiLW3k5Ng.png" /></figure><pre># Calculates the correlation between the variables &#39;ages&#39; and &#39;assists&#39;<br>AgecorrAssists = df[&#39;age&#39;].corr(df[&#39;assists&#39;])<br>AgecorrAssists</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/190/1*ngi5XLhCnwpH7cxHQbIAHw.png" /></figure><p>From the data above,the correlation value is 0.4639</p><p>It can be concluded that there is Sufficient positive correlation between ages and steals</p><p>Perfect, all objectives have been completed, and it’s time for the closing session.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CUl3FDSSq2TUfvve.jpg" /></figure><h4>Conclusion and Closing Statement</h4><p>My analysis of Kobe Bryant’s Analysis, Legend of the Black Mamba is complete. <br>In conclusion there is no correlation between age and the number of points scored,there is a weak positive correlation between age and the number of steals scored, and there is sufficient positive correlation between age and the number of assists scored.</p><p>Thank you to Mr. Risman as my mentor and colleagues in the RWID Data Analytics discord, especially Mr. Hakki, Mr. Bintang, Mr. Joseph, and Ms. Cacha who have helped me to complete this article.</p><p>Thank you for reading this article and see you in the next article</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1l23FGFpg1C_6UJg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=53627fe44604" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>