<?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 Faisol Abdulwaheed on Medium]]></title>
        <description><![CDATA[Stories by Faisol Abdulwaheed on Medium]]></description>
        <link>https://medium.com/@abdulwaheedelphaesaly85?source=rss-36d778e1a5ce------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*NmjaIcX6Lfyu_lTL</url>
            <title>Stories by Faisol Abdulwaheed on Medium</title>
            <link>https://medium.com/@abdulwaheedelphaesaly85?source=rss-36d778e1a5ce------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 17:23:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@abdulwaheedelphaesaly85/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[How The Economy Works!]]></title>
            <link>https://medium.com/@abdulwaheedelphaesaly85/how-the-economy-works-e3804a3b43d7?source=rss-36d778e1a5ce------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3804a3b43d7</guid>
            <dc:creator><![CDATA[Faisol Abdulwaheed]]></dc:creator>
            <pubDate>Tue, 27 Aug 2024 14:42:17 GMT</pubDate>
            <atom:updated>2024-08-27T21:47:15.883Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*SUzQSEeRNJlSqkRL76PJVQ.jpeg" /><figcaption><strong>If you want a complex talk; an interesting, never-ending argument. Don&#39;t debate philosophy. Leave geopolitical tensions. You already have a mouthful of issues flying around. The economy. Let&#39;s pitch a talk on it.<br><br>It&#39;s one thing to think that the economy is one thing. it&#39;s another to realize that it&#39;s another thing entirely. You&#39;ve once heard this and it&#39;s true: &quot;if you ask 10 economists, you will get 10 different answers.&quot; Why not?<br><br>There&#39;s a web of interactions among people in the way economic activities unfold. That subject transcends the classroom and academic halls. It is out there on the streets and in the markets. It&#39;s everywhere. The economy is you and me. To understand it is to understand your role and mine in it. <br><br>After all, economics is no more a dry talk. it&#39;s now a hard feeling that leaves no heart untouched.<br><br>To think about the economy is to ask questions about it.<br>To ask questions is to trace the causes of events to their consequences. It only takes an economic head to sift through the noise of politics and the fuss of the media when making economic decisions about anything.<br><br>My worry is the same as yours: How do I not lose the thread when a lot is going on under the hood of complex reality. For economics so good, there&#39;s a leeway to worrying less: Theories, models and assumptions are always there to boil things down.<br><br>Here are some random principles and quick facts that interest me about the economy.<br><br><br>*Every game plays by its own rules; A capitalist economy is no different. Competition, self-interest, and incentives work the economy machine. They drive prices and the flow of transactions. When these forces are abused, they can lead from destruction to degradation to depletion of resources.<br><br>*Relative scarcity gives power. When there&#39;s a shortage of something, its price rises. Where there&#39;s abundance, the price falls.<br><br>*In a competitive market, charging more is not that bad.<br>And undercutting is not so good. The golden mean is just the market price. But where products are differentiated or preferences have levels, charging different prices is no sin. <br><br>* What goes around in the economy comes around. Every seller has a buyer. A needs to produce for B to consume. As it seems, one man&#39;s expenditure is another&#39;s income.<br> <br>*When things go wrong, does the economy correct itself ? Or someone needs to correct it. Take either of the two or blend both. Just that things will go wrong, still. The economy is one tricky machine with different manuals. It knows no one-size-fits-all solution.<br><br>*The government can influence the overall demand. The CBN can influence the money pool out there. A proper mesh of policies from both authorities should be able to work the economy better.<br><br>*To do the central banking job, the instruments used are interest rates, cash reserve ratio, open market operations among others. When these traditional tools don&#39;t yield, the central bank ushers in some modern tools.<br><br>*Commercial banks use deposits to create more money in the economy. And the central bank uses its tools to keep them in check.<br><br>*Too much money in the economy is like an overdose. Too little money is like a shortage of blood in the body. Both have effects on the health of the economy<br><br>* More Income drives more consumption. Access to more credit increases total spending in the economy. And credit is a key driver of transactions.<br><br>*While credit is good for running more deals, too much debt can be harmful to the economy. In the long run, credit will reduce future spending power.<br><br>* Borrowing is sensitive to interest rate. When the interest rate is low, the cost of borrowing is cheap. Borrowers borrow more, and the incentive to invest is attractive.<br><br>*More demand for a currency increases its value. More supply of it saps its value.<br><br>*When a country&#39;s currency depreciates, Import becomes more expensive and inflation is likely. When currency appreciates, import is cheap, and price level comes down.<br><br>*The government infuses money into the economy by investing in projects or infrastructure. This change in spending leads to a change in the total output of the economy.<br><br>*Say, the initial spending from the government generates income for A. A spends a portion of that income to B, B to C, C to D and the chain of reaction goes on to bring about a bigger change in the Gdp. This is the multiplier effect. The higher the change in multiplier, the higher the change in Gdp.<br>If people save more, the multiplier is small, and the impact on Gdp is small.<br><br>(Ps: Government spending does not always drive positive change for the economy. )<br><br>*Should I spend now to grow the economy or save to invest in the future? Saving is one of the ways money is sucked out of the economy. It also gives future investment opportunity. It&#39;s like a paradox.<br><br>*The aggregate demand is the total spending in the economy. if it rises, the total output of the economy rises. if it shrinks, the GDP also shrinks.<br><br>*There&#39;s a dilemma between inflation and unemployment. One can be fixed at a time. In the short run, this tradeoff will occur: high unemployment rate and low inflation or high inflation and low unemployment rate.<br><br>* A combo of high inflation, high unemployment and stagnant GDP growth is stagflation.<br><br>* When high taxes or job loss cut disposable income, spending and consumption also falls. when spending falls, demand falls. Falling demand brings down supply. Low supply means reduced production. When production is curtailed, businesses lay off workers, and invest less in capital goods. Unemployment rises. GDP falls. Export falls. Currency falls. Inflation rises...(The positive side holds too, ceteris paribus)<br><br>*Money has value. And the value of money fades with time.<br><br>*When an economy can produce rice by giving up less yam when compared to other economies, it has a comparative advantage in rice. It&#39;s therefore assumed that it should specialize in producing that good where its opportunity cost is lower.<br><br>*Increased minimum wage is likely to increase unemployment. It also promises job loss to low-skilled workers. Rent control reduces quantity and quantity of housing.<br><br>*When GDP growth declines twice back to back, a recession is at the door. A recession features low consumption and production, high unemployment, and credit crunch. <br><br>*Stock market transactions are not part of Gross Domestic Product (GDP).<br><br>*Economic growth captures how much an economy produces. Real GDP measures this. Economic development captures how well people live. GDP is not the best measure here. Other measures like Human Development Index (HDI) are used.<br><br>*When the government spends more than it receives, it borrows and may make up for the shortfall with higher taxes. What determines whether government borrowing is good or bad is not how much or little it borrows, but rather what it uses the money for and how it&#39;s used.<br><br>*Sometimes, when government spending increases, private consumption and private investment falls.<br><br>*In an overheating economy, the government may reduce spending and increase taxes, or the central bank, increase interest rate or power up other instruments to slow things down.<br><br>*In a recession, the Government increases spending and lower taxes. The Cbn lower interest rate. It works, but not all the time.<br><br>*Prevailing incentive of profit or loss is a factor that dictates entry into or exit from a competitive market. If firms are raking in substantial profits, others are likely to join them; when they are in the red, losing, others will want to leave them.<br><br>*The economy is too broad to be captured at a glance.I hope this gives a glint about the big picture.<br><br>*The economy is too complex. If you try to describe how it works, that might be why it&#39;s not working.</strong></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3804a3b43d7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PASSWORD PROJECT]]></title>
            <link>https://medium.com/@abdulwaheedelphaesaly85/the-only-impossible-journey-is-the-one-you-never-begin-2e98f2c3fefe?source=rss-36d778e1a5ce------2</link>
            <guid isPermaLink="false">https://medium.com/p/2e98f2c3fefe</guid>
            <dc:creator><![CDATA[Faisol Abdulwaheed]]></dc:creator>
            <pubDate>Mon, 25 Sep 2023 16:50:14 GMT</pubDate>
            <atom:updated>2023-11-25T19:55:47.074Z</atom:updated>
            <content:encoded><![CDATA[<h3>-The only impossible journey is the one you never begin-</h3><p><em>Anonymous.</em></p><p><em>With fear and uncertainty, I began my journey into data analysis with python three and a half months ago. Although, The journey promised to be distant, I promise myself to continue unfazed. In the rapidly evolving world of data, where technological advancements occur in every blink of an eye, I think the best way to keep pace is to stop thinking and start doing. Thereupon, As a committed learner, I am motivated to share my first project and look forward to improving my skills.</em></p><p>Project Overview:</p><p>Password Vulnerability and Strength Analysis: This dataset is sourced from Kaggle and its theme revolves around password-related analysis, covering aspects such as password popularity, category, strength, security, vulnerability, and crack times (both online and offline). It’s noteworthy that while this dataset might serve as dummy passwords designed to mirror common vulnerabilities, it also gives a glimpse of real-word password issues. For this reason, this project is tailored to fit the context of the dataset, and the following are the objectives:</p><p>· Strength Analysis: This project assesses password security by using certain benchmarks to categorize passwords as either strong or weak. Additionally, statistical analyses are employed to gain insights into the distribution of password strength across the entire dataset, enabling informed decision making.</p><p>· Category exploration: The project also explores the classifications of all passwords in the dataset to identify common patterns and popular trends in how vulnerable passwords are created. It also weighs the effect of password categories against their security level.</p><p>· Password Cracking: Using the time range and duration provided in the data set, a significant segment of this project is dedicated to investigating the reliability and durability of passwords, such as how easily a password can be cracked through offline guessing within a matter of seconds. As well as why certain passwords endure for years before being attacked online.</p><p>· Visualization: At each turning point in the analysis, visuals are used to draw inferences from the dataset and highlight comparisons between passwords of different categories., as well as the relationship between the font size of a password and its strength. Succinctly, this project utilizes simple yet detailed plots to show its findings.</p><p>Introduction:</p><p>To begin with, it’s necessary that we import the major libraries required for our tasks. These libraries include Numpy for performing numerical operations, Pandas for data cleaning and manipulation, and Matplotlib for data visualization, we’ll alias these libraries as <strong>np, pd, and plt</strong>, respectively.</p><p>The next step involves using <strong>read_csv()</strong> to read in the Comma-Separated Values (CSV), which is a file format that houses the data in question, and using the <strong>index_col</strong> to set the ‘rank’ column as the index, initially. After reading the data, we will take a quick look at the first ten rows using the <strong>head()</strong> method.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*9vh4PTeFleF1Ra2jGd0GXQ.png" /></figure><p>Data Cleaning and Exploration:</p><p>As seen in the dataset, the “offline_crack_sec” column seems incoherent due to the use of scientific notation for its figures. For instance, the first cell ‘2.17000e+00”, which seems gibberish to data readers. Thereupon, we need to fix this irrelevancy, hunt for additional inconsistencies, handle missing values, and remove duplicate entries to ensure our data ends up clean and ready for a thorough analysis. A quick way to attend to the ‘offline_crack_sec’ is to cast its data type as float and round each value to two decimal places as all modification is implemented in place.</p><p>In the output below, we identified 7 rows with null values by summing the result of ‘<strong>is_null()</strong>’,<strong> </strong>and we dropped them all along the rows axis=0 using the ‘<strong>dropna()’</strong> method. Also, we utilized the ‘<strong>duplicated()’</strong> method to check for duplicate values but found none.</p><p>Next, the <strong>info()</strong> method retrieved an overview of the data types and features of our columns, the ‘<strong>shape’</strong> attribute confirmed that we are now left with 500 rows and 8 columns, which are as follows: <strong>(Password, Category, Value, Time-unit, Offline crack seconds, Rank-alt, Strength, and Font Size),</strong> which are all relevant for our analysis and meet our needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/849/1*yScFMZSJggXJlCiu3k9ozg.png" /></figure><p>Since the hallmark of every password often lies in its security level, it’s insightful that we know the summary statistics for the strength column to inspect the vulnerability of certain passwords, using the ‘<strong>describe()’ </strong>for this purpose<strong>.</strong> The result shows that the typical or common password strength is as low as 7.43 points, while the maximum strength is as high as 48 units. Furthermore, there exist in the dataset some passwords with no strength at all, indicated by the strength point of 0.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*IIqVRjmVpNCq6D3z-GWWlQ.png" /></figure><p>Upon filtering the ‘strength’ column based on specific criteria, the output shows that:</p><p>· 475 passwords have a strength less than 10.</p><p>· Out of the 475 passwords, 30 have a strength of 0.</p><p>· Only 15 passwords have a strength greater than 20.</p><p>From these findings, we realized that passwords with a strength of zero, such as ‘1111’ or ‘pepper’ are either alphabet-only or number-only passwords. These set of passwords are highly vulnerable to cracking through guessing. On the other hand, we also found out that the 15 passwords with strength above 20 tend to have a mixture of alphabets and numbers, which makes them resistant to cracking attempts and more secure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/941/1*AUnN11ffy24bTejkVdyVkQ.png" /></figure><p>To visualize the statistics we examined earlier and gain a clearer understanding of how the passwords are distributed, we use <strong>plt.hist()</strong> from the matplotlib library to create a histogram which illustrates that the majority of passwords cluster around the mean strength value (7.43). As a consequence, there are only a very few passwords that can be classified, for the sake of this dataset, as strong passwords based on the criteria used.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*85PO7iyAX5G4_btnDWPl9w.png" /></figure><p>The above histogram provided a hint about the presence of extreme values that deviated from the mainstream. These outrageous datapoints are referred to as potential ‘outliers’ and the most suitable plot to spot them on sight is the box plot, which we will plot next.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*nz3jP20ymF_yPP4esZl3VQ.png" /></figure><p>So far, we’ve focused on analyzing the strength of our passwords. However, to analyze questions like:</p><p>Ø “What are the factors contributing to the strength of passwords?”</p><p>Ø “How do people come up with their passwords?”</p><p>Ø “What makes a strong password?”</p><p>we need to delve deeper into the ‘Category” column. To begin, let’s determine how many distinct categories are present in the dataset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*5jTE8Koj9qdVGIUrQxNCjA.png" /></figure><p>The <strong>unique()</strong> method presents a set of unique values for the password categories. From this output, we can start to recognize patterns and analyze trends. For instance, a category like “animal” suggests that people often use the names of their pets as passwords. Similarly, the ‘name’ category also reveals that many individuals create their passwords with their own names or nicknames because upon filtering all passwords by the ‘name’ category, the <strong>sample()</strong> method output indicated that 183 passwords comprised of names or variations of respondents’ names. This pattern may be applied for other categories as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*4gUyYhZth5lNFut5PdWcsQ.png" /></figure><p>There seems to be a preconceived assumption that certain passwords such as ‘reddog’, ‘master,’ which convey a sense of masculinity would make strong passwords. However, to be certain, let’s filter passwords based to 2 criteria: ‘cool-macho’ category and less-than-10 strength to assess whether the security level align with the masculine make-up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*nQsCUhdpTEo45XNnxKJhTg.png" /></figure><p>The ‘offline_crack_sec’ depicts the vulnerability of these passwords. At that, it’s imperative to note that what makes a good password goes beyond its meaning or a trend. In contrast, the components of a strong password will be discussed in the next lines.</p><p>Now, we would like to identify the category and other features of the strong passwords in this dataset. To do this, we set a metric of at least 35 strength point as our threshold for strong passwords. We then filtered the passwords with this score and determined their respective category.</p><p>The output reported that only the “simple-alphanumeric” and “nerdy-pop” categories managed to make it to the top of the list. The ‘simple-alphanumeric’ and ‘nerdy-pop’ categories suggested that the use of numbers, letters, characters and symbols contribute a great deal to the strength of a password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*z-V5T8SgkG3GOnBdRTtLwQ.png" /></figure><p>Furthermore, to make a clear comparison among the password categories and visualize their distribution, the bar chart comes to hand.</p><p>Below is a bar chart that illustrates a comparison among the various password categories in the dataset. Since our intention was to plots categorical variables (category name) against numerical variables (number of occurrences), it’s crucial that we use <strong>value_counts()</strong> to obtain a DataFrame with categories and their respective counts. To extract the data for x-axis (category names) and y-axis (number of passwords), we created two variables and utilized list comprehensions, allowing us to organize all category names into one list and their corresponding counts into another list.</p><p>In detail:</p><p>· <strong>‘Item[0</strong>]’, with an index of 0, indicated that we are targeting the first elements in the dictionary, which represent the category names.</p><p>· <strong>‘Item[1]’</strong>, with an index of 1, is targeted at the second elements on the first indices, which represent the total count of passwords in each category. While the ‘<strong>items()’</strong> method obtains a tuple of the values extracted from the dictionary.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*kDIRfrbkGr998G7__jizug.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*6RiT5Y4STHfvxOXArrLSTw.png" /></figure><p>This bar chart revealed that a significant number of the respondents used their names as their passwords. Similarly, the same process used for creating this bar plot is repeated for the time_unit column and the <strong>‘value_counts()’</strong> indicated that most passwords in the dataset can potentially be cracked in within a range of days</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*DgogOB4t-VP-_kD79cVh_g.png" /></figure><p>Having conducted some key analysis on the ‘category’ column, let’s now explore the time it takes to crack some of the passwords in our dataset. We will use the <strong>‘unique()’</strong> method to get the unique values in the the <strong>‘time-unit’</strong> and <strong>‘value’</strong> columns. As a result, an inquiry into the ‘seconds’ time range reveals that, in our data set, only 11 passwords can get cracked within seconds. Moreover, to identify the passwords that are vulnerable to cracking in the least amount of seconds, we used <strong>‘loc()’</strong> method with label indexing to access the time value of passwords that can be cracked in the least amount of seconds. To find the lowest value, we apply the min() aggregate function on the DataFrame, which resulted in a minimum crack time of 11.11 seconds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*1n97bbPRsYxHeIEDwNxx2w.png" /></figure><p>On the other hand, The <strong>‘value_counts()’</strong> counts the frequency of each unique value in the ‘time_unit’ column. The output generated is appropriate for plotting a bar chart to compare the distribution of password crack across seconds, minutes, hours, weeks, months, years, and with a particular focus on ‘days’ time_unit which has the highest counts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*tz9MylRNdJRG_qGfbChDXw.png" /></figure><p>Moving on, our interest in examining the strength and the category of passwords that would take more than 60 years to get cracked will cover this final phase of time range analysis. The results indicate the following findings:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*vl5vVwQIZiEdgN4mBnZxPA.png" /></figure><p>In the code snippet for plotting this on bar chart, the following steps are involved:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*kmK1C8MG7CC8wTZnw6r1zQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*xQg4jv4jwxoqlO0GRhHdTw.png" /></figure><p>Ø We assigned the variable ‘more_than_60’ to displays the DataFrame containing passwords that would take more than 60 years to crack.</p><p>Ø The ‘password_category’ maps the passwords with their respective categories.</p><p>Ø The ‘password_time’ variable extracts only the series of time lengths.</p><p>Ø ‘years’ is used to initialize the indices for the x-axis</p><p>Ø In the case of the multiple bars we are about to create, we need to specify a width (breadth), which represents the range at which we shift a bar away from the one next to it.</p><p>Ø Plt.barh is used to plot the bars horizontally</p><p>Ø In the first bar (which varies), we used ‘password_strength’ which as the</p><p>To make our multiple bar easier to understand, we added labels to annotate the visuals:</p><p>§ We use the standard Python <strong>‘enumerate()’</strong> function to loop over the indices of the password strength (0,1,2,3) and the corresponding (strength points: [48,34,28,25])</p><p>§ The plx.text() from Matplotlib is used for adding annotations to plot. For this use-case, the argument <strong>‘strength + 0.3”</strong> specifies the position along the x-axis. This means that while the tip of the blue bar ends, for example, at 25 points(which is a strength point as well as a minor tick), the text we want to add is positioned 0.3 inches forward away from the blue bar on the x-axis.</p><p>§ The second argument, <strong>“ index1 — width”,</strong> indicates that while the indices are the positions (0,1,2,3) for each of the categorical bars, the width (0.20) is subtracted from each position, allowing us to shift the text downward. If the width is not subtracted, as in the case of the sky-blue bar, the figures [25.0, 28.0, 34.0, 48.0] would have overlapped with the bars above and obstructed their views. Similarly,This sequence of explanation works for the second annotations in the same manner.</p><p>Font Size Analysis:</p><p>With the dots sloping upward, the scatter plot indicates a connection (positive correlation), a statistical term which signifies a relationship between two things (variables). In this case, there is a connection between the strength of a password and its font in that as the font increases, the strength also increases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*2yaP1isqa0Tv_BpRJpACPQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*pva_j0OuELR18FU87yrlRA.png" /></figure><p>Conclusion:</p><p>After all the preceding analysis, it’s necessary that we re-organize our dataset to maintain the structure of all the manipulations and modifications we have made to our data so far. As a result, we re-ranked all passwords based on their security level. There could have been several criteria to achieve this, such as ranking based on crack time, font size, password length, etc. However, the condition we chose to rank by is the strength points which seems to be the most valid. To attain this, we created a new column labeled <strong>‘re_ranked’</strong>. Alongside this, we applied the pandas <strong>rank()</strong> method to the strength column, then cast the datatype as<strong> int</strong> and ranked the strength from the highest to the lowest.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*gigBPaQ7a3PBJ1m9DW2leg.png" /></figure><p>We also used the <strong>apply method </strong>with an anonymous lambda function to calculate the length of each password and stored it in a new column tagged ‘length’. Afterwards, since the ‘time-unit’ and the ‘value’ columns are meant to convey a single piece of information, it’s essential that we merge these two columns and consolidate their values into a new single column. To do this, we leveraged the existing columns to create a new one. However, an error would have been raised if we had directly added ‘value’ (float datatype) to time-unit (‘string datatype’). To avoid this error, we first converted the ‘value’ column to string using the <strong>‘str()’ </strong>method and subsequently dropped the ‘time_unit’ and ‘value’ columns. Then, we set and sorted the ‘re_ranked’ column as the new indexing column and dropped the ‘rank_alt’ column since it’s no longer needed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2e98f2c3fefe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SELECT SQL!]]></title>
            <link>https://medium.com/@abdulwaheedelphaesaly85/select-sql-ec99bdcf2256?source=rss-36d778e1a5ce------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec99bdcf2256</guid>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[database]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[my-journey-with-sql]]></category>
            <dc:creator><![CDATA[Faisol Abdulwaheed]]></dc:creator>
            <pubDate>Mon, 11 Sep 2023 10:16:10 GMT</pubDate>
            <atom:updated>2023-09-11T10:47:18.688Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4vvTHJl74E6h1OACFdyVcQ.png" /><figcaption>INTRODUCTION TO SQL</figcaption></figure><p>SELECT SQL!</p><p>Hi, Tech enthusiasts! I am Faisol, an emerging Data Scientist. As I set out to learn SQL, I want to share two things with my fellow learners. The first item is a short homework I did about SQL, and the second is what I learned from DataCamp’s “Introduction to SQL” course.</p><p>(1)</p><p>In plain text, Structured Query Language (SQL) is a programming language that communicates and interacts with a database. A database is a storage system made up of collections of data, and the compatible software application for managing its workload is the Database Management System. Like other Programming Languages, SQL also has its syntax of codes and commands, but what sets it apart from others is that it strictly works with databases, and not just any type of database, but a RELATIONAL DATABASE. A Relational Database is a structured and organized assortment of data arranged in tables as rows and columns. In SQL, the rows are called RECORDS and the columns are called FIELDS</p><p>With this basic understanding of SQL, a question that piques our curiosity is: “If SQL works with databases, what does it do with data?”</p><p>· DATA RETRIEVAL: SQL helps us specify what we want to extract from a database by querying it (asking questions) with statements that request data that from the database.</p><p>· DATA MODIFICATION: with the right commands, SQL can make changes to our data, such as adding to columns or deleting from rows.</p><p>· DATA MANIPULATION: SQL helps perform arithmetic operations and calculations on our data, and also provides functions for performing summary statistics</p><p>· DATA CONTROL: SQL helps to manage and secure our data and let us control and manage its accessibility.</p><p>After these findings, it came to my mind that spreadsheets can also do what a database does, but a deeper dive into the subject matter revealed the following distinctions to me:</p><p>1. Databases provide more storage while spreadsheets like Microsoft Excel and Google Sheets are more limited in space.</p><p>2. Databases secure data by encryption while the usage of passwords is common in spreadsheets</p><p>3. Databases are used for complex, large, and big data while spreadsheets are suitable for simple and small datasets.</p><p>4. Although databases and spreadsheets provide multi-accessibility, databases are more robust.</p><p>(2)</p><p>Now, Let’s explore the DataCamp’s “Introduction to SQL” course together in the rest of this writeup.</p><p>The course introduces learners to the fact that while SQL is the standard, there are different flavors that also speak the language of SQL but in different but similar dialects. These include T-SQL, MYSQL, PostgreSQL, among others. The vendors of various Database Management Systems (DBMS) are responsible for the slight variations in these flavors by blending the SQL language in its syntax, functionality, or features into another version. I learnt that all SQL versions all work with relational databases, share the majority of keywords, and follow the same universal standard.</p><p>SOME KEYWORDS I LEARNT:</p><p>v SELECT: one of the most instrumental keywords in SQL, if not the most common. It’s primarily used to retrieve information from tables, but is can also function along with other keywords to filter, aggregate, sort, alias or join data</p><p>v FROM: it indicates the source of data where we want to perform our operations.</p><p>v AS: it’s used to assign a new name to a column or table. I think of this as nicknaming.</p><p>v DISTINCT: it’s used to get non-duplicated/unique values in our output.</p><p>KEY TAKEAWAYS FROM THE COURSE (INTRODUCTION TO SQL):</p><p>- Understand the data schema: it shows the relationship among tables.</p><p>- Use unique identifiers or keys to distinguish records from one another.</p><p>- The names of tables should be in lowercase.</p><p>- Use underscores in place of spaces.</p><p>- The field name should be in singular rather than plural.</p><p>- Fields should never share a name with the table where they belong.</p><p>- When a table is created, each field must have a specified datatype.</p><p>- You can use an asterisk (*) to select all fields</p><p>- In other languages. it’s a string; In SQL, it’s the CHARACTER datatype, housing VARCHAR, TEXT and others.</p><p>- In other languages, it’s an integer; In SQL, it’s the NUMERIC datatype, housing INT, FLOAT, SERIAL and others.</p><p>As a beginner, I learned a few best practices to write SQL like a pro:</p><p>- Although, SQL does not follow strict indentation rules, make your code clean by using new line.</p><p>- End the query with a semicolon</p><p>- Capitalize the keywords such as SELECT, FROM among others.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec99bdcf2256" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“Bear in mind that the person you become when and where nobody sees you is the person you are”
“……]]></title>
            <link>https://medium.com/@abdulwaheedelphaesaly85/bear-in-mind-that-the-person-you-become-when-and-where-nobody-sees-you-is-the-person-you-are-9b5c05499eaf?source=rss-36d778e1a5ce------2</link>
            <guid isPermaLink="false">https://medium.com/p/9b5c05499eaf</guid>
            <dc:creator><![CDATA[Faisol Abdulwaheed]]></dc:creator>
            <pubDate>Mon, 18 Jul 2022 10:09:52 GMT</pubDate>
            <atom:updated>2022-07-18T10:38:32.318Z</atom:updated>
            <content:encoded><![CDATA[<p>“Bear in mind that the person you become when and where nobody sees you is the person you are”<br>“… And when you get there, always cast a homeward glance.”</p><p>A pillow propped mama Mariam’s elbow up on the leather sofa where she sat talking to her daughter.</p><p>Mariam tore herself into two: one part listened to her mum while the other collected her belongings and lassoed the mouth of a provision-filled sack.</p><p>“Lend me your ears, Mariam. I have something to say and its lesson will last a lifetime”<br>“Ok, ma.” She sat before her.</p><p>Mama Marian said, “within a zone of large Tulip trees with crisscrossed branches and evergreen leaves lived a brood of falcons. A story was told of a baby falcon (eyas) and a mother falcon who nested her house in a safe crack of a Tulip with trim twigs.</p><p>She ran about time after time laying a scion on a scion and a branch on a branch. She so much patched the nest with a tuft of grasses and moss that it couldn’t fall apart. After chopping everything into a fit, she rimmed her house with fragrance-rich tulip flowers. Then on the inside was a neat palm-sized leave (cradle) where she ensconced her little princess.</p><p>After 6 weeks of birth, the baby falcon could fly from one nest to the other. Every morning, Mother falcon took wing far away from home to fetch their needs and instructed eyas to fly and play with others but not beyond the compass of the Tulip trees.</p><p>Princess eyas always kept to her mother’s word, which was the same thing all other mothers willed their babies.</p><p>One early afternoon, a white dove strayed into the roosts.</p><p>All the Eyas raised eyebrows. They didn’t know such a specie existed because they&#39;d never seen such.</p><p>When Mother falcon came back home, princess eyas described him, with a surge of amazement, to her mum: how he looked, flew, dived, and perched.</p><p>Mother falcon told her the white dove won’t be a surprise anymore someday. “When you be of a mature and eligible year and have the wherewithal to fly around you would see many lookalikes,” she said.</p><p>For the next few days, eyas returned to her day-to-day way of life. Then came the white dove again on another day.</p><p>He roved through the tulip trees and, after a while, flew away. No sooner had he flown away from the tulips than eyas trailed him. She felt the urge to know where he came from and where to.</p><p>As soon as she stepped out of the boundary, she breathed new air. she flew past a grand Oak tree of playing woodpeckers.</p><p>She saw nightingales in woodland singing with honeyed voices and watched the white dove enter a dovecote on a grassland.</p><p>She flew with a lot of glee because the outside world she saw was colorful and eye-catching. She thought if she flew only that little to see how wondrous life was out of one’s shell, she would see more if she flew more.</p><p>She took to the air and flew until she lost track of the sky and never knew the way back home.”</p><p>Mariam sighed and took her palm off her chin, “who’s the baby falcon?” She asked.</p><p>“they are many out there. When their freedom is still fettered, they are wolves in sheep’s clothing but once they have the free air under their wings, they fly out in their true colors.</p><p>No one will be there to slap your wrist where you are going or scowl a face at you. So, you should know the daughter of whom you are.” she concluded</p><h3>#Tales_Short_story_creative_writing<br>Faisol_Abdulwaheed</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9b5c05499eaf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[#TOIL_AND_WAIT]]></title>
            <link>https://medium.com/@abdulwaheedelphaesaly85/toil-and-wait-f729a520c7be?source=rss-36d778e1a5ce------2</link>
            <guid isPermaLink="false">https://medium.com/p/f729a520c7be</guid>
            <dc:creator><![CDATA[Faisol Abdulwaheed]]></dc:creator>
            <pubDate>Thu, 16 Jun 2022 16:34:29 GMT</pubDate>
            <atom:updated>2022-06-16T16:34:29.161Z</atom:updated>
            <content:encoded><![CDATA[<p>#TOIL_AND_WAIT</p><p>There in the outskirt of a town lived two friends: Zayd and ‘Amr. <br> <br>One day, they would need to dig a well in just 10 days or they become thirsty to the point of death.</p><p>To carry out this Herculean task, the first man, Zayd, chose an excavator, a spade, and a hand digger. And the second man, of all things, chose a needle.</p><p>The next day, they rolled their sleeves and set about digging on the same earth but on different surfaces.</p><p>On the first day, Zayd, the spade-excavator-digger man, was digging, drilling, and often laughing at ‘Amr, the needle-man, who was digging only at a snail’s pace, but diligently.</p><p>On the second day, Zayd felt all his yesterday’s toil had amounted to nothing; neither has the soil discharged a drop of water, nor the ground sprung a leak. he felt that surface was hard and arid. So, with his wisdom, he started afresh on a new space.</p><p>Though with needle, yet ‘Amr kept digging.<br>(Though the mill of God grinds slowly, yet they grind exceedingly small).</p><p>On the third day, Zayd had jumped to another space because he needed a soft-as-a-silk soil and water-giving, not a dry-as-a-bone, surface.</p><p>Still and all, ‘Amr was putting up with the grunt work and kept on keeping on.</p><p>During the fourth, fifth…till the nineth day, the first man, Zayd, whose life depended on instant, gushing water, had dug up to nine surfaces while relocating to this after that and that after this. Yet, neither did his labor yield, nor his toil make any difference.</p><p>On these days, ‘Amr, the needle-man, had clung to hope, focused all his energy on a space at a time, avoided having blank days, and believed that every bead of sweat on his brow will quench his thirst later.</p><p>On the last day, Zayd had had ten wells, every of which was shallow and can’t even be called a well but a hole.</p><p>But, on this day, the needle&#39;s man had reached the very lowest possible level, his patience had come through, and his well has been a source of elixir of life.</p><p>When Zayd saw this, it seemed like an irony. So he asked, “Amr, how come I didn’t have even a drop of water in any of my wells?”</p><p>Zayd said, “had you amassed all the energy you used to dig ten wells to only one well, your water would have flowed like the Nile’s.</p><p>(Consistency, persistency, and purposefulness are the rugged roads that lead to success.)</p><p>#Fiction #Shortstory #Creativewriting<br>Faisol Abdulwahid.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f729a520c7be" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I don’t care...]]></title>
            <link>https://medium.com/@abdulwaheedelphaesaly85/i-dont-care-9a527f4e9b94?source=rss-36d778e1a5ce------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a527f4e9b94</guid>
            <dc:creator><![CDATA[Faisol Abdulwaheed]]></dc:creator>
            <pubDate>Thu, 31 Mar 2022 19:48:47 GMT</pubDate>
            <atom:updated>2022-03-31T19:48:47.013Z</atom:updated>
            <content:encoded><![CDATA[<p>I don’t care...<br>about the shards of your mirror;<br>I didn’t spot my shadow<br>so, go far away<br>with the shaft of your light,<br>and let my cave be.<br>Don’t sweep me <br>with your words<br>and the crack of your smile.<br>I’m wary of you;<br>of your skin<br>more than I am <br>of a rattler’s slough.<br>I dislike your winter.<br>your snow is black.<br>Tell your brows<br>not to sweat for me.<br>Your heart is barren.<br>Down with your tight grip!<br>Your mind is loose.<br>I don’t care about your care<br>because you don’t really care.</p><p>#Faisoly.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a527f4e9b94" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A DREAMER WHO DOESN’T DREAM
From the beginning, 
He failed in the end
Like a dying candle,
His hope…]]></title>
            <link>https://medium.com/@abdulwaheedelphaesaly85/a-dreamer-who-doesnt-dream-from-the-beginning-he-failed-in-the-end-like-a-dying-candle-his-hope-86630e292bd7?source=rss-36d778e1a5ce------2</link>
            <guid isPermaLink="false">https://medium.com/p/86630e292bd7</guid>
            <dc:creator><![CDATA[Faisol Abdulwaheed]]></dc:creator>
            <pubDate>Wed, 30 Mar 2022 20:46:23 GMT</pubDate>
            <atom:updated>2022-03-30T20:46:23.087Z</atom:updated>
            <content:encoded><![CDATA[<p>A DREAMER WHO DOESN’T DREAM<br>From the beginning, <br>He failed in the end<br>Like a dying candle,<br>His hope flickered<br>With a wing without wind,<br>A feather in a fetter,<br>He pined for skies<br>He slew his will<br>He went everywhere nowhere<br>He sought blind lucks<br>He planted his flag<br>In a vain hope<br>He was a warrior<br>that couldn’t ascend to the fore<br>He died everyday<br>He licked his wound,<br>He tasted his blood,<br>He felt the regret<br>to the end,<br>He failed in the beginning</p><p>Faisoly.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=86630e292bd7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How often have you been able to put yourself together in the middle of conflicting choices?]]></title>
            <link>https://medium.com/@abdulwaheedelphaesaly85/how-often-have-you-been-able-to-put-yourself-together-in-the-middle-of-conflicting-choices-ba8da6f2951f?source=rss-36d778e1a5ce------2</link>
            <guid isPermaLink="false">https://medium.com/p/ba8da6f2951f</guid>
            <dc:creator><![CDATA[Faisol Abdulwaheed]]></dc:creator>
            <pubDate>Sun, 27 Feb 2022 20:33:23 GMT</pubDate>
            <atom:updated>2022-02-27T20:33:23.779Z</atom:updated>
            <content:encoded><![CDATA[<p>How often have you been able to put yourself together in the middle of conflicting choices?</p><p>If need be that you make a choice, are you a devout who prays fervently because divinity is all that matters, or a Casino guy who flips a coin and let come what may, or the luck-fingered man who knows where fortune lies, or the confused girl, like many of us, who closes her eyes; reflects; soughs in a deeeep sigh; handpicks; and, still and all, loses. Nothing matters but everything does.</p><p>There is always leeway when life sets before you a thousand and one arrays of choices. on occasion, they would be unfavorable and ironic—life might want you to toss your bare butter over the mud, yet it must not be soiled. You have to decide</p><p>And if you are the type that don’t settle for his will because people will talk, you are more or less like the gentlemen and and ladies who sat in Ecuador and Peru during slavery epoch; slave of chain and slave of thought both act against their own will.</p><p>What will count is not the number of choices buzzing in your head but the bold decision you make and the steps you take.<br>Just like nobody cares if a flock of birds had tweeted at a hunter up in the air before he could strike a tiny woodpecker down.</p><p>It’s an excuse enough to give that you can’t pay the price for clumsy and abrupt decision-making between life-or-death options.<br>So you have to snap a perfect portrait of your mind like a conscious photographer does,<br>But also know that it is not everytime that you will know what you are doing or how you are doing it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ba8da6f2951f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>