<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: David Samuel</title>
    <description>The latest articles on DEV Community by David Samuel (@iblack).</description>
    <link>https://dev.to/iblack</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4077400%2F2992602d-feb6-4619-8c7b-0f6721ef223e.JPG</url>
      <title>DEV Community: David Samuel</title>
      <link>https://dev.to/iblack</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/iblack"/>
    <language>en</language>
    <item>
      <title>Getting Started with Excel for Data Analytics: From Basics to Data Cleaning</title>
      <dc:creator>David Samuel</dc:creator>
      <pubDate>Tue, 01 Sep 2026 05:41:31 +0000</pubDate>
      <link>https://dev.to/iblack/getting-started-with-excel-for-data-analytics-from-basics-to-data-cleaning-58l0</link>
      <guid>https://dev.to/iblack/getting-started-with-excel-for-data-analytics-from-basics-to-data-cleaning-58l0</guid>
      <description>&lt;h1&gt;
  
  
  Introduction
&lt;/h1&gt;

&lt;p&gt;Excel is a spreadsheet program that enables crunching of numbers. The powerful software not allows one to organize data but also facilitates cleaning, formatting and analysis through application of a myriad of formulas and functions. Akin to other Microsoft software packages, Excel’s interface is relatively easy to navigate, even for a beginner. The interface majorly comprises a program frame, menu tabs, a ribbon, a formula bar, a workspace, sheet tabs, and a status bar as shown in the figure below:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0vhtsb3amnfov9bu3xo6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0vhtsb3amnfov9bu3xo6.png" alt="Excel Interface" width="799" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The workspace is made up cells, where each cell denotes a small rectangular box formed when a vertical column intersects with a horizontal row. The cells serve as data storage units where typing and editing of numbers, texts, formulas, and dates can be done. Each cell gets a unique name derived from a combination of its column letter and row number. For instance, cell A1 denotes the small box formed where column A meets row 1. Notably, a cell can hold diverse data forms such as numeric values, text labels, Boolean values, or formulas. It is also possible to format the appearance of a cell and its contents by adjusting elements such as size, number formats, fonts, and borders. A single spreadsheet consisting of columns and rows is called a worksheet. Usually, worksheets are located at the bottom at the Excel window. The complete Excel file that one creates, saves, and shares is referred to as a workbook. Markedly, a workbook can hold a single or multiple worksheets.&lt;/p&gt;

&lt;h1&gt;
  
  
  Data Cleaning
&lt;/h1&gt;

&lt;p&gt;It is common for data entered into an Excel spreadsheet to be inaccurate, duplicated, incomplete, or inconsistent. Such data is generally referred to as dirty data. Dirty data arises from factors such as human error and poor collection processes. To render the data reliable for business analysis, there is a need to find and fix errors, inconsistencies, and duplicates. This process is referred to as data cleaning.&lt;/p&gt;

&lt;h2&gt;
  
  
  Steps in Data Cleaning
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Removal of Duplicates&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;It is common for duplicates to occur in an Excel worksheet. Such occurrences can lead to erroneous analysis and inaccurate findings. As such, removal of duplicates is a key step in data cleaning. Removing duplicates is simple and entails selecting the entire data range, navigating to the data tab, and clicking remove duplicates as shown in the figure below:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdr9cu8z2s8smghqwtg6v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdr9cu8z2s8smghqwtg6v.png" alt="Removing Duplicates" width="678" height="423"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Fixing Typos&lt;/em&gt; &lt;/p&gt;

&lt;p&gt;Typos can result from misspellings, inclusion or exclusion of unwanted characters, presence of extra spaces in text, and a mix-up of upper- and lower-case characters in texts. Misspellings are corrected using the “Find and Replace” function. Here, one locates misspelt texts in each column and replaces it with the correct one. In a dataset where the word "finance" has been misspelt as "finanace", for example, the error can be fixed by relacing the erroneously spelt word with the correct one as shown in the figure below:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgooo3233mdgus0trs8jn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgooo3233mdgus0trs8jn.png" alt="Find and Replace" width="686" height="298"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;On the other hand, presence of extra spaces in texts is corrected using the &lt;code&gt;TRIM(text)&lt;/code&gt; function. The function works by removing all leading and trailing spaces therefore leaving just a single space between words. In the dataset shown in my example below, the text “Paul” had 2 leading spaces that were corrected using the &lt;code&gt;TRIM(text)&lt;/code&gt; function.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fc6q4dky51u2z8u3v54o0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fc6q4dky51u2z8u3v54o0.png" alt="Trim Function" width="261" height="164"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fj32vu2i1jlosmcfttv0e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fj32vu2i1jlosmcfttv0e.png" alt="Trimmed Text" width="267" height="44"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In an event where upper and lower-case characters are mixed up in texts, the error can be rectified by using &lt;code&gt;UPPER(text)&lt;/code&gt;, &lt;code&gt;LOWER(text)&lt;/code&gt;, and &lt;code&gt;PROPER(text)&lt;/code&gt; functions accordingly. Notably, the &lt;code&gt;UPPER(text)&lt;/code&gt; function converts text to upper case while the &lt;code&gt;LOWER(text)&lt;/code&gt; and &lt;code&gt;PROPER(text)&lt;/code&gt; functions convert text to lower and proper cases respectively. The example below shows use of the &lt;code&gt;PROPER(text)&lt;/code&gt; function to correct "jAMeS" and yield the proper noun "James".&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4wimuxg75v5ogfmix0l8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4wimuxg75v5ogfmix0l8.png" alt="Proper Function" width="348" height="138"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1ud4f02mog7988wcbd5v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1ud4f02mog7988wcbd5v.png" alt="Corrected Text" width="294" height="52"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Creating New Columns&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;When cleaning data, it may be necessary to create new columns crucial for analysing the data. This can be done by either combining texts from different cells or extracting portions of the texts entered in an Excel sheet. Notably, combining texts from different cells applies the &lt;code&gt;CONCAT(text)&lt;/code&gt; function. On the other hand, extracting text from the left, right, and middle is done using the &lt;code&gt;LEFT(text)&lt;/code&gt;, &lt;code&gt;RIGHT(text)&lt;/code&gt;, or &lt;code&gt;MID(text)&lt;/code&gt; functions respectively. &lt;br&gt;
The example below shows how a country code can be extracted from a phone number by applying the &lt;code&gt;LEFT(text)&lt;/code&gt; function. Here, the first 4 characters from the left are extracted.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fr5ygzr6u3sdillhjzgh5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fr5ygzr6u3sdillhjzgh5.png" alt="Left Function" width="322" height="70"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fknroay2r13h1o4tarlnv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fknroay2r13h1o4tarlnv.png" alt="Extracted Text" width="309" height="31"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Fixing Data Formats&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Erroneous data formats in an Excel sheet can be fixed by highlighting the relevant column, navigating to the “Home” menu and then selecting the “Number” tab in the ribbon. From this section one can then select the correct data format or type that best suits their column. For example, currency figures entered as numbers can be changed to currency by selecting the necessary column, navigating to the “Numbers” tab, and selecting “Currency” from the drop-down menu. The same approach can be used to rectify any other erroneously classed data to the correct data type or format.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Handling Outliers and Missing Values&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;An outlier is a figure that lies an abnormal distance from other figures in a dataset. Such data points should be removed or adjusted accordingly, for example by replacing them with the median. Similarly, missing values can be handled by either filling blank cells or removing entire incomplete rows. Where filling is the most preferred approach, the missing values are filled using either the mean, mode, or median. Because a dataset may contain outliers which affect the mean significantly but have little to no effect on mode and median, the mode and the median are the most preferred figures for filling blanks. &lt;/p&gt;

&lt;h1&gt;
  
  
  Conclusion
&lt;/h1&gt;

&lt;p&gt;Excel is an extremely powerful tool for data cleaning. Ordinarily, cleaning entails removing duplicates, fixing typos and data formats, creating new columns, and handling outliers and missing values. Data cleaning improves accuracy of the data and subsequently determines the quality and reliability of analysis.   &lt;/p&gt;

</description>
      <category>beginners</category>
      <category>analytics</category>
    </item>
    <item>
      <title>My First GitHub Project: From a Local Folder to GitHub Using Git and SSH</title>
      <dc:creator>David Samuel</dc:creator>
      <pubDate>Sun, 23 Aug 2026 19:29:13 +0000</pubDate>
      <link>https://dev.to/iblack/my-first-github-project-from-a-local-folder-to-github-using-git-and-ssh-1idb</link>
      <guid>https://dev.to/iblack/my-first-github-project-from-a-local-folder-to-github-using-git-and-ssh-1idb</guid>
      <description>&lt;p&gt;Creating my first GitHub project entailed use of diverse resources namely Git, GitHub, and VS Code. As the first step to creating the project, it was critical to have a deep understanding of concepts such as Git, Git Bash, GitHub, and VS Code. Without the understanding, it would have been impossible to link Git to GitHub and publish the new project.  &lt;/p&gt;

&lt;h2&gt;
  
  
  Definition of Terms
&lt;/h2&gt;

&lt;p&gt;Git and GitHub can be confusing terms, especially for beginners. While GitHub is a relatively commonplace terminology for anyone that has some level of interaction with people in the field of tech, Git is rarely mentioned. At a personal level, I had encountered the term GitHub, but never had I come across Git. As such, differentiating the two and understanding both was a crucial step in building my first GitHub project. From the onset, I learned that Git is a software program that helps one track changes in files stored in their local machine. While the software is pre-installed in some operating systems, it has to be manually installed in Windows. Git is run using Git Bash, an interface for writing Git commands. On the other hand, GitHub is cloud-based website that stores Git projects and allows collaboration among developers. Unlike Git which is local, GitHub is remote and is used to publish code created on different code editors such as VS Code.  &lt;/p&gt;

&lt;h2&gt;
  
  
  Creating a Local Folder
&lt;/h2&gt;

&lt;p&gt;Creating a local folder using Git Bash is an alternative to the traditional approach of right clicking on the screen and creating a new folder. Doing so is a step-wise procedure entailing selecting the directory within which you want to create the new folder as well as creating the new folder and the sub-folders and files within it. For my project, I created the folder on my desktop. &lt;br&gt;
To list all the directories on my pc, I ran the command below in my Git Bash terminal:&lt;br&gt;
&lt;code&gt;ls&lt;/code&gt;&lt;br&gt;
With Desktop being one of my directories and the directory within which I intended to create my new folder, I ran the command below to change directory to Desktop and consequently manipulate it as desired:&lt;br&gt;
&lt;code&gt;cd Desktop&lt;/code&gt;&lt;br&gt;
I then created my folder christened “My-First-GitHub-Project” within Desktop by running:&lt;br&gt;
&lt;code&gt;mkdir My-First-GitHub-Project&lt;/code&gt;&lt;br&gt;
Subsequently, I created 3 folders (Data, Notebook, Scripts) within “My-First-Desktop-Project” folder. This phase entailed two steps, the first one being changing directory from Desktop to “My-First-GitHub Project” folder using the command below:&lt;br&gt;
&lt;code&gt;cd My-First-GitHub-Project&lt;/code&gt;&lt;br&gt;
This step was followed by creating the aforementioned folders using the Git Bash commands below:&lt;br&gt;
&lt;code&gt;mkdir Data&lt;/code&gt;&lt;br&gt;
&lt;code&gt;mkdir Notebook&lt;/code&gt;&lt;br&gt;
&lt;code&gt;mkdir Scripts&lt;/code&gt;&lt;br&gt;
I also created two files within “My_First_GitHub_Project” folder using the commands below:&lt;br&gt;
&lt;code&gt;touch README.md&lt;/code&gt;&lt;br&gt;
&lt;code&gt;touch Analysis.py&lt;/code&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Linking and Pushing the Project to GitHub
&lt;/h2&gt;
&lt;h4&gt;
  
  
  Linking Git to GitHub
&lt;/h4&gt;

&lt;p&gt;Prior to pushing the project to GitHub, it was necessary to link Git to GitHub using the steps outlined below:&lt;br&gt;
&lt;em&gt;Step 1: Configuring Git&lt;/em&gt;&lt;br&gt;
The step entailed setting up my username and GitHub email using the commands below:&lt;br&gt;
&lt;code&gt;git config --global user.name "My Name"&lt;/code&gt;&lt;br&gt;
&lt;code&gt;git config --global user.email “my-name@gmail.com”&lt;/code&gt;&lt;br&gt;
&lt;em&gt;Step 2: Verifying Configuration&lt;/em&gt;&lt;br&gt;
To verify my configuration, I ran the command below:&lt;br&gt;
&lt;code&gt;git config --global –list&lt;/code&gt;&lt;br&gt;
&lt;em&gt;Step 3: SSH Key Generation&lt;/em&gt;&lt;br&gt;
To generate the SSH key, I ran the command below:&lt;br&gt;
&lt;code&gt;ssh-keygen -t ed25519 -C “my-name@gmail.com”&lt;/code&gt;&lt;br&gt;
The above step was followed by adding and confirming a blank passphrase. Subsequently, a public and a private key pair was generated as shown below:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;id_ed25519
id_ed25519.pub

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;Step 4: Copying Public Key&lt;/em&gt;&lt;br&gt;
To copy the public key, I ran the clip command with the path to where the key was stored as shown below: &lt;br&gt;
&lt;code&gt;clip &amp;lt; /c/Users/MyPC/.ssh/id_ed25519.pub&lt;/code&gt;&lt;br&gt;
&lt;em&gt;Step 5: Adding the Key to GitHub&lt;/em&gt;&lt;br&gt;
To add the key to my GitHub account, I first logged in, then navigated to profile, then settings, then SSH and GPG Keys where I selected “New SSH Key”.&lt;br&gt;
Next, I pasted the key I had copied in the “key” section and gave a brief description in the “title” section.&lt;br&gt;
&lt;em&gt;Step 6: Testing if The Key Was Added Properly&lt;/em&gt;&lt;br&gt;
I then tested if the key had been added properly by going to the Git Bash terminal and typing the command below:&lt;br&gt;
&lt;code&gt;ssh -T git@github.com&lt;/code&gt;&lt;br&gt;
From this command, I confirmed that the SSH connection had been established and was working properly. &lt;/p&gt;

&lt;h3&gt;
  
  
  Pushing to GitHub
&lt;/h3&gt;

&lt;p&gt;I used VS Code to push the project created on my local PC to GitHub using the steps outlined below:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Opened VS Code&lt;/li&gt;
&lt;li&gt;Clicked on “File”&lt;/li&gt;
&lt;li&gt;Clicked on “Open Folder”&lt;/li&gt;
&lt;li&gt;Selected the “My-First-GitHub-Project” folder created on my desktop&lt;/li&gt;
&lt;li&gt;Navigated to “Source Control” and selected “Initialize Repository”&lt;/li&gt;
&lt;li&gt;Wrote a “Commit Message” and then selected “Commit and Sync”&lt;/li&gt;
&lt;li&gt;Clicked “Publish Branch” and selected “Publish to GitHub as private repository” since I did not want the repository to be public&lt;/li&gt;
&lt;li&gt;Logged in to GitHub using the “Open on GitHub” button to check my newly created repository. &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Overall, the whole exercise of creating my first GitHub project not only helped me conceptualize how to push a project from a local folder to GitHub but also instilled a deeper comprehension of the difference between Git and GitHub, various Git Bash commands, and how to navigate between VS Code and GitHub. &lt;/p&gt;

</description>
      <category>git</category>
      <category>github</category>
      <category>vscode</category>
    </item>
  </channel>
</rss>
