<?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 Linggar Pratama on Medium]]></title>
        <description><![CDATA[Stories by Linggar Pratama on Medium]]></description>
        <link>https://medium.com/@linggarp49?source=rss-14022b6cf239------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*PHWJJaHDhfTG_UJA.</url>
            <title>Stories by Linggar Pratama on Medium</title>
            <link>https://medium.com/@linggarp49?source=rss-14022b6cf239------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 05:47:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@linggarp49/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[Cinema Hall Ticket Sales Analyst Using SQL]]></title>
            <link>https://medium.com/linggar/cinema-hall-ticket-sales-analyst-using-sql-65dd6e7b7549?source=rss-14022b6cf239------2</link>
            <guid isPermaLink="false">https://medium.com/p/65dd6e7b7549</guid>
            <category><![CDATA[looker-studio]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Linggar Pratama]]></dc:creator>
            <pubDate>Tue, 11 Mar 2025 18:06:43 GMT</pubDate>
            <atom:updated>2025-03-11T18:25:24.031Z</atom:updated>
            <content:encoded><![CDATA[<p>This project involves recording cinema hall sales data from 1,440 users, considering various factors that influence ticket sales. The objective of this analysis is to evaluate the impact of different variables, such as age, seat type, movie category, and other factors, on overall ticket sales.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KwJpwMiPUvTCsMi0" /><figcaption>Photo by <a href="https://unsplash.com/@kilyan_s?utm_source=medium&amp;utm_medium=referral">Kilyan Sockalingum</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3><strong>Variables</strong></h3><p>Ticket_ID : Identity and code for each ticket purchase.</p><p>Age : Grouping ages into three main categories.</p><ul><li>Young Adults : 18 -35 Years Old</li><li>Middle Aged : 36 – 55 Years Old</li><li>Seniors : 56 – 60 Years Old</li></ul><p>Ticket_Price : Ticket purchase price.</p><p>Movie_Genre : Types of movies available in the cinema.</p><ul><li>Horror</li><li>Action</li><li>Comedy</li><li>Drama</li><li>Sci-Fi</li></ul><p>Seat_Type : Types of seat in the cinema.</p><ul><li>VIP</li><li>Premium</li><li>Standart</li></ul><p>Number_of_Person : Number of viewers per ticket purchase.</p><p>Purchase_Again : User’s repeat purchase at the cinema.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*io0AtrRARF3BquAc" /><figcaption>Photo by <a href="https://unsplash.com/@tinkerman?utm_source=medium&amp;utm_medium=referral">Immo Wegmann</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Objective</h3><ul><li>Identify movie genre preferences based on age groups.</li><li>Assess the correlation between seat type purchased and customer satisfaction (measured by repeat purchases).</li><li>Determine customer satisfaction levels based on the chosen movie genre.</li><li>Understand the most profitable customer segments based on age, seat type, and movie genre.</li></ul><h3>Analyst</h3><ol><li>Identify movie genre preferences based on age groups.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UbPw_c8oVWWRDneUggIfUA.png" /></figure><p>The action genre dominates two age groups, <strong>seniors</strong> and <strong>young adults</strong>, with <strong>43 tickets</strong> sold for seniors and <strong>138 tickets</strong> sold for young adults. These sales are higher compared to other genres. Meanwhile, the horror genre is more popular among the <strong>middle-age</strong> group, with a total of <strong>145 tickets</strong> sold, making it the best-selling genre in that segment.</p><p>2. Assess the correlation between seat type purchased and customer satisfaction (measured by repeat purchases).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KvBRxTcrU1UqQ-gJRPTYrw.png" /></figure><p>The chosen seat type correlates with the rate of repeat purchases. Customers who choose <strong>VIP and Premium seats tend to return less frequently</strong>, while those with <strong>Standard seats are more likely to make repeat purchases</strong>. This insight can be used to develop pricing strategies, enhance facilities, or create loyalty programs to encourage VIP and Premium customers to return to the cinema more often.</p><p>3. Determine customer satisfaction levels based on the chosen movie genre.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CahJTZo7KGJqxPrrWt9IcQ.png" /></figure><p>Based on the analysis, <strong>Drama and Horror</strong> are the genres with the <strong>highest customer satisfaction</strong>, with satisfaction rates of <strong>54.04%</strong> and <strong>51.84%</strong>, respectively. This suggests that viewers find these genres more engaging and enjoyable. On the other hand, <strong>Comedy and Sci-F</strong>i have the <strong>lowest satisfaction rates</strong>, at <strong>44.6%</strong> and <strong>45.35%</strong>, which may indicate issues with storytelling, visual effects, or overall viewer engagement.</p><p>Despite having the highest number of viewers, Action films do not rank as highly in customer satisfaction, suggesting that while they attract audiences, they may not always meet expectations. Meanwhile, Comedy and Sci-Fi struggle with both lower viewership and satisfaction, highlighting a need for improvement in these genres. This correlation between audience numbers and satisfaction levels provides valuable insights into customer preferences and expectations.</p><p>To improve the overall movie-watching experience, theaters should focus on enhancing the quality of low-satisfaction genres by evaluating key factors affecting viewer enjoyment. Additionally, increasing promotions and screenings for high-satisfaction genres like Drama and Horror could maximize customer engagement. Conducting surveys and collecting audience feedback will further help in refining strategies to match customer expectations and boost satisfaction levels.</p><p>4. Understand the most profitable customer segments based on age, seat type, and movie genre.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jzl3ggCRQO81VkfJVbun7A.png" /></figure><p>Based on the analysis, <strong>Middle-aged and young adult customers</strong> generate the highest revenue, making them the most profitable customer segments. <strong>VIP and Premium seats contribute significantly</strong> to total revenue, indicating that customers are willing to pay more for a better seating experience. In terms of film genres, <strong>Horror and Action perform the best</strong>, suggesting strong audience demand, while <strong>Sci-Fi has the lowest revenue</strong>, which may require a review of scheduling or marketing strategies.</p><p>To maximize revenue, <strong>targeted promotions for middle-aged and young adult customers</strong> should be implemented to encourage repeat visits. Enhancing <strong>VIP and Premium seat benefits</strong> can further boost sales, making premium tickets feel more valuable. <strong>Focusing marketing efforts on Horror and Action films</strong> and offering <strong>bundled packages (e.g., VIP seats + Horror films discounts)</strong> can drive higher spending per visit. By applying these strategies, cinemas can <strong>increase revenue while enhancing customer satisfaction</strong>. 🚀</p><h3>Appendix</h3><p>Access data set : <a href="https://docs.google.com/spreadsheets/d/1Fa3aDjzcHwvTGMgE8un4tWbjxyQXSiEwVd4Osr3Os4o/edit?usp=sharing">Click Here</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=65dd6e7b7549" width="1" height="1" alt=""><hr><p><a href="https://medium.com/linggar/cinema-hall-ticket-sales-analyst-using-sql-65dd6e7b7549">Cinema Hall Ticket Sales Analyst Using SQL</a> was originally published in <a href="https://medium.com/linggar">Linggar</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Analysis Portfolio #2: Analysis using Python]]></title>
            <link>https://medium.com/@linggarp49/data-analysis-portfolio-2-analysis-using-python-174b4d978e6a?source=rss-14022b6cf239------2</link>
            <guid isPermaLink="false">https://medium.com/p/174b4d978e6a</guid>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Linggar Pratama]]></dc:creator>
            <pubDate>Thu, 06 Mar 2025 11:09:43 GMT</pubDate>
            <atom:updated>2025-03-06T11:09:43.404Z</atom:updated>
            <content:encoded><![CDATA[<h3>Data Analysis Portfolio : Analysis using Python</h3><p>Python is a popular programming language for data analysis because it’s easy to learn and has many libraries like Pandas, NumPy, and Matplotlib that help with data processing and visualization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kZ9vOED_E8fHxCmJ" /><figcaption>Photo by <a href="https://unsplash.com/@6heinz3r?utm_source=medium&amp;utm_medium=referral">Gabriel Heinzer</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3><strong>How Does Python help data analysis</strong></h3><p>These are a few use cases that you can perform in Python:</p><ol><li>Analyzing numerical data with NumPy,</li><li>Tabular data with Pandas,</li><li>Data visualization with Matplotlib,</li><li>Exploratory data analysis.</li></ol><h3>Is there any example of Python in data analysis?</h3><p>Definitely! I will be showing you my second exercise during bootcamp in MySkill using a dataset in Google Colab.</p><h4>Context</h4><p>In this exercise, I utilize a dataset from e-commerce platform Tokopedia (Note: This is not real data). This article explains four datasets: order_id, sku_detail, Payment_detail, and customer_detail. These four datasets provide valuable insights into customer behavior, such as: preferred payment methods, most in-demand product categories, and purchasing patterns. This data can also be used to analyze when the company started to grow based on customer registration and transaction data.</p><h4>Data structure</h4><p>The following are the columns of the dataset and what it is about.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OFzlwjO7SevtUkaxVkjHZA.png" /></figure><h4>Problem</h4><p>The Marketing team requires data on the <strong>TOP 5 Products from the Mobiles &amp; Tablets category</strong> with the highest sales (valid = 1) throughout 2022 to determine the Year-End Festival prizes. Please submit the data before the end of the month.</p><p><strong>Answer:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CykUqTu24dKyTN-giJBb4A.png" /></figure><p><strong>Step 1: Filter Data</strong></p><p>df[ (df[‘order_date’].dt.year == 2022) &amp; (df[‘category’] == ‘Mobiles &amp; Tablets’) &amp; (df[‘is_valid’] == 1) ]</p><p>This code filters data from the dataframe df based on the following conditions:</p><ul><li>order_date must be in the year 2022</li><li>category must be ‘Mobiles &amp; Tablets’</li><li>is_valid must be 1Hasil filter ini disimpan dalam variabel data_filter.</li></ul><p><strong>Step 2 : Group By and Sum</strong></p><p>.groupby(‘sku_name’)[‘qty_ordered’].sum()</p><p>This code groups the filtered data by the sku_name column and sums the qty_ordered values for each group.</p><p><strong>Step 3 : Reset Index</strong></p><p>.reset_index()</p><p>This code resets the index generated by the groupby operation to become a regular column.</p><p><strong>Step 4 : Sort Values</strong></p><p>.sort_values(by=’qty_ordered’, ascending=False)</p><p>This code sorts the data by the qty_ordered values in descending order (from highest to lowest).</p><p><strong>Step 5: Head</strong></p><p>.head(5)</p><p>This code takes only the top 5 rows of the sorted data, representing the top 5 best-selling products.</p><p><strong>Step 6 : Print_Result</strong></p><p>print(‘Top 5 products by Mobile &amp; Tablets Category in 2022’)</p><p>print(best_products)</p><p>This code prints the title and the result of the top 5 best-selling products to the console.</p><p>Therefore, this code will display the top 5 best-selling products from the Mobiles &amp; Tablets category in 2022, based on the qty_ordered values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RwTmn6-Zj8oQesiKoM4Nyw.png" /></figure><p>Based on our analysis, we identified the top 5 products that have the potential to be attractive prizes at the year-end festival. However, we also discovered a significant outlier, namely one product that had a much higher sales rate compared to the other four products. To understand the reason behind this, I conducted further analysis on the outlier.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cjuw8XvDFMHaJaTpReoF3A.png" /></figure><p><strong>Step 7: GroupBy and Sum</strong></p><p>sku_sales = filtered_df.groupby([‘sku_name’,’order_date’,’customer_id’])[‘qty_ordered’].sum().reset_index()</p><p>This code groups the filtered data by the columns sku_name, order_date, and customer_id, and then sums the qty_ordered values for each group.</p><p><strong>Step 8: Sort and Head</strong></p><p>sku_sales = sku_sales.sort_values(by=[‘qty_ordered’], ascending=False).head(10)</p><p>print(“Total qty_ordered base on sku_name during 2022:”)</p><p>print(sku_sales)</p><p>Code sorts the data by the qty_ordered values in descending order (from highest to lowest), and then takes only the top 10 rows.</p><p>Code prints the title and the result of the top 10 products with the highest qty_ordered values based on sku_name during the year 2022.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aCiIkiRxwrgcyFCK1eLwew.png" /></figure><p>Based on the in-depth analysis, it was found that the product was only purchased by one individual in a very large quantity, specifically 1000 units. Therefore, we recommend that the marketing team reconsider this product before including it as one of the prizes.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=174b4d978e6a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Apa Itu Binar?]]></title>
            <link>https://medium.com/binar-academy/apa-itu-binar-8406c1b2c376?source=rss-14022b6cf239------2</link>
            <guid isPermaLink="false">https://medium.com/p/8406c1b2c376</guid>
            <category><![CDATA[binar-academy]]></category>
            <category><![CDATA[binarian-stor]]></category>
            <dc:creator><![CDATA[Linggar Pratama]]></dc:creator>
            <pubDate>Wed, 28 Nov 2018 17:16:46 GMT</pubDate>
            <atom:updated>2018-12-21T15:06:56.416Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*EIrdIciQjSDvsYW_" /></figure><p>Apakah kalian tahu Binar Academy?</p><p>Jika tidak, berarti kita sama. Saya juga awalnya tidak tahu apa itu Binar Academy, sampai suatu ketika saya masuk ke sebuah grup dan menanyakan sebuah tempat atau course yang dapat mengajarakan saya mengenai frontend engineering. Lalu salah satu dari anggota dari grup itu menyarankan saya untuk mencoba mendaftar di Binar Academy.</p><p>Awalnya saya sempat ragu dengan nama Binar Academy karena namanya yang bagiku kurang populer (tidak seperti neut… atau G) dan memiliki test yang digunakan dalam penerimaan calon siswanya. Namun setelah saya cari tahu lagi, saya menjadi lebih yakin dan berminat apalagi dengan penawaran 100% beasiswa, yah dalam bahasa lain artinya GRATIS.</p><p>Siapa yang tidak mau coba dapat belajar mengenai hal baru dan tidak mengelurakan biaya sama sekali? Selain itu kamu tidak hanya diajarkan teori di dalam kelas, tapi juga ditugasi untuk membuat sebuah produk jadi yang akan dipresentasikan di akhir masa belajar di Binar Academy.</p><p>Selain hal yang saya sebutkan di atas, kamu juga akan mendapatkan banyak link baru di bidang IT baik dari sesama binarian (sebutan untuk siswa Binar) maupun dari mitra yang bekerja sama dengan Binar sendiri. Tentu itu akan sangat membantu kita di masa yang akan datang ketika kita ingin mencari kerja.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8406c1b2c376" width="1" height="1" alt=""><hr><p><a href="https://medium.com/binar-academy/apa-itu-binar-8406c1b2c376">Apa Itu Binar?</a> was originally published in <a href="https://medium.com/binar-academy">Binar Academy</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>