<?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 Kanyinsola Diyan on Medium]]></title>
        <description><![CDATA[Stories by Kanyinsola Diyan on Medium]]></description>
        <link>https://medium.com/@diyankanyinsola?source=rss-e346580bf73b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*DHlENJbuuw_Zl4H2HO62Rw.jpeg</url>
            <title>Stories by Kanyinsola Diyan on Medium</title>
            <link>https://medium.com/@diyankanyinsola?source=rss-e346580bf73b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 23:26:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@diyankanyinsola/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[A Pandemic Tracking App with Python]]></title>
            <link>https://medium.com/@diyankanyinsola/a-pandemic-tracking-app-with-python-b928b303c480?source=rss-e346580bf73b------2</link>
            <guid isPermaLink="false">https://medium.com/p/b928b303c480</guid>
            <dc:creator><![CDATA[Kanyinsola Diyan]]></dc:creator>
            <pubDate>Sat, 13 Jan 2024 08:27:21 GMT</pubDate>
            <atom:updated>2024-01-13T08:27:21.514Z</atom:updated>
            <content:encoded><![CDATA[<p>The Global Pandemic (COVID-19) Tracking App is an informative app on the updates of COVID-19 in countries around the world.</p><p>The app is user-friendly, welcomes the user, and prompts the user to provide the name of the country they want to get updates on. The output is in a text file showing the details of the country (its continent, population, capital, UN-membership status, area value) and the details on the severity of the pandemic in the same country (the total cases, deaths, recovered, active cases)</p><p>My contribution to this project was creating a friendly welcome message for the user, building the function for the output in a text file and defining the function for exiting the app.</p><p>I enjoyed every bit of this application and much more the contributions of my teammates (who are women techsters fellows ‘24) throughout the building process. I also got to know how to contribute to projects on GitHub better.</p><p>You can check the repository here: <a href="https://github.com/Dhictha/Group3_GlobalPandemicTracker-COVID-19">https://github.com/Dhictha/Group3_GlobalPandemicTracker-COVID-19</a></p><p>Cheers to doing much more!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b928b303c480" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Analyzing a Movie Dataset with Python.]]></title>
            <link>https://medium.com/@diyankanyinsola/analyzing-a-movie-dataset-with-python-68652d8224cf?source=rss-e346580bf73b------2</link>
            <guid isPermaLink="false">https://medium.com/p/68652d8224cf</guid>
            <dc:creator><![CDATA[Kanyinsola Diyan]]></dc:creator>
            <pubDate>Tue, 09 Aug 2022 07:01:40 GMT</pubDate>
            <atom:updated>2022-08-09T07:01:40.543Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong><em>Introduction</em></strong></h3><p>This movie dataset was gotten from Kaggle and it contains information about 10, 000 movies collected from The Movie Database (TMDb), including user ratings and revenue. Python is the major tool I will use for cleaning and wrangling this dataset. The exploratory data analysis will be done using matplotlib on Python as well. Let’s dive into this!</p><p>Task: What is the most popular genre? What kinds of properties are associated with movies with high revenue?</p><p>Import the dataset using pandas into a dataframe.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fanejD16Ftvve4B9lXYnMA.png" /></figure><p><strong>Data Wrangling</strong></p><p>The dataset contains null values, missing values, duplicates, and wrong data types. These will be dealt with in the course of ensuring that our messy data is clean and ready for exploration.</p><ol><li>Drop columns with too many missing rows of data.</li><li>Drop rows with NaN values.</li><li>Check for duplicates and remove duplicates.</li><li>Ensure that each column has the right data types.</li></ol><p>After all these, I realized that there were columns with zero values that are not recognized as null values. Hence, I need to replace the zero values with the mean of the column. I decided to create a function that will do this to every column I call to avoid repetitive code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*DIoPX6gkLxoVaxaI3deP5Q.png" /></figure><p>The genres column seems a bit messy. The rows in this column contain multiple types of genres combined by this delimiter ‘|’. The string needs to be split into their single genres by removing the delimiter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B8Qg_y_d3wOHaRq_cL8cBA.png" /></figure><p>You will see the difference between the genres column and the new_genre column. The latter is cleaner than the former.</p><p><strong>Data Visualization</strong></p><p>To answer the question of the most popular genre:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5KAvp6KuUsXf_2w2U3j2dA.png" /></figure><p>The visual gives a pictorial representation of the average popularity of the genres. We can infer that the top three genres in terms of average popularity are Adventure, Science Fiction, and Fantasy.</p><p>The second question will be answered in my next post. I hope this article has been helpful. Let me know what you think. I will like to get feedback from you.</p><p>You can download the dataset at <a href="https://www.kaggle.com/tmdb/tmdb-movie-metadata">https://www.kaggle.com/tmdb/tmdb-movie-metadata</a>.</p><p>You can check out my work on GitHub at <a href="https://github.com/mamakay2212/Movie-Dataset">mamakay2212/Movie-Dataset: Analyzing a movie dataset with Python. (github.com)</a></p><p>You can also connect with you on LinkedIn at <a href="http://www.linkedin.com/in/kanyinsola-diyan">www.linkedin.com/in/kanyinsola-diyan</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68652d8224cf" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>