<?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 Okafor Angela on Medium]]></title>
        <description><![CDATA[Stories by Okafor Angela on Medium]]></description>
        <link>https://medium.com/@angelaokafor5?source=rss-eb611054c96f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*b-8RPDlUsTCquvTw.jpg</url>
            <title>Stories by Okafor Angela on Medium</title>
            <link>https://medium.com/@angelaokafor5?source=rss-eb611054c96f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 08:12:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@angelaokafor5/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[THE IMPORTANCE AND HOW-TO OF CLEANING DATA FOR DATA ANALYSIS]]></title>
            <link>https://medium.com/@angelaokafor5/the-importance-and-how-to-of-cleaning-data-for-data-analysis-db71545d5d16?source=rss-eb611054c96f------2</link>
            <guid isPermaLink="false">https://medium.com/p/db71545d5d16</guid>
            <dc:creator><![CDATA[Okafor Angela]]></dc:creator>
            <pubDate>Mon, 18 Dec 2023 22:00:13 GMT</pubDate>
            <atom:updated>2023-12-18T22:00:13.402Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>What is Data Cleaning?</strong></p><p>Data cleaning is the process of fixing or removing incorrect, corrupted, or incomplete data within a dataset. It is important to clean data thoroughly to avoid problems when analyzing the data. Data becomes much easy to analyze and more usable after cleaning. Data cleaning should be done according to what you want to use the dataset for. You may choose to delete columns that are totally useless for the project you want to do but make sure you have a backup of the original data file.</p><p>In this write-up, I will be highlighting the inconsistencies I discovered from three different datasets. They are as follows:</p><p>· White spaces before, between and after texts</p><p>· Duplicate values</p><p>· Blank cells</p><p>· Inconsistent font case</p><p>· Unwanted column</p><p>· Spelling errors</p><p>· Inconsistent date formats</p><p>I was able to fix these inconsistencies with the following techniques:</p><p>· Fixing white spaces</p><p>Create a new column in front of the one that contains white spaces, type the equal sign followed by the TRIM function, open bracket, click on the cell that contains the white space(s), close bracket, hit ENTER key. Double click the auto-fill handle to effect the changes to other cells in that column. E.g. =TRIM(B2)</p><p>· Removing Duplicate values</p><p>Highlight the entire table, Go to Data tab, Under Data Tools Group, select Remove Duplicate icon.</p><p>· Identifying Blank Cells and filling them.</p><p>Highlight the entire table, Go to Home tab, Under Editing Group click on Find and Select Icon, From the drop-down menu select Go To Special. In the dialogue box, select blank and click okay. Type in what you want to use to fill the blank cells and press CTRL + ENTER to fill all the blank cells automatically.</p><p>· Fixing Inconsistent Font Case</p><p>Depending on choice, we can use the UPPER, LOWER or PROPER function to standardize our font case. To achieve PROPER case (Each word starts with capital letter), create a new column in front of the column with inconsistent case, type in the equal sign, PROPER, open bracket, click on the cell containing the wrong case, close bracket, hit ENTER key. E.g. =PROPER(E3)</p><p>· Unwanted or useless columns can be deleted by right-clicking on the column reference and selecting Delete.</p><p>· Inconsistent Date formats: Highlight the column containing various data formats, On the Home tab, Go to the Number Group and click on the little arrow beside General, select your choice of date from the drop-down menu.</p><p>· Splitting First Name from Surname using the Text-to-Column feature.</p><p>Create a new column in front of the one you want to split, highlight the column with multiple values, click on Data tab, on the Data Tools group click on Text to Columns icon.</p><p>It is important to note that some formatting techniques are better than others. For example, the Flash Fill feature can perform the same function as the Text to Columns feature but the Text-to-Columns feature is better because it is automated, while Flash fill is Manual. The implication of using Flash Fill is that when values are updated, it will not reflect in the areas where is was used to clean data, but Text-to-Column would update because it is automatic.</p><p>Proper data cleaning is essential to having a quality dataset with integrity which in turn ensures a great and well informed analysis.</p><p>Thank you for reading. Please to not hesitate to comment on my work.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qXvkpL-AlOnD0ZsIAWRE_g.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hDy3nBbtUsrXOrl_70d6RQ.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db71545d5d16" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>