<?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 Reon Kurian on Medium]]></title>
        <description><![CDATA[Stories by Reon Kurian on Medium]]></description>
        <link>https://medium.com/@reonkurian?source=rss-d6857caa44c2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Nm9orBnfhCvDZWMt0HPfuw.jpeg</url>
            <title>Stories by Reon Kurian on Medium</title>
            <link>https://medium.com/@reonkurian?source=rss-d6857caa44c2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 08:10:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@reonkurian/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[Exploring Google Playstore dataset]]></title>
            <link>https://medium.com/analytics-vidhya/exploring-google-playstore-dataset-f0cdcd240294?source=rss-d6857caa44c2------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0cdcd240294</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[exploratory-data-analysis]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[Reon Kurian]]></dc:creator>
            <pubDate>Wed, 27 Jan 2021 09:20:49 GMT</pubDate>
            <atom:updated>2021-01-28T16:22:59.563Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rukpbdcPhayzqpPdnR32ig.png" /></figure><p>In this section, we are going to play with data we cleaned in the last section to derive some insightful information.</p><blockquote>Exploratory Data Analysis is the critical process of performing initial investigations on data so as to discover patterns,to spot anomalies,to test hypothesis and to check assumptions with the help of summary statistics and graphical representations.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RREy4ROuyGNArefiGZy2kg.png" /><figcaption>Data head</figcaption></figure><p>Let’s see which categories have higher number of apps</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/552/1*9eM5unQbA2siDx7muHCi4w.png" /><figcaption>Count of apps in each category</figcaption></figure><p>From the graph its evident that Family and Games are the top 2 categories with higher number of apps.</p><p>Now let’s see the trend of ratings of apps on Playstore</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*bIh5bfrh6v9LDq4vei7trA.png" /><figcaption>Histogram of Ratings</figcaption></figure><p>The left skewed histogram shows that the average ratings of apps are around 4.2 - 4.6.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/616/1*hCx2TCKs3p_KXvH01-tsMg.png" /><figcaption>Histogram of Size of apps</figcaption></figure><p>From this histogram we can clearly see that users prefer to use apps that are light-weighted.</p><h3>Outliers</h3><blockquote>In statistics, an outlier is a data point that differs significantly from other observations.</blockquote><h4>Size</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*X1bDG9CVlpHUMfof2dPj3A.png" /><figcaption>Boxplot of Size(mb)</figcaption></figure><p>This boxplot of size of apps shows that most of the apps have size below 75mb. We can also find some outliers above 80 till 100mb.</p><h4>Rating</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*T3x60edmX7iVuyBOUZtVYw.png" /><figcaption>Boxplot of Ratings</figcaption></figure><p>This boxplot shows that most of the ratings ranges from 3.3 – 5, but there are few outliers below 3.3.</p><h4>Installs</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/623/1*V5o0vDtnewC-6Md907-MXw.png" /><figcaption>Boxplot of installs</figcaption></figure><p>Here we can see few outliers at 500million and 1Billion.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/452/1*uN39Tj-ubFChhBZtialG3A.png" /></figure><h3>Free vs Paid</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/439/1*_M2ozNy-nLsb-iHcBEhXoQ.png" /></figure><p>From the above bar graph, we can see that the number of free apps in the Playstore is almost 7 times more than that of paid apps.</p><p>I was curious to know which all apps where the most paid ones,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/188/1*619kVQEWwMutVeZlCBEeww.png" /></figure><p>To be honest, I was not at all surprised, actually, I was expecting that the top paid apps would be “I’m rich” apps.</p><p>Below these useless apps in the top paid list, we can see some medical applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/385/1*BuAGjNFvGkNy8TSleT-LWg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/573/1*-DILbt6AyUeXSixBFHk2LA.png" /></figure><p>From this regplot we can see that the top rated apps are optimally priced between 0 – 40$.</p><p>Now let’s see the top installed apps in the playstore.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/735/1*PaVVfDIlalSS7tnj84FFhg.png" /></figure><p>Here I plotted a pivot table showing the number of installs and the rating of the app.</p><p>Out of curiosity, I wanted to know the top installed games on playstore.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/336/1*06u3jYjXgp_6Ky9dWH0FWA.png" /></figure><p>Now I wanted to know which category had the largest size.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/287/1*SwKwDgcKuH_IIigNJ3PvmA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/298/1*yIQpC08Gx6PLr932DAEEng.png" /></figure><p>As expected gaming apps had a larger average size, we can also see that categories like tools, weather, and productivity apps had the lowest average size.</p><p>Well that is my short analysis of the Google Playstore dataset. If you want to see how these graphs and figures are plotted, just go through my <a href="https://github.com/reonkurian/ds_proj/tree/master">notebook</a>. That should give you a better idea. Feel free to give suggestions or ideas.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0cdcd240294" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/exploring-google-playstore-dataset-f0cdcd240294">Exploring Google Playstore dataset</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cleaning the Google Playstore dataset]]></title>
            <link>https://medium.com/analytics-vidhya/cleaning-the-google-playstore-dataset-235d9754b8d?source=rss-d6857caa44c2------2</link>
            <guid isPermaLink="false">https://medium.com/p/235d9754b8d</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[data-scientist]]></category>
            <category><![CDATA[dataset]]></category>
            <dc:creator><![CDATA[Reon Kurian]]></dc:creator>
            <pubDate>Fri, 15 Jan 2021 18:00:18 GMT</pubDate>
            <atom:updated>2021-01-28T16:27:41.367Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*Ao6Mel0HewClGp8F1FDasg.png" /></figure><p>Data cleaning and preparation is the most critical first step in any AI project. As evidence shows, most data scientists spend most of their time up to <strong>70% </strong>on cleaning data. In this blog post, I’ll guide you through these initial steps of data cleaning and preprocessing in Python.</p><blockquote><em>The datasets are linked at the bottom</em></blockquote><h4>Importing libraries</h4><p>The first step one needs to do is importing the required libraries. There are lots of libraries available, but the most popular and important Python libraries for data cleaning and analysis purposes are Numpy and Pandas.</p><pre><em>import pandas as pd<br>import numpy as np</em></pre><h4>Loading data</h4><p>Once you downloaded your data set and named it as a .csv file, you need to load it into a pandas DataFrame to explore it and perform some basic cleaning tasks removing information you don’t need that will make data processing slower.</p><pre>data = pd.read_csv(&#39;../input/google-play-store-apps/googleplaystore.csv&#39;)</pre><h4>Explore the data and make a checklist</h4><p>Now you have got your data set up, but you still should spend some time exploring it and understanding what feature each column represents. Such a manual review of the data set is important, to avoid mistakes in the data analysis and the modeling process.</p><p>This is the checklist I created after analyzing the Google Playstore data</p><ol><li>Deal with missing values and ‘Varies with device’ data.</li><li>Removing characters from Installs and make it numeric.</li><li>Remove ‘M’(megabyte) from the size and make it numeric.</li><li>Remove ‘k’(kilobyte) from size, make it numeric then divide it by 1000.</li><li>Transform reviews to numeric.</li><li>Remove currency symbol from Price, change it to numeric</li><li>Convert ‘Last Updated’ date to date format</li><li>Round current version number to 1 decimal</li></ol><p>To clean the data set, you need to handle missing values and categorical features, because the mathematics underlying most machine learning models assumes that the data is numerical and contains no missing values. Moreover, the scikit-learn library returns an error if you try to train a model like linear regression and logistic regression using data that contain missing or non-numeric values.</p><h4>Dealing with missing values</h4><p>Missing data is perhaps the most common trait of unclean data. These values usually take the form of NaN or None. There are several causes of missing values: sometimes values are missing because they do not exist, or because of improper collection of data.</p><p>Going through all columns we find that we have 3 columns with NA values[Size, Rating, and Android Version].</p><p>Most applications without rating have very few installs, which could make sense. If you have a low amount of installs, people haven’t reviewed it yet. On the data cleaning process, I saw “Varies with device” was present under “Size”. There were a total of 1695 applications with “Varies with device” which we transformed to NA. So, that explains NA in this column.</p><h4>Removing characters from Installs and make it numeric</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/81/1*tfLtSREdLm1k8nKUIOGOTA.png" /><figcaption>Installs before cleaning</figcaption></figure><ul><li>First we remove ‘+’ symbol from the end using python split method</li></ul><pre>data[&#39;installs_cleaned&#39;]=data[&#39;Installs&#39;].apply(lambda <br>x:x.split(&#39;+&#39;)[0])</pre><ul><li>Then, we can see that every number has ‘ , ‘ in between. We need to remove that inorder to make it numerical. We do that by using lambda function’s replace method.</li></ul><pre>data[&#39;installs_cleaned&#39;]=data[&#39;installs_cleaned&#39;].apply(lambda x:x.replace(&#39;,&#39;,&#39;&#39;)</pre><ul><li>After going through the data I saw a cell with the data ‘Free’. Removing that,</li></ul><pre>data = data.drop(data[data.installs_cleaned == &#39;Free&#39;].index)</pre><ul><li>Finally changing the data type to integer using pandas built in to_numeric method</li></ul><pre>data[&quot;installs_cleaned&quot;] = pd.to_numeric(data[&quot;installs_cleaned&quot;])</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/143/1*FuizSobF-YJBoqZxUZppqg.png" /><figcaption>Installs cleaned(data type = int64)</figcaption></figure><h4>Parsing Size</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/140/1*BGfmaUInfOcD69S-NkVv0g.png" /><figcaption>Size uncleaned</figcaption></figure><ul><li>First we’ll remove the character ‘M’ from the end using lambda function by replacing it with ‘ ‘</li></ul><pre>data[&#39;size_cleaned&#39;]=data[&#39;Size&#39;].apply(lambda x: x.replace(&#39;M&#39;,&#39;&#39;))</pre><ul><li>Then removing the rows having size = varies with device</li></ul><pre>data= data.drop(data[data.size_cleaned ==&#39;Varies with device&#39;].index)</pre><ul><li>For the data’s in kb, first we need to remove ‘k’ then convert to float and then divide it by 1000 to make it in mb format.</li></ul><pre>ending = [&#39;k&#39;]<br>data[&#39;size_kb&#39;]=data[&#39;size_cleaned&#39;].map(lambda x: x[-1:] in ending)<br>data[&#39;size_cleaned&#39;]=data[&#39;size_cleaned&#39;].apply(lambda x: x.replace(&#39;k&#39;,&#39;&#39;))#Removes k<br>data[&#39;size_cleaned&#39;]=pd.to_numeric(data[&#39;size_cleaned&#39;])#Conversion to numeric<br>data[&#39;size_cleaned&#39;]=data.apply(lambda x:x[&#39;size_cleaned&#39;]/1000 if x[&#39;size_kb&#39;]==1 else x.size_cleaned,axis=1)#Dividing by 1000</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/105/1*lZKN5JSsQCQOnKgrTtpe-A.png" /><figcaption>Size cleaned</figcaption></figure><h4>Transform reviews to numeric</h4><pre>data.Reviews=pd.to_numeric(data.Reviews)</pre><h4>Parsing Price</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/87/1*Oh7AIUJ0wrZMkNZwT2cE7A.png" /><figcaption>Price before parsing</figcaption></figure><pre>#Removing &#39;$&#39;<br>data[&#39;Price&#39;] = data[&#39;Price&#39;].apply(lambda x:x.replace(&#39;$&#39;,&#39;&#39;))<br>#Converting to numeric                                                         data[&#39;Price&#39;] = pd.to_numeric(data[&#39;Price&#39;])</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/130/1*Rut6zl-sIc-fuH2smv-BuQ.png" /><figcaption>Parsed price</figcaption></figure><h4>Date formating</h4><p>A specific type of data inconsistency is inconsistent format of dates, such as dd/mm/yy and mm/dd/yy in the same columns. Your date values might not be in the right data type, and this will not allow you effectively perform manipulations and get insight from it. This time you can use the datetime package to fix the type of the date.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/147/1*7NHGzLH46QI1kaTHa_R31g.png" /></figure><pre>data[&#39;Last Updated&#39;] =  pd.to_datetime(data[&#39;Last Updated&#39;])</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/153/1*LuCKPu81N6I5pWear7_qPA.png" /></figure><h4>Removing null values</h4><p>Null values in Rating is removed using isnull().</p><pre>data = data.drop(data[data.Rating.isnull()].index)</pre><h4>Parsing Current Version</h4><ul><li>First we remove the null values in current version</li></ul><pre>data = data.drop(data[data[&#39;Current Ver&#39;].isnull()].index)</pre><ul><li>In the next step we drop the rows with value “Varies with data”</li></ul><pre>data = data.drop(data[data[&#39;Current Ver&#39;]==&#39;Varies with device&#39;].index)</pre><ul><li>In the last step we round the Current Version to 1 decimal.</li></ul><pre>data[&#39;Current Ver&#39;] = data[&#39;Current Ver&#39;].apply(lambda x:str(x).split(&#39;.&#39;,1)[0])</pre><h4>Removing duplicate rows</h4><pre>data.drop_duplicates(keep=False, inplace=True)</pre><h4>Save to CSV</h4><p>To be sure that you still have the raw data, it is a good practice to store the final output of each section or stage of your workflow in a separate csv file. In this way, you’ll be able to make changes in your data processing flow without having to recalculate everything.</p><p>As we did previously, you can store your DataFrame as a .csv using the pandas to_csv() function.</p><pre>data.to_csv(&#39;Playstore_data.csv&#39;)</pre><h4>Conclusion</h4><p>These are the very basic steps required to work through a large data set, cleaning and preparing the data for any Data Science project. There are other forms of data cleaning methods that might be better and efficient for your purpose than my method. Better and cleaner data outperforms the best algorithms. Finally, after a lot of data wrangling, we can start drawing some insights from the data. Time for some exploratory data analysis! :)</p><p>You can find the raw unclean data <a href="https://drive.google.com/file/d/1TXYxU_4afz2jg1AK2_G-s0lp_k3LlG9f/view?usp=sharing">here</a> (Source : Kaggle)</p><p>And the clean data <a href="https://drive.google.com/file/d/1uNegC05RKA77ORdy4Yj_VcRm4euI2mYV/view?usp=sharing">here</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=235d9754b8d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/cleaning-the-google-playstore-dataset-235d9754b8d">Cleaning the Google Playstore dataset</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[STEPPING STONE]]></title>
            <link>https://reonkurian.medium.com/stepping-stone-44bb4d12d7c3?source=rss-d6857caa44c2------2</link>
            <guid isPermaLink="false">https://medium.com/p/44bb4d12d7c3</guid>
            <dc:creator><![CDATA[Reon Kurian]]></dc:creator>
            <pubDate>Sun, 04 Feb 2018 11:13:58 GMT</pubDate>
            <atom:updated>2018-02-05T04:07:17.024Z</atom:updated>
            <content:encoded><![CDATA[<p>I came to know that our college (GEC THRISSUR)was one among the 14 colleges in Kerala which was selected to start the DSC(Developer students club)an initiative by GOOGLE and i also heard that the club is conducting an Android workshop,I was not that interested about the workshop as i had a previous experience of an Android workshop which did’nt turn out really well.</p><p>A few days after that my friends told me that the workshop was not just about the Android development that Felix Josemon(he is our senior who led the DSC club in our college and was one among the 7 scholars who got the Venkat Panchapakesan scholarship)asked them to meet local businessmen and bring up ideas on how to make use of mobile phones in their daily business, instantly i regretted for not joining the club…as i was interested in this kind of stuffs(like the practical applications).Soon i had a second chance and this time i made sure that i was in.</p><p>The workshop was really better than i expected it to be,Felix also shared his experience visiting Youtube headquarters and how he managed to get the scholarship.After that we had a “Meetup over lime” where we all got the opportunity to know each other, by the end of the day we all had our tasks given to us.I hope that this club will become a stepping stone for my future.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uueZ4yt3aACeRkWlVPSRpQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j7NUCt74Vlx1rXuNku2b0A.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=44bb4d12d7c3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>