<?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:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[databites: Visual Bites]]></title><description><![CDATA[Get all my cheatsheets organized in a single place!]]></description><link>https://reads.databites.tech/s/cheatsheets</link><image><url>https://substackcdn.com/image/fetch/$s_!nYiM!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F151064b1-1b76-4f6d-adaf-0efcacff80d1_281x281.png</url><title>databites: Visual Bites</title><link>https://reads.databites.tech/s/cheatsheets</link></image><generator>Substack</generator><lastBuildDate>Sat, 25 Jul 2026 23:57:35 GMT</lastBuildDate><atom:link href="https://reads.databites.tech/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Josep Ferrer]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[databites.hi@gmail.com]]></webMaster><itunes:owner><itunes:email><![CDATA[databites.hi@gmail.com]]></itunes:email><itunes:name><![CDATA[Josep Ferrer]]></itunes:name></itunes:owner><itunes:author><![CDATA[Josep Ferrer]]></itunes:author><googleplay:owner><![CDATA[databites.hi@gmail.com]]></googleplay:owner><googleplay:email><![CDATA[databites.hi@gmail.com]]></googleplay:email><googleplay:author><![CDATA[Josep Ferrer]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[The SQL habit that separates juniors from seniors]]></title><description><![CDATA[One SQL keyword turns tangled queries into readable, reusable code. Here's the four-panel CTE cheatsheet that shows you how.]]></description><link>https://reads.databites.tech/p/the-sql-habit-that-separates-juniors</link><guid isPermaLink="false">https://reads.databites.tech/p/the-sql-habit-that-separates-juniors</guid><dc:creator><![CDATA[Josep Ferrer]]></dc:creator><pubDate>Sun, 19 Jul 2026 10:50:43 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/e67ee872-fde0-4ffe-8656-64c21515e38e_1465x1057.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Last week, we broke down SQL's joins.</p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;91c8269e-b861-49c1-8e44-afab9fe2e7ac&quot;,&quot;caption&quot;:&quot;A few weeks back we broke down SQL's execution order.&quot;,&quot;cta&quot;:null,&quot;showBylines&quot;:true,&quot;showDescription&quot;:true,&quot;showImage&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;Mastering SQL JOINs&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:132707413,&quot;name&quot;:&quot;Josep Ferrer&quot;,&quot;bio&quot;:&quot;Outstand using data -- Data Science, Design and Tech Tech Writer @KDnuggets @DataCamp &#128073;&#127995;Inquiries in rfeers@gmail.com&quot;,&quot;photo_url&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd196b5a6-59f2-46dd-99b3-e10ab1bbd27d_604x604.png&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2026-07-12T10:00:50.446Z&quot;,&quot;cover_image&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/84542a2b-a023-4fcf-806b-0692afe833a5_1465x1057.png&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://reads.databites.tech/p/sql-joins-cheatsheet&quot;,&quot;section_name&quot;:&quot;Visual Bites&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:206671419,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:4,&quot;comment_count&quot;:0,&quot;publication_id&quot;:2143185,&quot;publication_name&quot;:&quot;databites&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!nYiM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F151064b1-1b76-4f6d-adaf-0efcacff80d1_281x281.png&quot;,&quot;belowTheFold&quot;:false,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><p>Today we go one layer up. Not stitching tables together, but organizing the whole query so it reads like structured code instead of a wall of nested logic.</p><p>Here&#8217;s this week&#8217;s cheatsheet &#128071;&#127995;</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!jU0e!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9586c4b-1f7f-49e6-ba94-5d9a4c7fa73b_3693x3820.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!jU0e!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9586c4b-1f7f-49e6-ba94-5d9a4c7fa73b_3693x3820.png 424w, https://substackcdn.com/image/fetch/$s_!jU0e!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9586c4b-1f7f-49e6-ba94-5d9a4c7fa73b_3693x3820.png 848w, https://substackcdn.com/image/fetch/$s_!jU0e!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9586c4b-1f7f-49e6-ba94-5d9a4c7fa73b_3693x3820.png 1272w, https://substackcdn.com/image/fetch/$s_!jU0e!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9586c4b-1f7f-49e6-ba94-5d9a4c7fa73b_3693x3820.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!jU0e!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9586c4b-1f7f-49e6-ba94-5d9a4c7fa73b_3693x3820.png" width="1456" height="1506" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f9586c4b-1f7f-49e6-ba94-5d9a4c7fa73b_3693x3820.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1506,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1770964,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://reads.databites.tech/i/207642631?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9586c4b-1f7f-49e6-ba94-5d9a4c7fa73b_3693x3820.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!jU0e!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9586c4b-1f7f-49e6-ba94-5d9a4c7fa73b_3693x3820.png 424w, https://substackcdn.com/image/fetch/$s_!jU0e!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9586c4b-1f7f-49e6-ba94-5d9a4c7fa73b_3693x3820.png 848w, https://substackcdn.com/image/fetch/$s_!jU0e!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9586c4b-1f7f-49e6-ba94-5d9a4c7fa73b_3693x3820.png 1272w, https://substackcdn.com/image/fetch/$s_!jU0e!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9586c4b-1f7f-49e6-ba94-5d9a4c7fa73b_3693x3820.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Ever inherited a SQL query from someone who left three months ago?</p><p>Nothing lines up. The same metric is calculated three different ways in three different places. You can&#8217;t tell which subquery feeds which. Two hours in, you&#8217;re still just trying to map what the thing is trying to do.</p><p>That&#8217;s the problem CTEs solve.</p><p><strong>What a CTE actually is</strong></p><p>A CTE (Common Table Expression) is a named, temporary result set. You define it once at the top of a query and reference it as many times as you need below.</p><p>Every CTE starts with <code>WITH</code>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!h6t0!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F733d5038-6473-4c7e-b745-a91967c5c806_1456x1082.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!h6t0!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F733d5038-6473-4c7e-b745-a91967c5c806_1456x1082.webp 424w, https://substackcdn.com/image/fetch/$s_!h6t0!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F733d5038-6473-4c7e-b745-a91967c5c806_1456x1082.webp 848w, https://substackcdn.com/image/fetch/$s_!h6t0!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F733d5038-6473-4c7e-b745-a91967c5c806_1456x1082.webp 1272w, https://substackcdn.com/image/fetch/$s_!h6t0!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F733d5038-6473-4c7e-b745-a91967c5c806_1456x1082.webp 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!h6t0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F733d5038-6473-4c7e-b745-a91967c5c806_1456x1082.webp" width="468" height="347.7857142857143" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/733d5038-6473-4c7e-b745-a91967c5c806_1456x1082.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1082,&quot;width&quot;:1456,&quot;resizeWidth&quot;:468,&quot;bytes&quot;:110584,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://reads.databites.tech/i/207642631?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F733d5038-6473-4c7e-b745-a91967c5c806_1456x1082.webp&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!h6t0!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F733d5038-6473-4c7e-b745-a91967c5c806_1456x1082.webp 424w, https://substackcdn.com/image/fetch/$s_!h6t0!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F733d5038-6473-4c7e-b745-a91967c5c806_1456x1082.webp 848w, https://substackcdn.com/image/fetch/$s_!h6t0!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F733d5038-6473-4c7e-b745-a91967c5c806_1456x1082.webp 1272w, https://substackcdn.com/image/fetch/$s_!h6t0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F733d5038-6473-4c7e-b745-a91967c5c806_1456x1082.webp 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Think of them as building blocks. Each block does one clear job. The final query snaps the blocks together.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!cJHp!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee1eaa5d-0b66-4f0f-aee5-36286744617d_1342x1676.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!cJHp!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee1eaa5d-0b66-4f0f-aee5-36286744617d_1342x1676.png 424w, https://substackcdn.com/image/fetch/$s_!cJHp!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee1eaa5d-0b66-4f0f-aee5-36286744617d_1342x1676.png 848w, https://substackcdn.com/image/fetch/$s_!cJHp!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee1eaa5d-0b66-4f0f-aee5-36286744617d_1342x1676.png 1272w, https://substackcdn.com/image/fetch/$s_!cJHp!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee1eaa5d-0b66-4f0f-aee5-36286744617d_1342x1676.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!cJHp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee1eaa5d-0b66-4f0f-aee5-36286744617d_1342x1676.png" width="488" height="609.4545454545455" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ee1eaa5d-0b66-4f0f-aee5-36286744617d_1342x1676.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1676,&quot;width&quot;:1342,&quot;resizeWidth&quot;:488,&quot;bytes&quot;:302499,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://reads.databites.tech/i/207642631?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee1eaa5d-0b66-4f0f-aee5-36286744617d_1342x1676.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!cJHp!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee1eaa5d-0b66-4f0f-aee5-36286744617d_1342x1676.png 424w, https://substackcdn.com/image/fetch/$s_!cJHp!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee1eaa5d-0b66-4f0f-aee5-36286744617d_1342x1676.png 848w, https://substackcdn.com/image/fetch/$s_!cJHp!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee1eaa5d-0b66-4f0f-aee5-36286744617d_1342x1676.png 1272w, https://substackcdn.com/image/fetch/$s_!cJHp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee1eaa5d-0b66-4f0f-aee5-36286744617d_1342x1676.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Why WITH changes how queries read</strong></p><p>Without CTEs, complex logic hides inside nested subqueries buried three levels deep. You read from the inside out.</p><p>With CTEs, every helper table sits at the top of the query. You read top to bottom: block 1, block 2, block 3, then the final SELECT. Linear. Named. Debuggable.</p><p>You can also chain them. Block 3 can pull from block 2, which pulled from block 1. That is how one clean query replaces a tangle of joins and subqueries.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!pHqN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90a84868-08c9-41a8-935c-40263cf68682_1665x1667.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!pHqN!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90a84868-08c9-41a8-935c-40263cf68682_1665x1667.png 424w, https://substackcdn.com/image/fetch/$s_!pHqN!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90a84868-08c9-41a8-935c-40263cf68682_1665x1667.png 848w, https://substackcdn.com/image/fetch/$s_!pHqN!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90a84868-08c9-41a8-935c-40263cf68682_1665x1667.png 1272w, https://substackcdn.com/image/fetch/$s_!pHqN!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90a84868-08c9-41a8-935c-40263cf68682_1665x1667.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!pHqN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90a84868-08c9-41a8-935c-40263cf68682_1665x1667.png" width="437" height="437.60027472527474" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/90a84868-08c9-41a8-935c-40263cf68682_1665x1667.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1458,&quot;width&quot;:1456,&quot;resizeWidth&quot;:437,&quot;bytes&quot;:323614,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://reads.databites.tech/i/207642631?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90a84868-08c9-41a8-935c-40263cf68682_1665x1667.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!pHqN!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90a84868-08c9-41a8-935c-40263cf68682_1665x1667.png 424w, https://substackcdn.com/image/fetch/$s_!pHqN!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90a84868-08c9-41a8-935c-40263cf68682_1665x1667.png 848w, https://substackcdn.com/image/fetch/$s_!pHqN!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90a84868-08c9-41a8-935c-40263cf68682_1665x1667.png 1272w, https://substackcdn.com/image/fetch/$s_!pHqN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90a84868-08c9-41a8-935c-40263cf68682_1665x1667.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p><strong>The reusability layer</strong></p><p>Once a CTE is defined, you reference it as many times as you want inside that query.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!RbpK!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ce80b95-120e-4d07-bd2a-848a842ae7f0_1886x1721.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!RbpK!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ce80b95-120e-4d07-bd2a-848a842ae7f0_1886x1721.png 424w, https://substackcdn.com/image/fetch/$s_!RbpK!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ce80b95-120e-4d07-bd2a-848a842ae7f0_1886x1721.png 848w, https://substackcdn.com/image/fetch/$s_!RbpK!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ce80b95-120e-4d07-bd2a-848a842ae7f0_1886x1721.png 1272w, https://substackcdn.com/image/fetch/$s_!RbpK!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ce80b95-120e-4d07-bd2a-848a842ae7f0_1886x1721.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!RbpK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ce80b95-120e-4d07-bd2a-848a842ae7f0_1886x1721.png" width="476" height="434.4807692307692" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0ce80b95-120e-4d07-bd2a-848a842ae7f0_1886x1721.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1329,&quot;width&quot;:1456,&quot;resizeWidth&quot;:476,&quot;bytes&quot;:434567,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://reads.databites.tech/i/207642631?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ce80b95-120e-4d07-bd2a-848a842ae7f0_1886x1721.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!RbpK!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ce80b95-120e-4d07-bd2a-848a842ae7f0_1886x1721.png 424w, https://substackcdn.com/image/fetch/$s_!RbpK!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ce80b95-120e-4d07-bd2a-848a842ae7f0_1886x1721.png 848w, https://substackcdn.com/image/fetch/$s_!RbpK!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ce80b95-120e-4d07-bd2a-848a842ae7f0_1886x1721.png 1272w, https://substackcdn.com/image/fetch/$s_!RbpK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ce80b95-120e-4d07-bd2a-848a842ae7f0_1886x1721.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p>The bigger win is across your team. When everyone builds on the same named CTEs (active_users, monthly_revenue, churned_accounts), the same metric gets calculated the same way, everywhere. No more &#8220;why does your revenue number differ from mine&#8221;.</p><blockquote><p>CTEs turn SQL from a wall of nested logic into code that documents itself.</p></blockquote><p>Next Sunday I&#8217;ll walk through a full modular query end to end, so you can see the blocks click into place.</p><p>&#8212;Josep</p><p></p><div><hr></div><h2>Are you still here? &#129488;</h2><p>&#128073;&#127995; I want this newsletter to be useful, so please let me know your feedback!</p><div class="poll-embed" data-attrs="{&quot;id&quot;:816999}" data-component-name="PollToDOM"></div><p>Before you go,<strong> tap the &#128154; button at the bottom of this email to show your support, </strong><em>it really helps and means a lot!</em></p><p><strong>Any doubt? Let&#8217;s start a conversation! &#128071;&#127995;</strong></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.databites.tech/p/the-transformers-architecture/comments&quot;,&quot;text&quot;:&quot;Leave a comment&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://www.databites.tech/p/the-transformers-architecture/comments"><span>Leave a comment</span></a></p><div><hr></div><h2>Want to get more of my content? &#128587;&#127995;&#8205;&#9794;&#65039;</h2><p>Reach me on:</p><ul><li><p><strong><a href="https://www.linkedin.com/in/iamjosepferrer/">LinkedIn</a><span> and</span></strong><span> </span><strong><a href="https://x.com/iamjosepferrer">X (Twitter)</a><span> to get daily posts about Data Science.</span></strong></p></li><li><p><span>My </span><strong><a href="https://medium.com/@iamjosepferrer">Medium</a></strong><a href="https://medium.com/@rfeers"> </a><strong><a href="https://medium.com/@rfeers">Blog</a></strong><span> to learn more about Data Science, Machine Learning, and AI.</span></p></li><li><p>Just email me at rfeers@gmail.com for any inquiries or to ask for help! &#129299;</p></li></ul>]]></content:encoded></item><item><title><![CDATA[Mastering SQL JOINs]]></title><description><![CDATA[Some weeks ago we broke down SQL&#8217;s execution order with Join:]]></description><link>https://reads.databites.tech/p/sql-joins-cheatsheet</link><guid isPermaLink="false">https://reads.databites.tech/p/sql-joins-cheatsheet</guid><dc:creator><![CDATA[Josep Ferrer]]></dc:creator><pubDate>Sun, 12 Jul 2026 10:00:50 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/84542a2b-a023-4fcf-806b-0692afe833a5_1465x1057.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>A few weeks back we broke down SQL's execution order.</p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;b07a8725-e6c3-4caf-bd4b-bd6e3271f682&quot;,&quot;caption&quot;:&quot;Last week we broke down SQL&#8217;s execution order: your clauses don&#8217;t run in the order you write them. FROM first, SELECT fifth.&quot;,&quot;cta&quot;:null,&quot;showBylines&quot;:true,&quot;showDescription&quot;:true,&quot;showImage&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;Mastering SQL Execution Order with JOINs&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:132707413,&quot;name&quot;:&quot;Josep Ferrer&quot;,&quot;bio&quot;:&quot;Outstand using data -- Data Science, Design and Tech Tech Writer @KDnuggets @DataCamp &#128073;&#127995;Inquiries in rfeers@gmail.com&quot;,&quot;photo_url&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd196b5a6-59f2-46dd-99b3-e10ab1bbd27d_604x604.png&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2026-06-07T10:53:30.038Z&quot;,&quot;cover_image&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f4c250ac-d319-4962-a19b-ebd904699056_1465x1057.png&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://reads.databites.tech/p/mastering-sql-execution-order-with-fbd&quot;,&quot;section_name&quot;:&quot;Visual Bites&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:199916862,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:11,&quot;comment_count&quot;:0,&quot;publication_id&quot;:2143185,&quot;publication_name&quot;:&quot;databites&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!nYiM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F151064b1-1b76-4f6d-adaf-0efcacff80d1_281x281.png&quot;,&quot;belowTheFold&quot;:false,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><p>Today we go one layer deeper: the joins themselves.</p><p>Merging tables is where SQL gets real. And where most people get stuck. </p><p>LEFT, RIGHT, INNER, FULL. </p><blockquote><p>Which one when? </p><p>What happens to unmatched rows?</p></blockquote><p>Here&#8217;s the full cheatsheet &#128071;&#127995;</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!mcpQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c95f951-3236-4aec-9cb2-6753cbabed78_3693x4043.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!mcpQ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c95f951-3236-4aec-9cb2-6753cbabed78_3693x4043.png 424w, https://substackcdn.com/image/fetch/$s_!mcpQ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c95f951-3236-4aec-9cb2-6753cbabed78_3693x4043.png 848w, https://substackcdn.com/image/fetch/$s_!mcpQ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c95f951-3236-4aec-9cb2-6753cbabed78_3693x4043.png 1272w, https://substackcdn.com/image/fetch/$s_!mcpQ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c95f951-3236-4aec-9cb2-6753cbabed78_3693x4043.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!mcpQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c95f951-3236-4aec-9cb2-6753cbabed78_3693x4043.png" width="1456" height="1594" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2c95f951-3236-4aec-9cb2-6753cbabed78_3693x4043.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1594,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2159614,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://reads.databites.tech/i/206671419?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c95f951-3236-4aec-9cb2-6753cbabed78_3693x4043.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!mcpQ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c95f951-3236-4aec-9cb2-6753cbabed78_3693x4043.png 424w, https://substackcdn.com/image/fetch/$s_!mcpQ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c95f951-3236-4aec-9cb2-6753cbabed78_3693x4043.png 848w, https://substackcdn.com/image/fetch/$s_!mcpQ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c95f951-3236-4aec-9cb2-6753cbabed78_3693x4043.png 1272w, https://substackcdn.com/image/fetch/$s_!mcpQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c95f951-3236-4aec-9cb2-6753cbabed78_3693x4043.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h1>The Magic of SQL Joins</h1><p>In the world of databases, data often resides in separate tables. SQL Joins allow you to combine these tables in meaningful ways, giving you the power to extract insights that would otherwise remain buried.</p><p>But let&#8217;s face it: Joins can be confusing.</p><blockquote><p><em>Which one do you use? </em></p><p><em>What happens to rows that don&#8217;t match?</em></p></blockquote><p>This week, we break it all down with the <strong>SQL Joins Cheatsheet</strong> to clarify these concepts. To do so, we will use two dummy tables as example:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!bJ_6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52740b3b-f4b3-4d6b-a7d7-9bd128a8fe01_3372x1214.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!bJ_6!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52740b3b-f4b3-4d6b-a7d7-9bd128a8fe01_3372x1214.png 424w, https://substackcdn.com/image/fetch/$s_!bJ_6!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52740b3b-f4b3-4d6b-a7d7-9bd128a8fe01_3372x1214.png 848w, https://substackcdn.com/image/fetch/$s_!bJ_6!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52740b3b-f4b3-4d6b-a7d7-9bd128a8fe01_3372x1214.png 1272w, https://substackcdn.com/image/fetch/$s_!bJ_6!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52740b3b-f4b3-4d6b-a7d7-9bd128a8fe01_3372x1214.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!bJ_6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52740b3b-f4b3-4d6b-a7d7-9bd128a8fe01_3372x1214.png" width="1456" height="524" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/52740b3b-f4b3-4d6b-a7d7-9bd128a8fe01_3372x1214.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:524,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:307783,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!bJ_6!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52740b3b-f4b3-4d6b-a7d7-9bd128a8fe01_3372x1214.png 424w, https://substackcdn.com/image/fetch/$s_!bJ_6!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52740b3b-f4b3-4d6b-a7d7-9bd128a8fe01_3372x1214.png 848w, https://substackcdn.com/image/fetch/$s_!bJ_6!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52740b3b-f4b3-4d6b-a7d7-9bd128a8fe01_3372x1214.png 1272w, https://substackcdn.com/image/fetch/$s_!bJ_6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52740b3b-f4b3-4d6b-a7d7-9bd128a8fe01_3372x1214.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h2>#1. <strong>Left Join</strong></h2><ul><li><p><strong>What it does:</strong> Returns all records from table A and the matching records from table B. Rows in A without matches in B will still appear, with NULL values for B.</p></li><li><p><strong>Use case:</strong> When you want all data from the left table, regardless of matches in the right table.</p></li></ul><pre><code><code>SELECT *  
FROM A  
LEFT JOIN B  
ON A.KEY = B.KEY  </code></code></pre><p><strong>Query Example:</strong></p><pre><code><code>SELECT
    A.A_KEY,
    A.A_NAME,
    A.CITY,
    B.B_KEY,
    B.DEPARTMENT,
    B.EMPLOYMENT_STATUS
FROM TableA A
LEFT JOIN TableB B
    ON A.A_KEY = B.B_KEY;</code></code></pre><p><strong>What it does:</strong><br>Returns all rows from <strong>TableA</strong>, along with the matching rows from <strong>TableB</strong>. Rows in <strong>A</strong> that have no matching <strong>B_KEY</strong> will have NULL for columns from <strong>B</strong>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!KInE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Facc3eeb8-5fcf-40d7-9554-8d1e916b1ab9_1028x370.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!KInE!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Facc3eeb8-5fcf-40d7-9554-8d1e916b1ab9_1028x370.png 424w, https://substackcdn.com/image/fetch/$s_!KInE!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Facc3eeb8-5fcf-40d7-9554-8d1e916b1ab9_1028x370.png 848w, https://substackcdn.com/image/fetch/$s_!KInE!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Facc3eeb8-5fcf-40d7-9554-8d1e916b1ab9_1028x370.png 1272w, https://substackcdn.com/image/fetch/$s_!KInE!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Facc3eeb8-5fcf-40d7-9554-8d1e916b1ab9_1028x370.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!KInE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Facc3eeb8-5fcf-40d7-9554-8d1e916b1ab9_1028x370.png" width="1028" height="370" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/acc3eeb8-5fcf-40d7-9554-8d1e916b1ab9_1028x370.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:370,&quot;width&quot;:1028,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:51045,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!KInE!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Facc3eeb8-5fcf-40d7-9554-8d1e916b1ab9_1028x370.png 424w, https://substackcdn.com/image/fetch/$s_!KInE!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Facc3eeb8-5fcf-40d7-9554-8d1e916b1ab9_1028x370.png 848w, https://substackcdn.com/image/fetch/$s_!KInE!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Facc3eeb8-5fcf-40d7-9554-8d1e916b1ab9_1028x370.png 1272w, https://substackcdn.com/image/fetch/$s_!KInE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Facc3eeb8-5fcf-40d7-9554-8d1e916b1ab9_1028x370.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h2>#2. <strong>Right Join</strong></h2><ul><li><p><strong>What it does:</strong> Similar to Left Join but focuses on the right table (B). All rows from B are included, and unmatched rows from A appear as NULL.</p></li><li><p><strong>Use case:</strong> When your primary focus is on the right table.</p></li></ul><pre><code><code>SELECT *  
FROM A  
RIGHT JOIN B  
ON A.KEY = B.KEY  </code></code></pre><p><strong>Query Example:</strong></p><pre><code><code>SELECT
    A.A_KEY,
    A.A_NAME,
    A.CITY,
    B.B_KEY,
    B.DEPARTMENT,
    B.EMPLOYMENT_STATUS
FROM TableA A
RIGHT JOIN TableB B
    ON A.A_KEY = B.B_KEY;
</code></code></pre><p><strong>What it does:</strong><br>Returns all rows from <strong>TableB</strong>, plus the matching rows from <strong>TableA</strong>. Rows in <strong>B</strong> with no matching <strong>A_KEY</strong> will have NULL for columns from <strong>A</strong>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!jQbS!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0fecfb71-ee57-43d3-bd75-f02a8895b036_1028x306.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!jQbS!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0fecfb71-ee57-43d3-bd75-f02a8895b036_1028x306.png 424w, https://substackcdn.com/image/fetch/$s_!jQbS!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0fecfb71-ee57-43d3-bd75-f02a8895b036_1028x306.png 848w, https://substackcdn.com/image/fetch/$s_!jQbS!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0fecfb71-ee57-43d3-bd75-f02a8895b036_1028x306.png 1272w, https://substackcdn.com/image/fetch/$s_!jQbS!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0fecfb71-ee57-43d3-bd75-f02a8895b036_1028x306.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!jQbS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0fecfb71-ee57-43d3-bd75-f02a8895b036_1028x306.png" width="1028" height="306" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0fecfb71-ee57-43d3-bd75-f02a8895b036_1028x306.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:306,&quot;width&quot;:1028,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:45954,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!jQbS!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0fecfb71-ee57-43d3-bd75-f02a8895b036_1028x306.png 424w, https://substackcdn.com/image/fetch/$s_!jQbS!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0fecfb71-ee57-43d3-bd75-f02a8895b036_1028x306.png 848w, https://substackcdn.com/image/fetch/$s_!jQbS!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0fecfb71-ee57-43d3-bd75-f02a8895b036_1028x306.png 1272w, https://substackcdn.com/image/fetch/$s_!jQbS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0fecfb71-ee57-43d3-bd75-f02a8895b036_1028x306.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>We can replicate the same JOINs as before, but this time without overlapping!</p><h3>#3. <strong>Left Join (Without Overlapping)</strong></h3><ul><li><p><strong>What it does:</strong> Retrieves rows from table A that don&#8217;t have a match in table B.</p></li><li><p><strong>Use case:</strong> Finding records in A that are missing corresponding data in B.</p></li></ul><pre><code><code>SELECT *  
FROM A  
LEFT JOIN B  
ON A.KEY = B.KEY  
WHERE B.KEY IS NULL  </code></code></pre><p><strong>Query Example</strong></p><pre><code><code>SELECT
    A.A_KEY,
    A.A_NAME,
    A.CITY,
    B.B_KEY,
    B.DEPARTMENT,
    B.EMPLOYMENT_STATUS
FROM TableA A
LEFT JOIN TableB B
    ON A.A_KEY = B.B_KEY
WHERE B.B_KEY IS NULL;</code></code></pre><p><strong>What it does:</strong><br>Fetches only the rows from <strong>TableA</strong> that <strong>do not</strong> have a match in <strong>TableB</strong>.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!sFFM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83d0ef79-f026-42ca-b291-43c59acd5773_1028x242.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!sFFM!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83d0ef79-f026-42ca-b291-43c59acd5773_1028x242.png 424w, https://substackcdn.com/image/fetch/$s_!sFFM!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83d0ef79-f026-42ca-b291-43c59acd5773_1028x242.png 848w, https://substackcdn.com/image/fetch/$s_!sFFM!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83d0ef79-f026-42ca-b291-43c59acd5773_1028x242.png 1272w, https://substackcdn.com/image/fetch/$s_!sFFM!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83d0ef79-f026-42ca-b291-43c59acd5773_1028x242.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!sFFM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83d0ef79-f026-42ca-b291-43c59acd5773_1028x242.png" width="1028" height="242" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/83d0ef79-f026-42ca-b291-43c59acd5773_1028x242.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:242,&quot;width&quot;:1028,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:38690,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!sFFM!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83d0ef79-f026-42ca-b291-43c59acd5773_1028x242.png 424w, https://substackcdn.com/image/fetch/$s_!sFFM!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83d0ef79-f026-42ca-b291-43c59acd5773_1028x242.png 848w, https://substackcdn.com/image/fetch/$s_!sFFM!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83d0ef79-f026-42ca-b291-43c59acd5773_1028x242.png 1272w, https://substackcdn.com/image/fetch/$s_!sFFM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83d0ef79-f026-42ca-b291-43c59acd5773_1028x242.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><h3>#4. <strong>Right Join (Without Overlapping)</strong></h3><ul><li><p><strong>What it does:</strong> The reverse of the above, returns rows in table B without matches in table A.</p></li><li><p><strong>Use case:</strong> Finding records in B that don&#8217;t correspond to A.</p></li></ul><pre><code><code>SELECT *  
FROM A  
RIGHT JOIN B  
ON A.KEY = B.KEY  
WHERE A.KEY IS NULL  </code></code></pre><p><strong>Query Example:</strong></p><pre><code><code>SELECT
    A.A_KEY,
    A.A_NAME,
    A.CITY,
    B.B_KEY,
    B.DEPARTMENT,
    B.EMPLOYMENT_STATUS
FROM TableA A
RIGHT JOIN TableB B
    ON A.A_KEY = B.B_KEY
WHERE A.A_KEY IS NULL;</code></code></pre><p><strong>What it does:</strong><br>Fetches only the rows from <strong>TableB</strong> that <strong>do not</strong> have a match in <strong>TableA</strong>.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!qbfw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F602424b3-12b9-4e09-826e-2539dc655167_1022x188.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!qbfw!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F602424b3-12b9-4e09-826e-2539dc655167_1022x188.png 424w, https://substackcdn.com/image/fetch/$s_!qbfw!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F602424b3-12b9-4e09-826e-2539dc655167_1022x188.png 848w, https://substackcdn.com/image/fetch/$s_!qbfw!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F602424b3-12b9-4e09-826e-2539dc655167_1022x188.png 1272w, https://substackcdn.com/image/fetch/$s_!qbfw!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F602424b3-12b9-4e09-826e-2539dc655167_1022x188.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!qbfw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F602424b3-12b9-4e09-826e-2539dc655167_1022x188.png" width="1022" height="188" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/602424b3-12b9-4e09-826e-2539dc655167_1022x188.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:188,&quot;width&quot;:1022,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:33189,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!qbfw!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F602424b3-12b9-4e09-826e-2539dc655167_1022x188.png 424w, https://substackcdn.com/image/fetch/$s_!qbfw!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F602424b3-12b9-4e09-826e-2539dc655167_1022x188.png 848w, https://substackcdn.com/image/fetch/$s_!qbfw!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F602424b3-12b9-4e09-826e-2539dc655167_1022x188.png 1272w, https://substackcdn.com/image/fetch/$s_!qbfw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F602424b3-12b9-4e09-826e-2539dc655167_1022x188.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><h3>#5. <strong>Full Join</strong></h3><ul><li><p><strong>What it does:</strong> Combines all records from both tables. Rows with no match in either table appear with NULLs.</p></li><li><p><strong>Use case:</strong> When you need a complete overview of data in both tables.</p></li></ul><pre><code><code>SELECT *  
FROM A  
FULL OUTER JOIN B  
ON A.KEY = B.KEY  
</code></code></pre><p><strong>Query Example:</strong></p><pre><code><code>SELECT
    A.A_KEY,
    A.A_NAME,
    A.CITY,
    B.B_KEY,
    B.DEPARTMENT,
    B.EMPLOYMENT_STATUS
FROM TableA A
FULL OUTER JOIN TableB B
    ON A.A_KEY = B.B_KEY;</code></code></pre><p><strong>What it does:</strong><br>Returns all rows from both <strong>TableA</strong> and <strong>TableB</strong>. Rows without matches in the other table will show NULL in those table&#8217;s columns.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!bmOC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b083f78-eec0-4b99-a997-fc92f82486bb_1022x438.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!bmOC!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b083f78-eec0-4b99-a997-fc92f82486bb_1022x438.png 424w, https://substackcdn.com/image/fetch/$s_!bmOC!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b083f78-eec0-4b99-a997-fc92f82486bb_1022x438.png 848w, https://substackcdn.com/image/fetch/$s_!bmOC!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b083f78-eec0-4b99-a997-fc92f82486bb_1022x438.png 1272w, https://substackcdn.com/image/fetch/$s_!bmOC!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b083f78-eec0-4b99-a997-fc92f82486bb_1022x438.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!bmOC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b083f78-eec0-4b99-a997-fc92f82486bb_1022x438.png" width="1022" height="438" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6b083f78-eec0-4b99-a997-fc92f82486bb_1022x438.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:438,&quot;width&quot;:1022,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:60768,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!bmOC!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b083f78-eec0-4b99-a997-fc92f82486bb_1022x438.png 424w, https://substackcdn.com/image/fetch/$s_!bmOC!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b083f78-eec0-4b99-a997-fc92f82486bb_1022x438.png 848w, https://substackcdn.com/image/fetch/$s_!bmOC!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b083f78-eec0-4b99-a997-fc92f82486bb_1022x438.png 1272w, https://substackcdn.com/image/fetch/$s_!bmOC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b083f78-eec0-4b99-a997-fc92f82486bb_1022x438.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>#6. <strong>Inner Join</strong></h3><ul><li><p><strong>What it does:</strong> Returns only the rows with matching keys in both tables.</p></li><li><p><strong>Use case:</strong> Perfect for extracting overlapping data.</p></li></ul><pre><code><code>SELECT *  
FROM A  
INNER JOIN B  
ON A.KEY = B.KEY  </code></code></pre><p><strong>Query Example:</strong></p><pre><code><code>SELECT
    A.A_KEY,
    A.A_NAME,
    A.CITY,
    B.B_KEY,
    B.DEPARTMENT,
    B.EMPLOYMENT_STATUS
FROM TableA A
INNER JOIN TableB B
    ON A.A_KEY = B.B_KEY;</code></code></pre><p><strong>What it does:</strong><br>Returns only rows where <strong>TableA</strong> and <strong>TableB</strong> share the same key. Rows that don&#8217;t overlap on <strong>A_KEY = B_KEY</strong> are excluded entirely.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!9tel!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1b3e1cd-1031-429f-96fd-7d4e7dd3e1f2_1022x242.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!9tel!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1b3e1cd-1031-429f-96fd-7d4e7dd3e1f2_1022x242.png 424w, https://substackcdn.com/image/fetch/$s_!9tel!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1b3e1cd-1031-429f-96fd-7d4e7dd3e1f2_1022x242.png 848w, https://substackcdn.com/image/fetch/$s_!9tel!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1b3e1cd-1031-429f-96fd-7d4e7dd3e1f2_1022x242.png 1272w, https://substackcdn.com/image/fetch/$s_!9tel!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1b3e1cd-1031-429f-96fd-7d4e7dd3e1f2_1022x242.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!9tel!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1b3e1cd-1031-429f-96fd-7d4e7dd3e1f2_1022x242.png" width="1022" height="242" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c1b3e1cd-1031-429f-96fd-7d4e7dd3e1f2_1022x242.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:242,&quot;width&quot;:1022,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:35728,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!9tel!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1b3e1cd-1031-429f-96fd-7d4e7dd3e1f2_1022x242.png 424w, https://substackcdn.com/image/fetch/$s_!9tel!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1b3e1cd-1031-429f-96fd-7d4e7dd3e1f2_1022x242.png 848w, https://substackcdn.com/image/fetch/$s_!9tel!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1b3e1cd-1031-429f-96fd-7d4e7dd3e1f2_1022x242.png 1272w, https://substackcdn.com/image/fetch/$s_!9tel!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1b3e1cd-1031-429f-96fd-7d4e7dd3e1f2_1022x242.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><h3>#7. <strong>Full Join (Without Overlapping)</strong></h3><ul><li><p><strong>What it does:</strong> Shows all records from both tables, excluding matches. Think of it as highlighting the differences between the two tables.</p></li><li><p><strong>Use case:</strong> Identifying discrepancies between datasets.</p></li></ul><pre><code><code>SELECT *  
FROM A  
FULL OUTER JOIN B  
ON A.KEY = B.KEY  
WHERE A.KEY IS NULL OR B.KEY IS NULL  

</code></code></pre><p><strong>Query Example:</strong></p><pre><code><code>SELECT
    A.A_KEY,
    A.A_NAME,
    A.CITY,
    B.B_KEY,
    B.DEPARTMENT,
    B.EMPLOYMENT_STATUS
FROM TableA A
FULL OUTER JOIN TableB B
    ON A.A_KEY = B.B_KEY
WHERE A.A_KEY IS NULL
   OR B.B_KEY IS NULL;
</code></code></pre><p><strong>What it does:</strong><br>Returns <strong>only</strong> rows that do <strong>not</strong> match (show the differences) across <strong>TableA</strong> and <strong>TableB</strong>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!GZIV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F089f8ec1-2ced-4315-a6eb-ccf159b1354a_1022x314.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!GZIV!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F089f8ec1-2ced-4315-a6eb-ccf159b1354a_1022x314.png 424w, https://substackcdn.com/image/fetch/$s_!GZIV!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F089f8ec1-2ced-4315-a6eb-ccf159b1354a_1022x314.png 848w, https://substackcdn.com/image/fetch/$s_!GZIV!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F089f8ec1-2ced-4315-a6eb-ccf159b1354a_1022x314.png 1272w, https://substackcdn.com/image/fetch/$s_!GZIV!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F089f8ec1-2ced-4315-a6eb-ccf159b1354a_1022x314.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!GZIV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F089f8ec1-2ced-4315-a6eb-ccf159b1354a_1022x314.png" width="1022" height="314" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/089f8ec1-2ced-4315-a6eb-ccf159b1354a_1022x314.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:314,&quot;width&quot;:1022,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:48165,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!GZIV!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F089f8ec1-2ced-4315-a6eb-ccf159b1354a_1022x314.png 424w, https://substackcdn.com/image/fetch/$s_!GZIV!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F089f8ec1-2ced-4315-a6eb-ccf159b1354a_1022x314.png 848w, https://substackcdn.com/image/fetch/$s_!GZIV!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F089f8ec1-2ced-4315-a6eb-ccf159b1354a_1022x314.png 1272w, https://substackcdn.com/image/fetch/$s_!GZIV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F089f8ec1-2ced-4315-a6eb-ccf159b1354a_1022x314.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>How to Read the Results &#129300;</h3><ul><li><p><strong>Left Join</strong>: Everything from <strong>A</strong> plus matches from <strong>B</strong>. Unmatched rows in <strong>A</strong> still appear.</p></li><li><p><strong>Right Join</strong>: Everything from <strong>B</strong> plus matches from <strong>A</strong>. Unmatched rows in <strong>B</strong> still appear.</p></li><li><p><strong>Left/Right Join (Without Overlapping)</strong>: Only the unmatched rows from <strong>A</strong> or <strong>B</strong>, respectively.</p></li><li><p><strong>Full Join</strong>: All rows from both tables, showing NULLs where no match is found.</p></li><li><p><strong>Inner Join</strong>: Only overlapping rows (keys present in <strong>both</strong> tables).</p></li><li><p><strong>Full Join (Without Overlapping)</strong>: All rows that <strong>don&#8217;t</strong> overlap, so we can check the discrepancies between the tables.</p></li></ul><p>&#8212;Josep</p><div><hr></div><h2>Are you still here? &#129488;</h2><p>&#128073;&#127995; I want this newsletter to be useful, so please let me know your feedback!</p><div class="poll-embed" data-attrs="{&quot;id&quot;:769970}" data-component-name="PollToDOM"></div><p>Before you go,<strong> tap the &#128154; button at the bottom of this email to show your support, </strong><em>it really helps and means a lot!</em></p><p><strong>Any doubt? Let&#8217;s start a conversation! &#128071;&#127995;</strong></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.databites.tech/p/the-transformers-architecture/comments&quot;,&quot;text&quot;:&quot;Leave a comment&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://www.databites.tech/p/the-transformers-architecture/comments"><span>Leave a comment</span></a></p><div><hr></div><h2>Want to get more of my content? &#128587;&#127995;&#8205;&#9794;&#65039;</h2><p>Reach me on:</p><ul><li><p><strong><a href="https://www.linkedin.com/in/iamjosepferrer/">LinkedIn</a><span> and</span></strong><span> </span><strong><a href="https://x.com/iamjosepferrer">X (Twitter)</a><span> to get daily posts about Data Science.</span></strong></p></li><li><p><span>My </span><strong><a href="https://medium.com/@iamjosepferrer">Medium</a></strong><a href="https://medium.com/@rfeers"> </a><strong><a href="https://medium.com/@rfeers">Blog</a></strong><span> to learn more about Data Science, Machine Learning, and AI.</span></p></li><li><p>Just email me at rfeers@gmail.com for any inquiries or to ask for help! &#129299;</p></li></ul>]]></content:encoded></item><item><title><![CDATA[Understanding Data Collection with APIs]]></title><description><![CDATA[A hands-on guide to collecting structured data with Python and real-world APIs]]></description><link>https://reads.databites.tech/p/understanding-data-collection-with</link><guid isPermaLink="false">https://reads.databites.tech/p/understanding-data-collection-with</guid><dc:creator><![CDATA[Josep Ferrer]]></dc:creator><pubDate>Mon, 06 Jul 2026 09:33:25 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/22d64332-aece-4e6c-85e8-22b2eed67169_1465x1057.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In today&#8217;s world, knowing how to collect clean, relevant, and timely data is essential for any data professional. While there are many ways to gather data, one of the most reliable and scalable methods is through <strong>APIs (Application Programming Interfaces)</strong>.</p><div class="pullquote"><p>Cheatsheet &amp; Code in the end &#8252;&#65039;</p></div><p>In this issue, we&#8217;ll break down the essentials of using APIs for data&#8230;</p>
      <p>
          <a href="https://reads.databites.tech/p/understanding-data-collection-with">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Understanding The Decoder (Part III) ]]></title><description><![CDATA[Decoding the Encoder: A Deep Dive into Transformer Architecture]]></description><link>https://reads.databites.tech/p/understanding-the-decoder-part-iii</link><guid isPermaLink="false">https://reads.databites.tech/p/understanding-the-decoder-part-iii</guid><dc:creator><![CDATA[Josep Ferrer]]></dc:creator><pubDate>Sun, 28 Jun 2026 10:02:36 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/2d7eac57-91dd-4df5-bf4a-5c9871da088c_1465x1057.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>This article is the third (and last!) part of a <strong>three-part deep dive</strong> into one of the most revolutionary AI architectures of our time:</p><blockquote><p><strong>Transformers.</strong></p></blockquote><p>Here&#8217;s what&#8217;s coming your way:</p><p>&#9989; <strong>Week 1:</strong> Understanding the Transformers architecture &#8594;<strong> <a href="https://reads.databites.tech/p/the-transformers-architecture-part">Link</a></strong><br>&#9989; <strong>Week 2: </strong>The Encoder &#8594; <strong><a href="https://reads.databites.tech/p/understanding-the-encoder-part-ii">Link</a></strong><br>&#9989; <strong>Week 3:</strong> The Decoder &#8594; <strong><a href="https://reads.databites.tech/p/understanding-the-decoder-part-iii">Link</a></strong></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://reads.databites.tech/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://reads.databites.tech/subscribe?"><span>Subscribe now</span></a></p><h2><strong>Understanding the Decoder - Part III</strong></h2><p>The <strong>decoder&#8217;s primary role</strong> &#8230;</p>
      <p>
          <a href="https://reads.databites.tech/p/understanding-the-decoder-part-iii">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Understanding The Encoder (Part II) ]]></title><description><![CDATA[Decoding the Encoder: A Deep Dive into Transformer Architecture]]></description><link>https://reads.databites.tech/p/understanding-the-encoder-part-ii</link><guid isPermaLink="false">https://reads.databites.tech/p/understanding-the-encoder-part-ii</guid><dc:creator><![CDATA[Josep Ferrer]]></dc:creator><pubDate>Sun, 21 Jun 2026 10:02:06 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/0f995612-f190-4a22-91db-496ca1408798_1465x1057.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>This article is the second part of a <strong>three-part deep dive</strong> into one of the most revolutionary AI architectures of our time:</p><blockquote><p><strong>Transformers</strong></p></blockquote><p>Here&#8217;s what&#8217;s coming your way:</p><p>&#9989; <strong>Week 1:</strong> Understanding the Transformers architecture  &#8594; <strong><a href="https://reads.databites.tech/p/the-transformers-architecture-part">Link</a></strong><br>&#9989; <strong>Week 2:</strong> The Encoder &#8594; <strong><a href="https://reads.databites.tech/p/understanding-the-encoder-part-ii">Link</a></strong><br>&#128284; <strong>Week 3:</strong> The Decoder &#8594; Coming next 28th June 2026</p><h2><strong>Understanding the Encoder - Part II</strong></h2><p>The encoder is a<strong>&#8230;</strong></p>
      <p>
          <a href="https://reads.databites.tech/p/understanding-the-encoder-part-ii">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[The Transformers Architecture (Part I)]]></title><description><![CDATA[Demystifying Transformers: A Three-Part Deep Dive into AI&#8217;s Most Powerful Architecture]]></description><link>https://reads.databites.tech/p/the-transformers-architecture-part</link><guid isPermaLink="false">https://reads.databites.tech/p/the-transformers-architecture-part</guid><dc:creator><![CDATA[Josep Ferrer]]></dc:creator><pubDate>Sun, 14 Jun 2026 10:02:12 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/7ebd9cbd-3944-4c3a-afd5-807f2ecb0f98_1465x1057.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>This article aims to  kicking off a <strong>three-part deep dive</strong> into one of the most revolutionary AI architectures of our time:</p><blockquote><p><strong>Transformers.</strong></p></blockquote><p>Here&#8217;s what&#8217;s coming your way:</p><p>&#9989; <strong>Week 1:</strong> Understanding the Transformers architecture <br>&#128284; <strong>Week 2:</strong> The Encoder &#8594; Coming next 21st June 2026<br>&#128284; <strong>Week 3:</strong> The Decoder &#8594; Coming next 28th June 2026</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://reads.databites.tech/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://reads.databites.tech/subscribe?"><span>Subscribe now</span></a></p><h2><strong>The Transformers Architecture - Par&#8230;</strong></h2>
      <p>
          <a href="https://reads.databites.tech/p/the-transformers-architecture-part">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Mastering SQL Execution Order with JOINs]]></title><description><![CDATA[Mastering SQL Execution Order: How Queries Really Run Behind the Scenes]]></description><link>https://reads.databites.tech/p/mastering-sql-execution-order-with-fbd</link><guid isPermaLink="false">https://reads.databites.tech/p/mastering-sql-execution-order-with-fbd</guid><dc:creator><![CDATA[Josep Ferrer]]></dc:creator><pubDate>Sun, 07 Jun 2026 10:53:30 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/f4c250ac-d319-4962-a19b-ebd904699056_1465x1057.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Last week we broke down SQL&#8217;s execution order: your clauses don&#8217;t run in the order you write them. <code>FROM</code> first, <code>SELECT</code> fifth.</p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;1999acf4-d3b4-4e61-9460-4424a272ec6d&quot;,&quot;caption&quot;:&quot;Every SQL query runs in two different orders.&quot;,&quot;cta&quot;:null,&quot;showBylines&quot;:true,&quot;showDescription&quot;:true,&quot;showImage&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;You write SELECT first. SQL runs it fifth.&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:132707413,&quot;name&quot;:&quot;Josep Ferrer&quot;,&quot;bio&quot;:&quot;Outstand using data -- Data Science, Design and Tech Tech Writer @KDnuggets @DataCamp &#128073;&#127995;Inquiries in rfeers@gmail.com&quot;,&quot;photo_url&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd196b5a6-59f2-46dd-99b3-e10ab1bbd27d_604x604.png&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2026-05-31T09:30:56.677Z&quot;,&quot;cover_image&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/900e252c-6d06-4959-a1c7-056a30f82ccb_1465x1057.png&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://reads.databites.tech/p/sql-execution-order-declarative-language-data&quot;,&quot;section_name&quot;:&quot;Visual Bites&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:199918147,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:12,&quot;comment_count&quot;:0,&quot;publication_id&quot;:2143185,&quot;publication_name&quot;:&quot;databites.tech&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!nYiM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F151064b1-1b76-4f6d-adaf-0efcacff80d1_281x281.png&quot;,&quot;belowTheFold&quot;:false,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><p>With one table, that&#8217;s easy to hold in your head. Add a <code>JOIN</code>, and one question trips up almost everyone: when you combine two tables and then filter them, what runs first?</p><p>The <code>JOIN</code>. It builds the combined table before any filter tou&#8230;</p>
      <p>
          <a href="https://reads.databites.tech/p/mastering-sql-execution-order-with-fbd">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[You write SELECT first. SQL runs it fifth.]]></title><description><![CDATA[The hidden order your database uses to run every query, and why it explains your most confusing errors.]]></description><link>https://reads.databites.tech/p/sql-execution-order-declarative-language-data</link><guid isPermaLink="false">https://reads.databites.tech/p/sql-execution-order-declarative-language-data</guid><dc:creator><![CDATA[Josep Ferrer]]></dc:creator><pubDate>Sun, 31 May 2026 09:30:56 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/900e252c-6d06-4959-a1c7-056a30f82ccb_1465x1057.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Every SQL query runs in two different orders.</p><p><strong>The one you wrote. And the one your database actually uses to run it.</strong></p><p>That&#8217;s it. Strip away the syntax, and that&#8217;s what&#8217;s happening underneath: the clauses you typed top to bottom get quietly reshuffled into a completely different sequence before a single row is touched.</p><p>Most people learn to <em>write</em> SQL. Almost n&#8230;</p>
      <p>
          <a href="https://reads.databites.tech/p/sql-execution-order-declarative-language-data">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[The Art and Science of Data Visualization]]></title><description><![CDATA[Transforming raw data into compelling visual stories.]]></description><link>https://reads.databites.tech/p/the-art-and-science-of-data-visualization-92d</link><guid isPermaLink="false">https://reads.databites.tech/p/the-art-and-science-of-data-visualization-92d</guid><dc:creator><![CDATA[Josep Ferrer]]></dc:creator><pubDate>Sun, 24 May 2026 16:23:00 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/ca2b89c0-3d80-4746-b132-a27afda59aab_1465x1057.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Every chart you&#8217;ve ever seen is built from exactly two things.</p><p><strong>Data. And a design decision.</strong></p><p>That&#8217;s it. Strip away the complexity and that&#8217;s what you&#8217;re left with, what information you&#8217;re showing, and how you&#8217;re choosing to show it.</p><p>Most people focus on the &#8220;what.&#8221; The best data communicators obsess over the &#8220;how.&#8221;</p><p>Today&#8217;s issue breaks down the foundation of Data Visualization: what a chart actually is, what types of data exist, and how visual encodings work. </p><p><em>Three cheatsheets. One complete picture.</em></p><p>As Alberto Cairo defines in his book The Functional Art:</p><blockquote><p>Data visualization is a collection of methods that use visual representations to explore, make sense of, and communicate quantitative data.</p></blockquote><p>Think of Data Visualization as our compass, guiding us through this numeric ocean, translating vast datasets into meaningful and understandable insights.</p><div class="pullquote"><p>3 DataViz Cheatsheets in the end &#8252;&#65039;</p></div><p><em>So, what constitutes an effective visualization?</em></p><p><em>What differentiates a visualization that illuminates from one that only adds to the confusion?</em></p><p>In our journey today, we delve into the core principles of Data Visualization.</p><p>This article aims to unravel the mysteries of this crucial skill, uncovering how it illuminates the path through the data-driven landscape we navigate daily.</p><p>So let&#8217;s try to understand together the theory behind Data Visualization &#128071;&#127995;</p><h2>The Basics Behind Data Visualization</h2><p>In the Data Science field, <strong>one of the most vital yet challenging skills is the art of storytelling through data.</strong> And this is precisely the field of Data Visualization. A glance at the dictionary definition gives us a clear starting point:</p><blockquote><p><em>&#8220;The act of representing information as a picture, diagram or chart, or a picture that represents information in this way&#8221;</em></p></blockquote><p>At its core, Data Visualization is about shaping a narrative from a dataset. </p><p><strong>It transforms data into a form that is not only digestible and visually appealing but also delivers a powerful impact.</strong></p><p>While it may not have the same reputation (or appeal) as other fields like Machine Learning, Data Visualization is a fundamental aspect of a data scientist&#8217;s toolkit.</p><p>In our modern, data-centric world, think of Data Visualization as a pair of glasses that brings clarity to a blurry scene.</p><p><em>So&#8230; a natural question that arises is, why do we need Data Visualization?</em></p><h2>A Brief Overview of the Data Visualization Field</h2><p>During the XX century, data was predominantly displayed in stark tables, with little consideration for ease of interpretation.</p><p>Not long ago,<strong> the types of charts and graphs we instantly recognize today would have been foreign to people.</strong></p><p>Modern concepts like Pie Charts, Bar Charts, and trend lines are quite modern developments. William Playfair is heralded as one of the pioneers of modern Data Visualization, credited with creating many of the graphical formats we use today.</p><p>And the big question is&#8230; <em>why did he do so?</em></p><p>When trying to identify Scotland&#8217;s most significant economic ties, Playfair realised that crafting a visualization with bars representing the number of importations and exportations for each partner smoothed the process.</p><p>And this is how the Bar Chart was born.</p><h3>Bar Chart&#8202;&#8212;&#8202;1781</h3><p>Bar Chart Playfair&#8217;s bar chart depicted Scotland&#8217;s trade balance with various European territories and the New World.</p><p>A glance at this chart revealed Scotland&#8217;s major trading partners and their respective trade volumes and balances.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!fO0k!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef07b77f-6ca9-4f93-ac79-f9c6dfffb146_500x336.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fO0k!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef07b77f-6ca9-4f93-ac79-f9c6dfffb146_500x336.png 424w, https://substackcdn.com/image/fetch/$s_!fO0k!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef07b77f-6ca9-4f93-ac79-f9c6dfffb146_500x336.png 848w, https://substackcdn.com/image/fetch/$s_!fO0k!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef07b77f-6ca9-4f93-ac79-f9c6dfffb146_500x336.png 1272w, https://substackcdn.com/image/fetch/$s_!fO0k!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef07b77f-6ca9-4f93-ac79-f9c6dfffb146_500x336.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!fO0k!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef07b77f-6ca9-4f93-ac79-f9c6dfffb146_500x336.png" width="500" height="336" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ef07b77f-6ca9-4f93-ac79-f9c6dfffb146_500x336.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:336,&quot;width&quot;:500,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;William Playfair&#8217;s bar chart representing the most important scottish economic partners.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="William Playfair&#8217;s bar chart representing the most important scottish economic partners." title="William Playfair&#8217;s bar chart representing the most important scottish economic partners." srcset="https://substackcdn.com/image/fetch/$s_!fO0k!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef07b77f-6ca9-4f93-ac79-f9c6dfffb146_500x336.png 424w, https://substackcdn.com/image/fetch/$s_!fO0k!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef07b77f-6ca9-4f93-ac79-f9c6dfffb146_500x336.png 848w, https://substackcdn.com/image/fetch/$s_!fO0k!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef07b77f-6ca9-4f93-ac79-f9c6dfffb146_500x336.png 1272w, https://substackcdn.com/image/fetch/$s_!fO0k!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef07b77f-6ca9-4f93-ac79-f9c6dfffb146_500x336.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">William Playfair&#8217;s bar chart represents the most important Scottish economic partners.</figcaption></figure></div><h3>Line Chart&#8202;&#8212;&#8202;1786</h3><p>For England, with more data at his disposal, Playfair was able to produce time-series graphs.</p><p>At a glance, it highlights that until 1755, England had an unfavorable trade balance, which shifted to a favorable one from that year onwards.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!iad0!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77564ccb-1d29-4f97-ba34-468a97f22b27_1280x946.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!iad0!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77564ccb-1d29-4f97-ba34-468a97f22b27_1280x946.png 424w, https://substackcdn.com/image/fetch/$s_!iad0!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77564ccb-1d29-4f97-ba34-468a97f22b27_1280x946.png 848w, https://substackcdn.com/image/fetch/$s_!iad0!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77564ccb-1d29-4f97-ba34-468a97f22b27_1280x946.png 1272w, https://substackcdn.com/image/fetch/$s_!iad0!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77564ccb-1d29-4f97-ba34-468a97f22b27_1280x946.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!iad0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77564ccb-1d29-4f97-ba34-468a97f22b27_1280x946.png" width="1280" height="946" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/77564ccb-1d29-4f97-ba34-468a97f22b27_1280x946.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:946,&quot;width&quot;:1280,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;William Playfair&#8217;s line chart representing the trade balance between England and Norway and Denmark.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="William Playfair&#8217;s line chart representing the trade balance between England and Norway and Denmark." title="William Playfair&#8217;s line chart representing the trade balance between England and Norway and Denmark." srcset="https://substackcdn.com/image/fetch/$s_!iad0!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77564ccb-1d29-4f97-ba34-468a97f22b27_1280x946.png 424w, https://substackcdn.com/image/fetch/$s_!iad0!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77564ccb-1d29-4f97-ba34-468a97f22b27_1280x946.png 848w, https://substackcdn.com/image/fetch/$s_!iad0!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77564ccb-1d29-4f97-ba34-468a97f22b27_1280x946.png 1272w, https://substackcdn.com/image/fetch/$s_!iad0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F77564ccb-1d29-4f97-ba34-468a97f22b27_1280x946.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">William Playfair&#8217;s line chart represents the trade balance between England, Norway and Denmark.</figcaption></figure></div><h3>Pie Chart&#8202;&#8212;&#8202;1801</h3><p>Fifteen years later, in 1801, Playfair designed the first known pie chart. This chart illustrates the proportions of England&#8217;s total trade volume with various regions of the world.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!-WGb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc67633fa-c07c-401d-992e-451425163a06_400x462.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!-WGb!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc67633fa-c07c-401d-992e-451425163a06_400x462.png 424w, https://substackcdn.com/image/fetch/$s_!-WGb!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc67633fa-c07c-401d-992e-451425163a06_400x462.png 848w, https://substackcdn.com/image/fetch/$s_!-WGb!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc67633fa-c07c-401d-992e-451425163a06_400x462.png 1272w, https://substackcdn.com/image/fetch/$s_!-WGb!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc67633fa-c07c-401d-992e-451425163a06_400x462.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!-WGb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc67633fa-c07c-401d-992e-451425163a06_400x462.png" width="400" height="462" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c67633fa-c07c-401d-992e-451425163a06_400x462.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:462,&quot;width&quot;:400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;William Playfair&#8217;s pie chart representing Englan&#8217;d total trade volume with different regions.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="William Playfair&#8217;s pie chart representing Englan&#8217;d total trade volume with different regions." title="William Playfair&#8217;s pie chart representing Englan&#8217;d total trade volume with different regions." srcset="https://substackcdn.com/image/fetch/$s_!-WGb!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc67633fa-c07c-401d-992e-451425163a06_400x462.png 424w, https://substackcdn.com/image/fetch/$s_!-WGb!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc67633fa-c07c-401d-992e-451425163a06_400x462.png 848w, https://substackcdn.com/image/fetch/$s_!-WGb!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc67633fa-c07c-401d-992e-451425163a06_400x462.png 1272w, https://substackcdn.com/image/fetch/$s_!-WGb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc67633fa-c07c-401d-992e-451425163a06_400x462.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">William Playfair&#8217;s pie chart represents England's total trade volume with different regions.</figcaption></figure></div><p>So basically, Data Visualization was born as a way to smooth the process of interpreting data.</p><p>It serves as a vital bridge, particularly for those who aren&#8217;t fluent in the complex languages of numbers and algorithms, allowing them to navigate and comprehend intricate data stories with ease.</p><h2>Data Visualization Basics</h2><p>One of the foundational concepts of the field of Data Visualization is that every chart or graphical representation we encounter is fundamentally constructed from two primary elements:</p><ul><li><p>Data</p></li><li><p>Visual elements</p></li></ul><p>It is quite difficult to attribute this specific statement to a single individual, as this is a basic idea held and expressed by many experts in the field.</p><p>However, one notable figure in Data Visualization who has emphasized the importance of combining data and visual elements effectively is Edward Tufte.</p><p>He has extensively written regarding the principles of good graphical representation, highlighting the interplay between data and visuals in creating meaningful and clear presentations of information.</p><h3>1. The key element: Data</h3><p>When contemplating Data Visualization, it&#8217;s common to first think of numerical data. However, this represents just a fraction of the wide variety of data types at our disposal. For effective visualization, it&#8217;s crucial to recognize and utilize the full spectrum of data types available.</p><p>This spectrum includes both continuous and discrete numerical values. According to Clause O. Wilke, beyond these, data can also manifest as discrete categories, temporal elements (like dates and times), and even textual information.</p><p>Each of these data types brings its own nuances and requires different visualization approaches. To categorize these data types further, we can consider:</p><ul><li><p>Numerical data as <strong>Quantitative,</strong> offering measurable and countable characteristics.</p></li><li><p>Categorical data as <strong>Qualitative</strong>, which includes dates, times, and text. It emphasizes non-numeric aspects and qualities.</p></li></ul><p>Recognizing these categories is fundamental in data visualization as it guides us in choosing the most appropriate and effective methods to represent our data.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!q-IB!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7279366d-d45b-46ea-ae48-07e4e50e1862_1200x685.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!q-IB!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7279366d-d45b-46ea-ae48-07e4e50e1862_1200x685.png 424w, https://substackcdn.com/image/fetch/$s_!q-IB!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7279366d-d45b-46ea-ae48-07e4e50e1862_1200x685.png 848w, https://substackcdn.com/image/fetch/$s_!q-IB!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7279366d-d45b-46ea-ae48-07e4e50e1862_1200x685.png 1272w, https://substackcdn.com/image/fetch/$s_!q-IB!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7279366d-d45b-46ea-ae48-07e4e50e1862_1200x685.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!q-IB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7279366d-d45b-46ea-ae48-07e4e50e1862_1200x685.png" width="1200" height="685" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7279366d-d45b-46ea-ae48-07e4e50e1862_1200x685.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:685,&quot;width&quot;:1200,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!q-IB!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7279366d-d45b-46ea-ae48-07e4e50e1862_1200x685.png 424w, https://substackcdn.com/image/fetch/$s_!q-IB!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7279366d-d45b-46ea-ae48-07e4e50e1862_1200x685.png 848w, https://substackcdn.com/image/fetch/$s_!q-IB!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7279366d-d45b-46ea-ae48-07e4e50e1862_1200x685.png 1272w, https://substackcdn.com/image/fetch/$s_!q-IB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7279366d-d45b-46ea-ae48-07e4e50e1862_1200x685.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Image by Author. Classification extracted from Fundamentals of Data Visualization, O&#8217;Reilly.</figcaption></figure></div><h3>2. The Art of Encoding Data&#8202;&#8212;&#8202;Visual Encodings&#127912;</h3><p>At the heart of Data Visualization lies the skill of visual encoding, where abstract numerical data is transformed into easily understandable graphical forms. This is akin to speaking a universal visual language, where everyone, regardless of their background in data analysis, can interpret the information at a glance.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!G3vp!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e9b291f-a9d0-49b0-8adf-863dd3edd8b4_1597x1083.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!G3vp!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e9b291f-a9d0-49b0-8adf-863dd3edd8b4_1597x1083.png 424w, https://substackcdn.com/image/fetch/$s_!G3vp!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e9b291f-a9d0-49b0-8adf-863dd3edd8b4_1597x1083.png 848w, https://substackcdn.com/image/fetch/$s_!G3vp!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e9b291f-a9d0-49b0-8adf-863dd3edd8b4_1597x1083.png 1272w, https://substackcdn.com/image/fetch/$s_!G3vp!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e9b291f-a9d0-49b0-8adf-863dd3edd8b4_1597x1083.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!G3vp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e9b291f-a9d0-49b0-8adf-863dd3edd8b4_1597x1083.png" width="1456" height="987" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8e9b291f-a9d0-49b0-8adf-863dd3edd8b4_1597x1083.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:987,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Visual Encoding of data. Image by the author.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Visual Encoding of data. Image by the author." title="Visual Encoding of data. Image by the author." srcset="https://substackcdn.com/image/fetch/$s_!G3vp!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e9b291f-a9d0-49b0-8adf-863dd3edd8b4_1597x1083.png 424w, https://substackcdn.com/image/fetch/$s_!G3vp!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e9b291f-a9d0-49b0-8adf-863dd3edd8b4_1597x1083.png 848w, https://substackcdn.com/image/fetch/$s_!G3vp!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e9b291f-a9d0-49b0-8adf-863dd3edd8b4_1597x1083.png 1272w, https://substackcdn.com/image/fetch/$s_!G3vp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e9b291f-a9d0-49b0-8adf-863dd3edd8b4_1597x1083.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Interestingly, diverse visualization types, such as scatterplots, pie charts, and heatmaps, share a common visual dialect.</p><p>This shared language is all about converting data values into visual elements&#8202;&#8212;&#8202;think of it as turning cold numbers into vivid, colorful representations on your screen or paper.</p><p>Yet, here&#8217;s a fascinating aspect: <em>There&#8217;s an almost endless array of methods to visually represent data!</em></p><p>To simplify these methods, and according to <a href="https://www.cs.ubc.ca/~tmm/">T.Munzner</a>, there is a primary encoding type called Retinal Encoding.</p><ul><li><p><strong>Retinal Encodings: </strong>This category includes visual characteristics like shape, size, color, and intensity. These are the attributes that immediately grab our attention, acting as the visual &#8216;hook&#8217; of the data story. Each element&#8217;s distinct appearance plays a crucial role in how we perceive and interpret the data.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!BN5m!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9b9539a-e31d-444d-b593-5ec1ea99cdd5_1795x1185.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!BN5m!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9b9539a-e31d-444d-b593-5ec1ea99cdd5_1795x1185.png 424w, https://substackcdn.com/image/fetch/$s_!BN5m!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9b9539a-e31d-444d-b593-5ec1ea99cdd5_1795x1185.png 848w, https://substackcdn.com/image/fetch/$s_!BN5m!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9b9539a-e31d-444d-b593-5ec1ea99cdd5_1795x1185.png 1272w, https://substackcdn.com/image/fetch/$s_!BN5m!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9b9539a-e31d-444d-b593-5ec1ea99cdd5_1795x1185.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!BN5m!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9b9539a-e31d-444d-b593-5ec1ea99cdd5_1795x1185.png" width="1456" height="961" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a9b9539a-e31d-444d-b593-5ec1ea99cdd5_1795x1185.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:961,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Retinal Encodings. Image by the author.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Retinal Encodings. Image by the author." title="Retinal Encodings. Image by the author." srcset="https://substackcdn.com/image/fetch/$s_!BN5m!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9b9539a-e31d-444d-b593-5ec1ea99cdd5_1795x1185.png 424w, https://substackcdn.com/image/fetch/$s_!BN5m!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9b9539a-e31d-444d-b593-5ec1ea99cdd5_1795x1185.png 848w, https://substackcdn.com/image/fetch/$s_!BN5m!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9b9539a-e31d-444d-b593-5ec1ea99cdd5_1795x1185.png 1272w, https://substackcdn.com/image/fetch/$s_!BN5m!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa9b9539a-e31d-444d-b593-5ec1ea99cdd5_1795x1185.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption"><strong>Retinal Encodings. Image by the author.</strong></figcaption></figure></div><p>On the other hand, and commonly associated with our brain&#8217;s spatial skills, there is a second group that some people call &#8220;spatial encodings&#8221;.</p><ul><li><p><strong>Spatial Encodings: </strong>These leverage the spatial awareness capabilities of our brain&#8217;s cortex to represent information. This encoding approach can be realized by utilizing a position on a scale, establishing a specific sequence, or employing relative sizes for representation.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!VcbM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e247315-e857-4324-a5e4-7ac00f5db176_1884x617.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!VcbM!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e247315-e857-4324-a5e4-7ac00f5db176_1884x617.png 424w, https://substackcdn.com/image/fetch/$s_!VcbM!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e247315-e857-4324-a5e4-7ac00f5db176_1884x617.png 848w, https://substackcdn.com/image/fetch/$s_!VcbM!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e247315-e857-4324-a5e4-7ac00f5db176_1884x617.png 1272w, https://substackcdn.com/image/fetch/$s_!VcbM!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e247315-e857-4324-a5e4-7ac00f5db176_1884x617.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!VcbM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e247315-e857-4324-a5e4-7ac00f5db176_1884x617.png" width="1456" height="477" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6e247315-e857-4324-a5e4-7ac00f5db176_1884x617.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:477,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Spatial Encodings. Image by the author.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Spatial Encodings. Image by the author." title="Spatial Encodings. Image by the author." srcset="https://substackcdn.com/image/fetch/$s_!VcbM!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e247315-e857-4324-a5e4-7ac00f5db176_1884x617.png 424w, https://substackcdn.com/image/fetch/$s_!VcbM!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e247315-e857-4324-a5e4-7ac00f5db176_1884x617.png 848w, https://substackcdn.com/image/fetch/$s_!VcbM!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e247315-e857-4324-a5e4-7ac00f5db176_1884x617.png 1272w, https://substackcdn.com/image/fetch/$s_!VcbM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6e247315-e857-4324-a5e4-7ac00f5db176_1884x617.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption"><strong>Spatial Encodings. Image by the author.</strong></figcaption></figure></div><p>Incorporating various encodings into a single chart is technically feasible, yet it risks overwhelming the viewer. Simplicity in data visualization is key, too many encodings can muddle the message.</p><p>Ideally, limiting to one or two retinal encodings per chart enhances clarity and comprehension.</p><p>Remember, in Data Visualization, embracing minimalism often yields the most impactful results.</p><p><em>It&#8217;s akin to seasoning a meal&#8202;&#8212;&#8202;a judicious sprinkle of salt and pepper can elevate the dish, whereas an excessive amount can spoil it.</em></p><p>The choice of encoding should align with the narrative you aim to convey with your data. Therefore, a more pertinent question to ponder is not just which encoding to use, but how it serves the story your data tells.</p><h2>Choosing the Right Visualization</h2><p>In the wide landscape of Data Visualization, it&#8217;s essential to select the most effective visual encodings that match the nature of your data.</p><p>Not all visualization methods suit every kind of data, so it&#8217;s crucial to pair the right type of visualization with the specific characteristics of the data you&#8217;re working with.</p><p>For instance, when dealing with continuous variables like weight and height, their best representation often comes from positioning them on a scatter plot. This approach effectively communicates variations and relationships within the data.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!MNoN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F477621d4-f24d-46a9-8ed7-edab7893d359_1600x1270.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!MNoN!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F477621d4-f24d-46a9-8ed7-edab7893d359_1600x1270.png 424w, https://substackcdn.com/image/fetch/$s_!MNoN!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F477621d4-f24d-46a9-8ed7-edab7893d359_1600x1270.png 848w, https://substackcdn.com/image/fetch/$s_!MNoN!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F477621d4-f24d-46a9-8ed7-edab7893d359_1600x1270.png 1272w, https://substackcdn.com/image/fetch/$s_!MNoN!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F477621d4-f24d-46a9-8ed7-edab7893d359_1600x1270.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!MNoN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F477621d4-f24d-46a9-8ed7-edab7893d359_1600x1270.png" width="1456" height="1156" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/477621d4-f24d-46a9-8ed7-edab7893d359_1600x1270.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1156,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Image by the author. Scatter plot of numerical variables.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Image by the author. Scatter plot of numerical variables." title="Image by the author. Scatter plot of numerical variables." srcset="https://substackcdn.com/image/fetch/$s_!MNoN!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F477621d4-f24d-46a9-8ed7-edab7893d359_1600x1270.png 424w, https://substackcdn.com/image/fetch/$s_!MNoN!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F477621d4-f24d-46a9-8ed7-edab7893d359_1600x1270.png 848w, https://substackcdn.com/image/fetch/$s_!MNoN!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F477621d4-f24d-46a9-8ed7-edab7893d359_1600x1270.png 1272w, https://substackcdn.com/image/fetch/$s_!MNoN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F477621d4-f24d-46a9-8ed7-edab7893d359_1600x1270.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Image by the author. Scatter plot of numerical variables.</figcaption></figure></div><p>On the other hand, categorical variables, which include categories like gender or nationality, are more effectively represented through distinct visual elements such as color coding or shape. This distinction allows these variables to stand out clearly and be easily interpreted in the context of the visualization.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ZDwA!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe47a09-4487-464b-bf99-a08e82b75fe8_1600x1312.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ZDwA!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe47a09-4487-464b-bf99-a08e82b75fe8_1600x1312.png 424w, https://substackcdn.com/image/fetch/$s_!ZDwA!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe47a09-4487-464b-bf99-a08e82b75fe8_1600x1312.png 848w, https://substackcdn.com/image/fetch/$s_!ZDwA!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe47a09-4487-464b-bf99-a08e82b75fe8_1600x1312.png 1272w, https://substackcdn.com/image/fetch/$s_!ZDwA!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe47a09-4487-464b-bf99-a08e82b75fe8_1600x1312.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ZDwA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe47a09-4487-464b-bf99-a08e82b75fe8_1600x1312.png" width="1456" height="1194" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3fe47a09-4487-464b-bf99-a08e82b75fe8_1600x1312.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1194,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Image by the author. Scatter plot of numerical variables with a categorical variable legend.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Image by the author. Scatter plot of numerical variables with a categorical variable legend." title="Image by the author. Scatter plot of numerical variables with a categorical variable legend." srcset="https://substackcdn.com/image/fetch/$s_!ZDwA!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe47a09-4487-464b-bf99-a08e82b75fe8_1600x1312.png 424w, https://substackcdn.com/image/fetch/$s_!ZDwA!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe47a09-4487-464b-bf99-a08e82b75fe8_1600x1312.png 848w, https://substackcdn.com/image/fetch/$s_!ZDwA!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe47a09-4487-464b-bf99-a08e82b75fe8_1600x1312.png 1272w, https://substackcdn.com/image/fetch/$s_!ZDwA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3fe47a09-4487-464b-bf99-a08e82b75fe8_1600x1312.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Image by the author. Scatter plot of numerical variables with a categorical variable legend.</figcaption></figure></div><p>Underpinning the effectiveness of these choices are fundamental theories that explain why certain visual encodings resonate more intuitively with us.</p><p>Understanding these underlying principles can guide us in creating more impactful and comprehensible visualizations.</p><h2>The Core of Effective Data Visualization</h2><p>In Data Visualization, striking a harmonious balance between aesthetic appeal and practical functionality is essential. Sometimes, choosing certain visual encodings, even if they appear less efficient, is intentional to convey a specific message or evoke emotions.</p><p>In our contemporary world, where data streams are ever-expanding, the significance of crafting visual stories that resonate is paramount, particularly when our audience comprises individuals not well-versed in data.</p><p>Effective data visualization transcends mere number presentation, it involves weaving a compelling narrative with our data.</p><p>It&#8217;s about animating our data, interweaving stories that establish a link between abstract figures and tangible, real-world consequences and insights.</p><p>For those of us passionate about technology and data, Data Visualization is more than a skill&#8202;&#8212;<em>&#8202;it&#8217;s an art form, a unique language, and a bridge connecting us to the wider world.</em></p><p>Now&#8230; what you have been waiting all along&#8230; Here goes our weekly cheatsheet(s)&#128071;&#127995;</p><h4><strong>1. The Concept of Chart</strong></h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!CFG-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb9965506-c0d2-4134-b7e3-4c9b0630d6dd_3693x4133.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!CFG-!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb9965506-c0d2-4134-b7e3-4c9b0630d6dd_3693x4133.png 424w, https://substackcdn.com/image/fetch/$s_!CFG-!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb9965506-c0d2-4134-b7e3-4c9b0630d6dd_3693x4133.png 848w, https://substackcdn.com/image/fetch/$s_!CFG-!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb9965506-c0d2-4134-b7e3-4c9b0630d6dd_3693x4133.png 1272w, https://substackcdn.com/image/fetch/$s_!CFG-!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb9965506-c0d2-4134-b7e3-4c9b0630d6dd_3693x4133.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!CFG-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb9965506-c0d2-4134-b7e3-4c9b0630d6dd_3693x4133.png" width="1456" height="1629" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b9965506-c0d2-4134-b7e3-4c9b0630d6dd_3693x4133.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1629,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2068920,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://reads.databites.tech/i/161218886?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb9965506-c0d2-4134-b7e3-4c9b0630d6dd_3693x4133.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!CFG-!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb9965506-c0d2-4134-b7e3-4c9b0630d6dd_3693x4133.png 424w, https://substackcdn.com/image/fetch/$s_!CFG-!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb9965506-c0d2-4134-b7e3-4c9b0630d6dd_3693x4133.png 848w, https://substackcdn.com/image/fetch/$s_!CFG-!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb9965506-c0d2-4134-b7e3-4c9b0630d6dd_3693x4133.png 1272w, https://substackcdn.com/image/fetch/$s_!CFG-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb9965506-c0d2-4134-b7e3-4c9b0630d6dd_3693x4133.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h4>2. Visual Encodings</h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!GWcA!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04d5d6b2-a15b-4048-9a06-7457e1ae77f9_3693x4217.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!GWcA!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04d5d6b2-a15b-4048-9a06-7457e1ae77f9_3693x4217.png 424w, https://substackcdn.com/image/fetch/$s_!GWcA!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04d5d6b2-a15b-4048-9a06-7457e1ae77f9_3693x4217.png 848w, https://substackcdn.com/image/fetch/$s_!GWcA!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04d5d6b2-a15b-4048-9a06-7457e1ae77f9_3693x4217.png 1272w, https://substackcdn.com/image/fetch/$s_!GWcA!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04d5d6b2-a15b-4048-9a06-7457e1ae77f9_3693x4217.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!GWcA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04d5d6b2-a15b-4048-9a06-7457e1ae77f9_3693x4217.png" width="1456" height="1663" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/04d5d6b2-a15b-4048-9a06-7457e1ae77f9_3693x4217.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1663,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1931340,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://reads.databites.tech/i/161218886?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04d5d6b2-a15b-4048-9a06-7457e1ae77f9_3693x4217.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!GWcA!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04d5d6b2-a15b-4048-9a06-7457e1ae77f9_3693x4217.png 424w, https://substackcdn.com/image/fetch/$s_!GWcA!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04d5d6b2-a15b-4048-9a06-7457e1ae77f9_3693x4217.png 848w, https://substackcdn.com/image/fetch/$s_!GWcA!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04d5d6b2-a15b-4048-9a06-7457e1ae77f9_3693x4217.png 1272w, https://substackcdn.com/image/fetch/$s_!GWcA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F04d5d6b2-a15b-4048-9a06-7457e1ae77f9_3693x4217.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h4>3. The Data</h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Fdkk!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36c7e75a-22a2-418d-9245-afb391af9d59_3693x4016.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Fdkk!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36c7e75a-22a2-418d-9245-afb391af9d59_3693x4016.png 424w, https://substackcdn.com/image/fetch/$s_!Fdkk!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36c7e75a-22a2-418d-9245-afb391af9d59_3693x4016.png 848w, https://substackcdn.com/image/fetch/$s_!Fdkk!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36c7e75a-22a2-418d-9245-afb391af9d59_3693x4016.png 1272w, https://substackcdn.com/image/fetch/$s_!Fdkk!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36c7e75a-22a2-418d-9245-afb391af9d59_3693x4016.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Fdkk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36c7e75a-22a2-418d-9245-afb391af9d59_3693x4016.png" width="1456" height="1583" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/36c7e75a-22a2-418d-9245-afb391af9d59_3693x4016.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1583,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:3192809,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://reads.databites.tech/i/161218886?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36c7e75a-22a2-418d-9245-afb391af9d59_3693x4016.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Fdkk!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36c7e75a-22a2-418d-9245-afb391af9d59_3693x4016.png 424w, https://substackcdn.com/image/fetch/$s_!Fdkk!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36c7e75a-22a2-418d-9245-afb391af9d59_3693x4016.png 848w, https://substackcdn.com/image/fetch/$s_!Fdkk!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36c7e75a-22a2-418d-9245-afb391af9d59_3693x4016.png 1272w, https://substackcdn.com/image/fetch/$s_!Fdkk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F36c7e75a-22a2-418d-9245-afb391af9d59_3693x4016.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div><hr></div><h2>Are you still here? &#129488;</h2><p>&#128073;&#127995; I want this newsletter to be useful, so please let me know your feedback!</p><div class="poll-embed" data-attrs="{&quot;id&quot;:517801}" data-component-name="PollToDOM"></div><div><hr></div><p>Before you go,<strong> tap the &#128154; button at the bottom of this email to show your support</strong>&#8212;<em>it really helps and means a lot!</em></p><p><strong>Any doubt? Let&#8217;s start a conversation! &#128071;&#127995;</strong></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.databites.tech/p/the-transformers-architecture/comments&quot;,&quot;text&quot;:&quot;Leave a comment&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://www.databites.tech/p/the-transformers-architecture/comments"><span>Leave a comment</span></a></p><div><hr></div><h2>Want to get more of my content? &#128587;&#127995;&#8205;&#9794;&#65039;</h2><p>Reach me on:</p><ul><li><p><strong><a href="https://www.linkedin.com/in/iamjosepferrer/">LinkedIn</a> and</strong> <strong><a href="https://x.com/iamjosepferrer">X (Twitter)</a> to get daily posts about Data Science.</strong></p></li><li><p>My <strong><a href="https://medium.com/@iamjosepferrer">Medium</a></strong><a href="https://medium.com/@rfeers"> </a><strong><a href="https://medium.com/@rfeers">Blog</a></strong> to learn more about Data Science, Machine Learning, and AI.</p></li><li><p>Just email me at rfeers@gmail.com for any inquiries or to ask for help! &#129299;</p></li></ul>]]></content:encoded></item><item><title><![CDATA[How to Actually Get Started with SQL]]></title><description><![CDATA[A clear (and human) guide to get started without drowning]]></description><link>https://reads.databites.tech/p/how-to-actually-get-started-with-228</link><guid isPermaLink="false">https://reads.databites.tech/p/how-to-actually-get-started-with-228</guid><dc:creator><![CDATA[Josep Ferrer]]></dc:creator><pubDate>Wed, 22 Oct 2025 10:02:42 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/e79bace7-d73f-409e-9830-c05b7103c75a_976x704.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Many of you have been asking how to get started in the data world. I know it can seem <strong>complex</strong> and <strong>intimidating</strong>, <em>but fear often clouds our vision. </em></p><p>That&#8217;s why I want to remind you all that SQL is still the number one data language and the easiest one to learn. </p><p>If you&#8217;re looking to break into this field, there&#8217;s not better advice than&#8230;</p><blockquote><p>START</p><p>LEARNING</p><p>SQL</p><p>RIGHT</p><p>NOW!!</p></blockquote><p>Still not sure? Let&#8217;s give some reasons why &#128071;&#127995;</p><p>Humankind has always been strongly shaped by its ability to store and share information. Studies indicate that a key distinction between humans and other animals lies in our ability to create, preserve, and inherit knowledge and culture across generations.</p><p><em>And guess what&#8230; all of this is just DATA!</em></p><p>Today we are amid a significant shift in how our world works: Data has become the fuel of the XXI century. All fields and sectors rely on it to make decisions. </p><p>One thing is certain: <strong>The need for data-related skills will only keep surging. </strong></p><p>Organisations today gather raw data from both internal and external sources at an unprecedented rate. By analysing this data, they can use reporting applications, dashboards, and other tools to answer questions and gain valuable insights.</p><p><em>So the right question to be done is how to manage all this data? </em></p><p>And the answer is quite simple: <strong>SQL remains the best option to do so.  </strong></p><p>You can go check the latest <a href="https://survey.stackoverflow.co/2025/technology#most-popular-technologies-language-prof">StackOverflow Developer Survey</a> 2025, where SQL stands as the 3rd most used programming language of all developers! </p><p><em>(The first one if we only consider those used in the data science field </em>&#129351;<em>)</em></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!UHDl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6242fddc-58b7-47cf-b213-37f85180ee38_940x226.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!UHDl!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6242fddc-58b7-47cf-b213-37f85180ee38_940x226.png 424w, https://substackcdn.com/image/fetch/$s_!UHDl!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6242fddc-58b7-47cf-b213-37f85180ee38_940x226.png 848w, https://substackcdn.com/image/fetch/$s_!UHDl!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6242fddc-58b7-47cf-b213-37f85180ee38_940x226.png 1272w, https://substackcdn.com/image/fetch/$s_!UHDl!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6242fddc-58b7-47cf-b213-37f85180ee38_940x226.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!UHDl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6242fddc-58b7-47cf-b213-37f85180ee38_940x226.png" width="940" height="226" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6242fddc-58b7-47cf-b213-37f85180ee38_940x226.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:226,&quot;width&quot;:940,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:28513,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.databites.tech/i/176811266?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6242fddc-58b7-47cf-b213-37f85180ee38_940x226.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!UHDl!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6242fddc-58b7-47cf-b213-37f85180ee38_940x226.png 424w, https://substackcdn.com/image/fetch/$s_!UHDl!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6242fddc-58b7-47cf-b213-37f85180ee38_940x226.png 848w, https://substackcdn.com/image/fetch/$s_!UHDl!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6242fddc-58b7-47cf-b213-37f85180ee38_940x226.png 1272w, https://substackcdn.com/image/fetch/$s_!UHDl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6242fddc-58b7-47cf-b213-37f85180ee38_940x226.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>So let&#8217;s try to understand better SQL&#8217;s advantages &#128165;</p><h2>SQL&#8217;s main advantages</h2><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!15us!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9aabf713-2434-466d-959e-4116543c06bd_3700x843.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!15us!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9aabf713-2434-466d-959e-4116543c06bd_3700x843.png 424w, https://substackcdn.com/image/fetch/$s_!15us!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9aabf713-2434-466d-959e-4116543c06bd_3700x843.png 848w, https://substackcdn.com/image/fetch/$s_!15us!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9aabf713-2434-466d-959e-4116543c06bd_3700x843.png 1272w, https://substackcdn.com/image/fetch/$s_!15us!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9aabf713-2434-466d-959e-4116543c06bd_3700x843.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!15us!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9aabf713-2434-466d-959e-4116543c06bd_3700x843.png" width="1456" height="332" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9aabf713-2434-466d-959e-4116543c06bd_3700x843.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:332,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:390380,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!15us!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9aabf713-2434-466d-959e-4116543c06bd_3700x843.png 424w, https://substackcdn.com/image/fetch/$s_!15us!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9aabf713-2434-466d-959e-4116543c06bd_3700x843.png 848w, https://substackcdn.com/image/fetch/$s_!15us!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9aabf713-2434-466d-959e-4116543c06bd_3700x843.png 1272w, https://substackcdn.com/image/fetch/$s_!15us!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9aabf713-2434-466d-959e-4116543c06bd_3700x843.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><h3><strong>#1. It can deal with big amounts of Data</strong></h3><p>SQL is designed to work with big data and can handle complex queries on large datasets much faster than other tools like spreadsheets or even some programming languages like Python. </p><p>Learning SQL helps you <strong>manage and analyze big data effectively.</strong></p><p>In many organizations, the core of the data environment is typically a data warehouse, where SQL is the primary language for interaction. </p><h3><strong>#2. It can be easily integrated with other tools</strong></h3><p>SQL integrates seamlessly with other data science tools and programming languages, such as Python and R. Libraries like pandas (Python) and dplyr (R) allow you to run SQL queries directly within your code. </p><p>This interoperability makes it easier to combine SQL&#8217;s data handling capabilities with the advanced analytics, visualization and ML features of these languages.</p><h3><strong>#3. It is standardized</strong></h3><p>To query or manipulate data with SQL, you use statements with keywords such as <code>SELECT</code> and <code>FROM</code>. This SQL syntax is standardized by ANSI and ISO-certified, ensuring consistency across the hundreds of databases and data tools that support SQL today.</p><p>While some databases and tools may extend the syntax with specialized operators, commands, or functions, the fundamental principles of SQL remain consistent. </p><p>Once you master the basics of SQL, you can apply this knowledge universally across different platforms.</p><h3><strong>#4. It is easy to understand</strong></h3><p><strong>Basic SQL syntax is highly readable, resembling natural language.</strong> It outlines how data should be retrieved or manipulated. </p><p>Consider the following example query:</p><pre><code><code>SELECT 
    first_name, 
    last_name, 
    date_of_hire
FROM employees
WHERE date_of_hire &gt; &#8216;2018-12-31&#8217;
ORDER BY date_of_hire, last_name</code></code></pre><p>In this query, the SQL keywords <code>SELECT</code>, <code>FROM</code>, <code>WHERE</code>, and <code>ORDER BY</code> define the actions to be performed and any person can understand the main purpose of the query. </p><p>So after all of this information, you might be wondering&#8230;</p><blockquote><p><em><strong>How to (ACTUALLY) get started with SQL?</strong></em></p></blockquote><p>This roadmap will help you to get started, build a strong foundation, and progress through more advanced topics.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Yway!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4166f81-c9e5-4104-a90f-a45b8eb77f98_2606x3250.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Yway!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4166f81-c9e5-4104-a90f-a45b8eb77f98_2606x3250.png 424w, https://substackcdn.com/image/fetch/$s_!Yway!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4166f81-c9e5-4104-a90f-a45b8eb77f98_2606x3250.png 848w, https://substackcdn.com/image/fetch/$s_!Yway!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4166f81-c9e5-4104-a90f-a45b8eb77f98_2606x3250.png 1272w, https://substackcdn.com/image/fetch/$s_!Yway!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4166f81-c9e5-4104-a90f-a45b8eb77f98_2606x3250.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Yway!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4166f81-c9e5-4104-a90f-a45b8eb77f98_2606x3250.png" width="1456" height="1816" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b4166f81-c9e5-4104-a90f-a45b8eb77f98_2606x3250.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1816,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1562483,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.databites.tech/i/176811266?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4166f81-c9e5-4104-a90f-a45b8eb77f98_2606x3250.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Yway!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4166f81-c9e5-4104-a90f-a45b8eb77f98_2606x3250.png 424w, https://substackcdn.com/image/fetch/$s_!Yway!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4166f81-c9e5-4104-a90f-a45b8eb77f98_2606x3250.png 848w, https://substackcdn.com/image/fetch/$s_!Yway!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4166f81-c9e5-4104-a90f-a45b8eb77f98_2606x3250.png 1272w, https://substackcdn.com/image/fetch/$s_!Yway!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4166f81-c9e5-4104-a90f-a45b8eb77f98_2606x3250.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Let&#8217;s break down each of the previous steps!</p><h3><strong>1. Learning the Basics</strong></h3><p>Before diving deep, it&#8217;s essential to grasp what is SQL. Begin with:</p><ul><li><p><strong>What is a Relational Database?</strong></p></li><li><p><strong>Comparing SQL and NoSQL Databases</strong></p></li><li><p><strong>Understanding SQL Syntax and Basic Commands</strong></p></li></ul><h3><strong>2. Exploring Data Types</strong></h3><p>Once you have a clear image of SQL, you should understand the core data types you will be working with &#128071;&#127995;</p><ul><li><p><strong>Integers, Decimals, and Booleans</strong></p></li><li><p><strong>Character Types: CHAR and VARCHAR</strong></p></li><li><p><strong>Dates and Binary Data</strong></p></li></ul><h3><strong>3. Mastering Basic Keywords</strong></h3><p>The first real step is to familiarize yourself with the commands that form the backbone of SQL querying:</p><ul><li><p><strong>SELECT, FROM, WHERE</strong></p></li><li><p><strong>ORDER BY and LIMIT Clauses</strong></p></li></ul><p>You will see that SQL queries are usually quite easy to understand, as their syntax resembles natural language. The most common SQL query you will find is.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!kFBb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e47895a-beed-44c4-90e1-27f09c7746da_906x879.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!kFBb!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e47895a-beed-44c4-90e1-27f09c7746da_906x879.png 424w, https://substackcdn.com/image/fetch/$s_!kFBb!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e47895a-beed-44c4-90e1-27f09c7746da_906x879.png 848w, https://substackcdn.com/image/fetch/$s_!kFBb!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e47895a-beed-44c4-90e1-27f09c7746da_906x879.png 1272w, https://substackcdn.com/image/fetch/$s_!kFBb!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e47895a-beed-44c4-90e1-27f09c7746da_906x879.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!kFBb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e47895a-beed-44c4-90e1-27f09c7746da_906x879.png" width="348" height="337.6291390728477" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5e47895a-beed-44c4-90e1-27f09c7746da_906x879.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:879,&quot;width&quot;:906,&quot;resizeWidth&quot;:348,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;&quot;,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!kFBb!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e47895a-beed-44c4-90e1-27f09c7746da_906x879.png 424w, https://substackcdn.com/image/fetch/$s_!kFBb!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e47895a-beed-44c4-90e1-27f09c7746da_906x879.png 848w, https://substackcdn.com/image/fetch/$s_!kFBb!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e47895a-beed-44c4-90e1-27f09c7746da_906x879.png 1272w, https://substackcdn.com/image/fetch/$s_!kFBb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e47895a-beed-44c4-90e1-27f09c7746da_906x879.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Already proficient with basic commands? </p><p><em>Now it&#8217;s turn to understand how to manage databases with the following two steps:</em></p><h3><strong>4. Data Definition</strong></h3><p>Learn how to structure and manage your databases with:</p><ul><li><p><strong>CREATE, ALTER, DROP Statements</strong></p></li></ul><h3><strong>5. Data Manipulation</strong></h3><p>Get hands-on with inserting, updating, and deleting data:</p><ul><li><p><strong>INSERT, UPDATE, DELETE Commands</strong></p></li></ul><p><em>Now you should keep getting better with SQL programming language &#128071;&#127995;</em></p><h3><strong>6. Understanding Aggregation</strong></h3><p>Aggregate functions are powerful tools for summarizing data:</p><ul><li><p><strong>SUM, AVG, COUNT, MAX, MIN</strong></p></li></ul><p>This will be one of the most important steps when creating KPIs and specific metrics. </p><h3><strong>7. Enforcing Constraints</strong></h3><p>Ensure data integrity through constraints:</p><ul><li><p><strong>PRIMARY KEY, FOREIGN KEY, UNIQUE</strong></p></li><li><p><strong>NOT NULL and CHECK Constraints</strong></p></li></ul><p><em>Our data will usually be spread across many different tables, this is why being able to merge data from different sources is crucial in SQL. </em></p><h3><strong>8. Mastering JOINs</strong></h3><p>JOINs are critical for combining data from multiple tables:</p><ul><li><p><strong>INNER, LEFT, RIGHT, and FULL OUTER JOINs</strong></p></li></ul><p><em>Your SQL skills here are already really good!! &#128588;&#127995; But learning must go on&#8230;</em></p><h3><strong>9. Leveraging Subqueries</strong></h3><p>As queries keep getting more complex, you need to create subqueries. </p><ul><li><p><strong>Nested and Correlated Subqueries</strong></p></li><li><p><strong>EXISTS and NOT EXISTS</strong></p></li></ul><p><em>Now you should understand advanced syntax like specific functions and new ways of merging data like UNION. </em></p><h3><strong>10. Advanced Syntax</strong></h3><p>Explore more complex SQL operations:</p><ul><li><p><strong>UNION, INTERSECT, EXCEPT</strong></p></li><li><p><strong>CASE, COALESCE, and Functions for NULL Handling</strong></p></li></ul><p><em>Once a result is good, you might want to create a view!</em></p><h3><strong>11. Working with Views</strong></h3><p>Views can simplify complex queries:</p><ul><li><p><strong>Creating, Modifying, and Dropping Views</strong></p></li></ul><p><em>Now you should focus on crafting better queries by leveraging indexes and following best security practices &#128165;</em></p><h3><strong>12. Optimizing with Indexes</strong></h3><p>Indexes improve query performance:</p><ul><li><p><strong>Unique, Clustered, and Non-Clustered Indexes</strong></p></li></ul><h3><strong>13. Data Integrity and Security</strong></h3><p>Now that you are here, I strongly recommend you get familiar with security best practices. Maintain the security and integrity of your database:</p><ul><li><p><strong>Using GRANT and REVOKE</strong></p></li><li><p><strong>Database Security Best Practices</strong></p></li></ul><p><em>The two final steps is learning how to craft better and more optimized SQL queries. You know I am a big fan of modular code with CTEs, so that&#8217;s something we will talk more about in coming issues! </em>&#128521;</p><h3><strong>14. Performance Optimization</strong></h3><p>Techniques to enhance the efficiency of your queries:</p><ul><li><p><strong>Query Analysis, Optimizing JOINS, Reducing Subqueries</strong></p></li></ul><h3><strong>15. Advanced SQL Techniques</strong></h3><p>For seasoned users, explore sophisticated SQL features:</p><ul><li><p><strong>Windows Functions, Recursive Queries</strong></p></li><li><p><strong>Pivot/Unpivot Operations, Common Table Expressions (CTE)</strong></p></li></ul><p><em>And this is all for today!</em></p><p><em>We will see in more detail most of the previous steps, this is just a summary to help you get started with SQL!</em></p><div><hr></div><h2><strong>How to Get Started</strong></h2><ol><li><p><strong>Master the basics:</strong> <code>SELECT</code> &#8594; <code>FROM</code> &#8594; <code>WHERE</code>, then <code>ORDER BY</code>, <code>GROUP BY/HAVING</code>, and core <code>JOIN</code>s (<code>INNER</code>, <code>LEFT</code>).</p></li><li><p><strong>Set up your stack:</strong> Use SQLite/DuckDB locally or a warehouse (BigQuery/Snowflake), with a comfy editor (DB UI or Jupyter + DuckDB); add a simple BI view if helpful.</p></li><li><p><strong>Ship tiny projects:</strong> KPI query pack (WAU/MAU, conversion, revenue by channel), a cohort/retention table, and a customer 360 (users + orders &#8594; first/last order, AOV, LTV).</p></li></ol><div><hr></div><h3>A final note</h3><p>If you&#8217;ve made it this far, you&#8217;ve already done the hardest part: deciding to start.<br>SQL rewards short, consistent reps.</p><p>Ship one tiny query this week, then another next week.<br>A KPI today, a JOIN tomorrow, a view next Friday.</p><p>Momentum compounds.</p><p>Are you in?</p><p>&#8212; Josep</p><div><hr></div><h2><strong>Still with me? &#129488;</strong></h2><p>As fellow data enthusiasts, I&#8217;m sure you&#8217;d be eager to help me shape some impactful KPIs and take this newsletter to the next level!</p><p><em>So here&#8217;s how you can help:</em></p><p>&#128073;&#127995; I want this newsletter to be truly valuable for you, so please share your feedback!</p><div class="poll-embed" data-attrs="{&quot;id&quot;:393913}" data-component-name="PollToDOM"></div><div><hr></div><p>Before you go,<strong> tap the &#128154; and the restack buttons at the bottom of this email to show your support</strong>&#8212;<em>it really helps and means a lot!</em></p><p><em>P.S. Share this with the coworker who &#8220;doesn&#8217;t need SQL&#8221; and spends lunch VLOOKUP-ing.</em></p><p><strong>Any doubt? Let&#8217;s start a conversation! &#128071;&#127995;</strong></p>]]></content:encoded></item><item><title><![CDATA[How to Actually Get Started with Python]]></title><description><![CDATA[CS15 - A clear (and human) guide to get started without drowning]]></description><link>https://reads.databites.tech/p/how-to-actually-get-started-with-5e7</link><guid isPermaLink="false">https://reads.databites.tech/p/how-to-actually-get-started-with-5e7</guid><dc:creator><![CDATA[Josep Ferrer]]></dc:creator><pubDate>Tue, 14 Oct 2025 10:02:52 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/eaa3293c-87f6-405a-985f-7f92a93b27f2_976x704.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>You&#8217;ve wanted to learn Python for a while&#8230;</strong></p><p><em>Too many tabs, not enough progress? </em></p><blockquote><p>This guide cuts the noise and gives you a shippable path. </p></blockquote><p><strong>Only the pieces that actually move you forward.</strong></p><h1>Why this, why now</h1><p>Python is the most versatile &#8220;one language, many careers&#8221; tool: analytics, ML, web, scripting, automation, LLM apps&#8212;you name it.<br>If you learn it now, you compound for the next decade.</p><p>Need more reasons? Then let&#8217;s try to give them!</p><h2><strong>Why Python can supercharge your career?</strong></h2><p>From <strong>data science</strong> and <strong>web development</strong> to <strong>automation</strong> and <strong>artificial intelligence</strong>, Python&#8217;s applications are vast and continue to expand. You can check the latest <a href="https://survey.stackoverflow.co/2025/technology#most-popular-technologies-language">StackOverflow Developer Survey 2025</a>, where Python stands as the 4th most-used programming language of all developers!</p><p>(And the second one if we only consider those used in the data science field &#128293;)</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!gIE7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0081c64-4843-4ae1-923a-08ee191fda12_1706x504.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!gIE7!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0081c64-4843-4ae1-923a-08ee191fda12_1706x504.png 424w, https://substackcdn.com/image/fetch/$s_!gIE7!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0081c64-4843-4ae1-923a-08ee191fda12_1706x504.png 848w, https://substackcdn.com/image/fetch/$s_!gIE7!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0081c64-4843-4ae1-923a-08ee191fda12_1706x504.png 1272w, https://substackcdn.com/image/fetch/$s_!gIE7!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0081c64-4843-4ae1-923a-08ee191fda12_1706x504.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!gIE7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0081c64-4843-4ae1-923a-08ee191fda12_1706x504.png" width="1456" height="430" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f0081c64-4843-4ae1-923a-08ee191fda12_1706x504.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:430,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:73676,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.databites.tech/i/176120424?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0081c64-4843-4ae1-923a-08ee191fda12_1706x504.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!gIE7!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0081c64-4843-4ae1-923a-08ee191fda12_1706x504.png 424w, https://substackcdn.com/image/fetch/$s_!gIE7!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0081c64-4843-4ae1-923a-08ee191fda12_1706x504.png 848w, https://substackcdn.com/image/fetch/$s_!gIE7!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0081c64-4843-4ae1-923a-08ee191fda12_1706x504.png 1272w, https://substackcdn.com/image/fetch/$s_!gIE7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0081c64-4843-4ae1-923a-08ee191fda12_1706x504.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>So here are the 5 main reasons why you should start learning Python today&#8230;</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!-Qwm!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4caa691a-14bf-4303-ad37-a6c0d09dc652_924x556.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!-Qwm!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4caa691a-14bf-4303-ad37-a6c0d09dc652_924x556.png 424w, https://substackcdn.com/image/fetch/$s_!-Qwm!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4caa691a-14bf-4303-ad37-a6c0d09dc652_924x556.png 848w, https://substackcdn.com/image/fetch/$s_!-Qwm!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4caa691a-14bf-4303-ad37-a6c0d09dc652_924x556.png 1272w, https://substackcdn.com/image/fetch/$s_!-Qwm!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4caa691a-14bf-4303-ad37-a6c0d09dc652_924x556.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!-Qwm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4caa691a-14bf-4303-ad37-a6c0d09dc652_924x556.png" width="924" height="556" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4caa691a-14bf-4303-ad37-a6c0d09dc652_924x556.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:556,&quot;width&quot;:924,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:101006,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!-Qwm!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4caa691a-14bf-4303-ad37-a6c0d09dc652_924x556.png 424w, https://substackcdn.com/image/fetch/$s_!-Qwm!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4caa691a-14bf-4303-ad37-a6c0d09dc652_924x556.png 848w, https://substackcdn.com/image/fetch/$s_!-Qwm!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4caa691a-14bf-4303-ad37-a6c0d09dc652_924x556.png 1272w, https://substackcdn.com/image/fetch/$s_!-Qwm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4caa691a-14bf-4303-ad37-a6c0d09dc652_924x556.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>#1. <strong>Beginner-Friendly</strong></h3><p>Python&#8217;s <strong>clear syntax</strong> resembles English, making it the perfect starting point for beginners. </p><p>The learning curve is gentle, allowing you to focus more on solving problems than wrestling with complex code structures.</p><h3><strong>#2. Extensive Libraries</strong></h3><p>Python&#8217;s ecosystem is rich with libraries. Tools like <strong>Pandas</strong>, <strong>NumPy</strong>, and <strong>Matplotlib</strong> simplify data analysis, while <strong>Django</strong> and <strong>Flask</strong> are great for web development. </p><p>This <strong>wide array of libraries</strong> reduces the need to write code from scratch, speeding up development.</p><h3><strong>#3. High Demand in the Job Market</strong></h3><p>Python developers enjoy <strong>competitive salaries</strong>, thanks to the language&#8217;s popularity across industries like <strong>AI</strong>, <strong>data science</strong>, <strong>software development</strong>, and <strong>automation</strong>. Its applications span across finance, tech, healthcare, and more.</p><h3><strong>#4. Artificial Intelligence</strong></h3><p>Python is <strong>dominant in AI and machine learning</strong>. With libraries such as <strong>TensorFlow</strong> and <strong>Keras</strong>, developers can implement sophisticated AI models for tasks like <strong>natural language processing</strong>, <strong>image recognition</strong>, and even <strong>self-driving car algorithms</strong>.</p><h3><strong>#5. Strong Community Support</strong></h3><p>One of Python&#8217;s greatest strengths is its <strong>active community</strong>. With numerous tutorials, forums, and resources, help is always available. This vibrant support system ensures you won&#8217;t be stuck for long when facing a challenge.</p><p>So after all of this information, you might be wondering&#8230;</p><p></p><blockquote><p><em><strong>How to (ACTUALLY) get started with Python?</strong></em></p></blockquote><p>This roadmap will help you to get started, build a strong foundation, and progress through more advanced topics.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!_FRk!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ba6761e-ed00-40ac-9313-9019422a3283_3671x4419.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!_FRk!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ba6761e-ed00-40ac-9313-9019422a3283_3671x4419.png 424w, https://substackcdn.com/image/fetch/$s_!_FRk!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ba6761e-ed00-40ac-9313-9019422a3283_3671x4419.png 848w, https://substackcdn.com/image/fetch/$s_!_FRk!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ba6761e-ed00-40ac-9313-9019422a3283_3671x4419.png 1272w, https://substackcdn.com/image/fetch/$s_!_FRk!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ba6761e-ed00-40ac-9313-9019422a3283_3671x4419.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!_FRk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ba6761e-ed00-40ac-9313-9019422a3283_3671x4419.png" width="1456" height="1753" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6ba6761e-ed00-40ac-9313-9019422a3283_3671x4419.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1753,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1934329,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://reads.databites.tech/i/176120424?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ba6761e-ed00-40ac-9313-9019422a3283_3671x4419.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!_FRk!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ba6761e-ed00-40ac-9313-9019422a3283_3671x4419.png 424w, https://substackcdn.com/image/fetch/$s_!_FRk!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ba6761e-ed00-40ac-9313-9019422a3283_3671x4419.png 848w, https://substackcdn.com/image/fetch/$s_!_FRk!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ba6761e-ed00-40ac-9313-9019422a3283_3671x4419.png 1272w, https://substackcdn.com/image/fetch/$s_!_FRk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ba6761e-ed00-40ac-9313-9019422a3283_3671x4419.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Let&#8217;s break down the steps to mastering Python!</p><h1><strong>Navigate Your Way Through Python </strong></h1><p>Whether you&#8217;re a data enthusiast, a budding analyst, or an experienced developer looking to sharpen your data science coding  skills, understanding Python is crucial.</p><p>So let&#8217;s start by&#8230;</p><h3><strong>1. Learning the Basics</strong></h3><p>Before diving into data-heavy tasks, you need to understand Python fundamentals:</p><ul><li><p><strong>Basic Syntax and Variables</strong></p></li><li><p><strong>Data Types</strong>: Strings, Integers, Floats, etc.</p></li><li><p><strong>Conditionals and Type Casting</strong></p></li><li><p><strong>Error Handling and Functions</strong> (including built-in functions)</p></li><li><p><strong>Data Structures</strong>: Lists, Tuples, Sets, Dictionaries</p></li><li><p><strong>Loops</strong>: for and while loops</p></li></ul><h3>2. Data Structures</h3><p>Once you have a solid foundation of the basics, a good grasp of data structures is crucial for efficient programming:</p><ul><li><p><strong>Arrays and Linked Lists</strong></p></li><li><p><strong>Heaps, Stacks, and Queues</strong></p></li><li><p><strong>Hash Tables</strong></p></li><li><p><strong>Trees</strong>, including Binary Search Trees</p></li></ul><h3><strong>3. Algorithms</strong></h3><p>With data structures covered, it&#8217;s time to explore algorithms:</p><ul><li><p><strong>Sorting Algorithms</strong>: Bubble, Merge, Quick Sort, etc.</p></li><li><p><strong>Searching Algorithms</strong>: Binary Search and Linear Search</p></li><li><p><strong>Recursion</strong> and its applications</p></li></ul><p>Already proficient with Python&#8217;s algorithms? </p><p><em>Now it&#8217;s turn to further understand Python&#8217;s world with its modules and functions. </em></p><h3>4. Modules</h3><p>Python&#8217;s extensive library of modules can make your life easier:</p><ul><li><p><strong>Built-in Modules</strong>: os, sys, math, etc.</p></li><li><p><strong>Creating Custom Modules</strong> for reusability</p></li></ul><h3>5. Advanced Topics</h3><p>Dive deeper with advanced Python techniques:</p><ul><li><p><strong>Lambdas</strong>: Anonymous functions</p></li><li><p><strong>Decorators</strong>: Enhancing functions</p></li><li><p><strong>Iterators</strong> and Generators</p></li><li><p><strong>Regular Expressions</strong> for pattern matching</p></li></ul><p><em>If you have arrived here&#8230; congrats! You are already a mid-level user. Now it&#8217;s turn to spice up your coding abilities with OOP &#128293;</em></p><h3><strong>6. Object-Oriented Programming (OOP)</strong></h3><p>Python is an object-oriented language, so understanding OOP is essential:</p><ul><li><p><strong>Classes and Objects</strong></p></li><li><p><strong>Inheritance</strong></p></li><li><p><strong>Dunder (Magic) Methods</strong> to customize class behavior</p></li></ul><p>Now it&#8217;s turn to start understanding how to install (and why!) Python&#8217;s best libraries. </p><h3>7. Package Managers</h3><p>To install libraries and manage dependencies, you&#8217;ll need to know:</p><ul><li><p><strong>PyPI and pip</strong></p></li><li><p><strong>Conda</strong> for data science environments</p></li><li><p><strong>Poetry</strong> for project management</p></li></ul><p><em>Already bored of essentials concepts? Then Python still has a lot more to offer &#10024;</em></p><h3>8. Comprehensions</h3><p>Python offers elegant ways to create data structures:</p><ul><li><p><strong>List Comprehensions</strong></p></li><li><p><strong>Generator Expressions</strong></p></li></ul><h3>9. Learn a Framework</h3><p>Choose a framework based on your goals:</p><ul><li><p><strong>Web Development</strong>: Django, Flask, Pyramid</p></li><li><p><strong>Data Science/Visualization</strong>: Plotly Dash</p></li><li><p><strong>Asynchronous</strong>: FastAPI, Aiohttp, Tornado</p></li></ul><h3>10. Concurrency</h3><p>For high-performance applications, learn concurrency:</p><ul><li><p><strong>Global Interpreter Lock (GIL)</strong></p></li><li><p><strong>Threading and Multiprocessing</strong></p></li><li><p><strong>Asynchrony</strong> with async/await</p></li></ul><h3>11. Environments</h3><p>Managing different Python environments is critical:</p><ul><li><p><strong>Virtualenv and Pyenv</strong></p></li><li><p><strong>Pipenv</strong> for dependency management</p></li></ul><h3>12. Static Typing</h3><p><em>Add type hints to improve readability and catch errors early:</em></p><ul><li><p><strong>Pydantic</strong> and <strong>Mypy</strong></p></li><li><p><strong>Pyright</strong> and <strong>Pyre</strong></p></li></ul><h3>13. Code Formatting</h3><p>Maintain clean, readable code with formatting tools:</p><ul><li><p><strong>Black, YAPF</strong>, and <strong>Ruff</strong></p></li></ul><h3>14. Documentation</h3><p>Document your code for clarity:</p><ul><li><p><strong>Sphinx</strong> for generating docs</p></li></ul><h3>15. Common Packages</h3><p>Familiarize yourself with essential packages:</p><ul><li><p><strong>Typing</strong> and <strong>Tox</strong></p></li></ul><h3>16. Testing</h3><p>Testing is crucial for reliable code:</p><ul><li><p><strong>Pytest</strong> and <strong>Unittest</strong></p></li><li><p><strong>Doctest</strong> and <strong>Nose</strong></p></li></ul><h3>17. DevOps</h3><p>Finally, integrate Python into DevOps practices for deployment and scaling.</p><p><em>Phew, that was a lot to cover! </em></p><p><strong>This roadmap is just a summary to help you start your Python journey. </strong></p><p>We&#8217;ll dive deeper into each topic in upcoming issues, so stay tuned for more!</p><div><hr></div><h2>How to Get Started</h2><ol><li><p><strong>Master the Basics:</strong> Begin with Python fundamentals&#8212;<strong>variables, control structures, functions,</strong> and <strong>data types</strong>.</p></li><li><p><strong>Explore Libraries:</strong> Get hands-on with <strong>Pandas</strong> for data manipulation, <strong>Matplotlib</strong> for visualizations, and <strong>Flask</strong> for creating web applications.</p></li><li><p><strong>Work on Real Projects:</strong> Apply your skills by <strong>building small projects</strong> like a <strong>task automation script</strong> or a <strong>simple web app</strong>.</p></li></ol><div><hr></div><h3><strong>A final note</strong></h3><p>If you&#8217;ve made it this far, you already did the hardest part: <strong>decide to start.</strong><br>Python rewards short, consistent reps. </p><p>Ship something small this week, then another next week. </p><p>Momentum compounds.</p><p>Are you in?</p><p>&#8212; Josep</p><div><hr></div><h2>Still with me? &#129488;</h2><p>As fellow data enthusiasts, I&#8217;m sure you&#8217;d be eager to help me shape some impactful KPIs and take this newsletter to the next level!</p><p><em>So here&#8217;s how you can help:</em></p><p>&#128073;&#127995; I want this newsletter to be truly valuable for you, so please share your feedback!</p><div class="poll-embed" data-attrs="{&quot;id&quot;:389999}" data-component-name="PollToDOM"></div><div><hr></div><p>Before you go,<strong> tap the &#128154; and the restack buttons at the bottom of this email to show your support</strong>&#8212;<em>it really helps and means a lot!</em></p><p><em>P.S. Share this with the coworker who isn&#8217;t confident in Python, yet.</em></p><p><strong>Any doubt? Let&#8217;s start a conversation! &#128071;&#127995;</strong></p>]]></content:encoded></item><item><title><![CDATA[ML - What It Is, How It Works & Why It Matters]]></title><description><![CDATA[CS14 - An ML beginner-friendly guide with a visual cheatsheet.]]></description><link>https://reads.databites.tech/p/ml-what-it-is-how-it-works-and-why</link><guid isPermaLink="false">https://reads.databites.tech/p/ml-what-it-is-how-it-works-and-why</guid><dc:creator><![CDATA[Josep Ferrer]]></dc:creator><pubDate>Mon, 05 May 2025 14:02:28 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/736707c9-9eda-46d2-ab01-ff9b20f5ef19_1465x1057.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Machine learning is all around us, from your Netflix recommendations to the voice behind your phone&#8217;s assistant.<br>But how does it work? </p><p>And how can you get started?</p><p>Today I&#8217;m bringing a simple introduction to <strong>Machine Learning</strong>, <strong>its</strong> <strong>types</strong>, and <strong>real-world examples</strong> &#8212; plus giving you a cheatsheet to keep things crystal clear. &#128588;&#127995;</p><p>So let&#8217;s get started with the full-resolution cheatsheet &#128071;&#127995;</p>
      <p>
          <a href="https://reads.databites.tech/p/ml-what-it-is-how-it-works-and-why">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[How Python Manages Data in Memory ]]></title><description><![CDATA[CS13 - Types, Values, Variables and Names]]></description><link>https://reads.databites.tech/p/how-python-manages-data-in-memory</link><guid isPermaLink="false">https://reads.databites.tech/p/how-python-manages-data-in-memory</guid><dc:creator><![CDATA[Josep Ferrer]]></dc:creator><pubDate>Mon, 28 Apr 2025 12:05:32 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/dfa3a0ee-116c-4730-9b00-add0338656d5_1465x1057.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Python often feels magical, but behind the scenes, it&#8217;s built on very tangible rules of memory and object management.</p><p>Understanding how Python handles data internally <strong>can make you a </strong><em><strong>better</strong></em><strong> coder</strong>: it helps you write cleaner code, debug faster, and optimize performance.</p><p>Before diving in, here&#8217;s the full-resolution cheatsheet for you to explore &#128071;&#127995;</p>
      <p>
          <a href="https://reads.databites.tech/p/how-python-manages-data-in-memory">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Welcome to my Cheatsheets Archive! 👋🏻]]></title><description><![CDATA[Your Go-To Hub for Data & AI Cheatsheets&#8212;Stay Organized, Stay Ahead!]]></description><link>https://reads.databites.tech/p/welcome-to-my-cheatsheets-archive</link><guid isPermaLink="false">https://reads.databites.tech/p/welcome-to-my-cheatsheets-archive</guid><dc:creator><![CDATA[Josep Ferrer]]></dc:creator><pubDate>Mon, 17 Mar 2025 20:19:17 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/34266ac0-9b0f-42a9-bea6-3a24e12f6e7c_1465x1057.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Hey everyone! Josep here&#8212;I&#8217;m thrilled to have you on board! &#10024;</p><p>If you've made it to this site, chances are you've already come across my visuals and cheatsheets. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!tlyp!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbf2796e-ae75-4135-8531-ab7640530d98_4437x1755.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!tlyp!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbf2796e-ae75-4135-8531-ab7640530d98_4437x1755.png 424w, https://substackcdn.com/image/fetch/$s_!tlyp!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbf2796e-ae75-4135-8531-ab7640530d98_4437x1755.png 848w, https://substackcdn.com/image/fetch/$s_!tlyp!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbf2796e-ae75-4135-8531-ab7640530d98_4437x1755.png 1272w, https://substackcdn.com/image/fetch/$s_!tlyp!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbf2796e-ae75-4135-8531-ab7640530d98_4437x1755.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!tlyp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbf2796e-ae75-4135-8531-ab7640530d98_4437x1755.png" width="1456" height="576" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cbf2796e-ae75-4135-8531-ab7640530d98_4437x1755.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:576,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:3204926,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://reads.databites.tech/i/159283693?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbf2796e-ae75-4135-8531-ab7640530d98_4437x1755.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!tlyp!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbf2796e-ae75-4135-8531-ab7640530d98_4437x1755.png 424w, https://substackcdn.com/image/fetch/$s_!tlyp!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbf2796e-ae75-4135-8531-ab7640530d98_4437x1755.png 848w, https://substackcdn.com/image/fetch/$s_!tlyp!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbf2796e-ae75-4135-8531-ab7640530d98_4437x1755.png 1272w, https://substackcdn.com/image/fetch/$s_!tlyp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcbf2796e-ae75-4135-8531-ab7640530d98_4437x1755.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>I know many of you love them, which is why I&#8217;ve created this dedicated space to <strong>organize my most popular and well-known cheatsheets&#8212;all in one place!</strong></p><h3>&#128233; Not a Subscriber Yet?</h3><p>What are you waiting for? <strong>Subscribe now</strong> and get a fresh cheatsheet delivered straight to your inbox every week!</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://reads.databites.tech/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://reads.databites.tech/subscribe?"><span>Subscribe now</span></a></p><h2>&#128293; What to Expect?</h2><p>Every week, a <strong>new cheatsheet</strong> will be released, covering essential topics in: </p><p>&#9989; <strong>SQL</strong> &#8211; Queries, optimization, and best practices<br>&#9989; <strong>Data Visualization</strong> &#8211; Making charts that tell a story<br>&#9989; <strong>Machine Learning</strong> &#8211; Key models and techniques<br>&#9989; <strong>Python</strong> &#8211; Essential data science workflows<br>&#9989; <strong>AI &amp; Deep Learning</strong> &#8211; Understanding cutting-edge architectures</p><p>Whether you&#8217;re sharpening your <strong>SQL skills, mastering data visualization, or diving deep into AI</strong>, you&#8217;ll find <strong>practical, easy-to-digest</strong> insights here.</p><p>&#128161; <strong>Have a cheatsheet request or an idea for future content?</strong> Drop your suggestions in the comments below! &#128071;&#127995;</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://reads.databites.tech/p/welcome-to-my-cheatsheets-archive/comments&quot;,&quot;text&quot;:&quot;Leave a comment&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://reads.databites.tech/p/welcome-to-my-cheatsheets-archive/comments"><span>Leave a comment</span></a></p><h2>&#128640; Unlock Exclusive Content</h2><p><strong>Remember:</strong> From now on, cheatsheets posted longer than two weeks ago will be under a paywall.</p><p>Want <strong>full access</strong> to all cheatsheets? <strong>Upgrade now</strong> and never miss out!</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://reads.databites.tech/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://reads.databites.tech/subscribe?"><span>Subscribe now</span></a></p><h2>&#128220; Available Cheatsheets</h2><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!zvtB!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfcbe8ea-febe-4c88-b010-3b54a696276d_2133x440.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!zvtB!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfcbe8ea-febe-4c88-b010-3b54a696276d_2133x440.png 424w, https://substackcdn.com/image/fetch/$s_!zvtB!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfcbe8ea-febe-4c88-b010-3b54a696276d_2133x440.png 848w, https://substackcdn.com/image/fetch/$s_!zvtB!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfcbe8ea-febe-4c88-b010-3b54a696276d_2133x440.png 1272w, https://substackcdn.com/image/fetch/$s_!zvtB!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfcbe8ea-febe-4c88-b010-3b54a696276d_2133x440.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!zvtB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfcbe8ea-febe-4c88-b010-3b54a696276d_2133x440.png" width="1456" height="300" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/dfcbe8ea-febe-4c88-b010-3b54a696276d_2133x440.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:300,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:79899,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.databites.tech/i/159283693?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfcbe8ea-febe-4c88-b010-3b54a696276d_2133x440.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!zvtB!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfcbe8ea-febe-4c88-b010-3b54a696276d_2133x440.png 424w, https://substackcdn.com/image/fetch/$s_!zvtB!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfcbe8ea-febe-4c88-b010-3b54a696276d_2133x440.png 848w, https://substackcdn.com/image/fetch/$s_!zvtB!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfcbe8ea-febe-4c88-b010-3b54a696276d_2133x440.png 1272w, https://substackcdn.com/image/fetch/$s_!zvtB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfcbe8ea-febe-4c88-b010-3b54a696276d_2133x440.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><ul><li><p><strong><a href="https://www.reads.databites.tech/p/how-to-actually-get-started-with-228">How to Actually Get Started with SQL</a></strong></p></li></ul><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://reads.databites.tech/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://reads.databites.tech/subscribe?"><span>Subscribe now</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!bZWr!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F370c4619-63fb-4d78-b543-889aad970564_2133x477.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!bZWr!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F370c4619-63fb-4d78-b543-889aad970564_2133x477.png 424w, https://substackcdn.com/image/fetch/$s_!bZWr!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F370c4619-63fb-4d78-b543-889aad970564_2133x477.png 848w, https://substackcdn.com/image/fetch/$s_!bZWr!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F370c4619-63fb-4d78-b543-889aad970564_2133x477.png 1272w, https://substackcdn.com/image/fetch/$s_!bZWr!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F370c4619-63fb-4d78-b543-889aad970564_2133x477.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!bZWr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F370c4619-63fb-4d78-b543-889aad970564_2133x477.png" width="1456" height="326" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/370c4619-63fb-4d78-b543-889aad970564_2133x477.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:326,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:90830,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.databites.tech/i/159283693?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F370c4619-63fb-4d78-b543-889aad970564_2133x477.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!bZWr!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F370c4619-63fb-4d78-b543-889aad970564_2133x477.png 424w, https://substackcdn.com/image/fetch/$s_!bZWr!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F370c4619-63fb-4d78-b543-889aad970564_2133x477.png 848w, https://substackcdn.com/image/fetch/$s_!bZWr!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F370c4619-63fb-4d78-b543-889aad970564_2133x477.png 1272w, https://substackcdn.com/image/fetch/$s_!bZWr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F370c4619-63fb-4d78-b543-889aad970564_2133x477.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><ul><li><p><strong><a href="https://reads.databites.tech/p/cs1-understanding-the-essentials">Understanding the Essentials of Time Series</a></strong></p></li><li><p><strong><a href="https://reads.databites.tech/p/cs2-dealing-with-outliers">Dealing with Outliers</a></strong></p></li><li><p><strong><a href="https://reads.databites.tech/p/cs3-unlocking-the-power-of-geospatial">Unlocking the Power of Geospatial Data</a></strong></p></li></ul><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://reads.databites.tech/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://reads.databites.tech/subscribe?"><span>Subscribe now</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!NPo9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde90e45a-c2ca-4119-aec8-9b7fa01c2fe2_2133x456.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!NPo9!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde90e45a-c2ca-4119-aec8-9b7fa01c2fe2_2133x456.png 424w, https://substackcdn.com/image/fetch/$s_!NPo9!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde90e45a-c2ca-4119-aec8-9b7fa01c2fe2_2133x456.png 848w, https://substackcdn.com/image/fetch/$s_!NPo9!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde90e45a-c2ca-4119-aec8-9b7fa01c2fe2_2133x456.png 1272w, https://substackcdn.com/image/fetch/$s_!NPo9!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde90e45a-c2ca-4119-aec8-9b7fa01c2fe2_2133x456.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!NPo9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde90e45a-c2ca-4119-aec8-9b7fa01c2fe2_2133x456.png" width="1456" height="311" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/de90e45a-c2ca-4119-aec8-9b7fa01c2fe2_2133x456.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:311,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:88666,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.databites.tech/i/159283693?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde90e45a-c2ca-4119-aec8-9b7fa01c2fe2_2133x456.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!NPo9!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde90e45a-c2ca-4119-aec8-9b7fa01c2fe2_2133x456.png 424w, https://substackcdn.com/image/fetch/$s_!NPo9!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde90e45a-c2ca-4119-aec8-9b7fa01c2fe2_2133x456.png 848w, https://substackcdn.com/image/fetch/$s_!NPo9!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde90e45a-c2ca-4119-aec8-9b7fa01c2fe2_2133x456.png 1272w, https://substackcdn.com/image/fetch/$s_!NPo9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde90e45a-c2ca-4119-aec8-9b7fa01c2fe2_2133x456.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><strong>ML Most Common Models Series</strong> <em>(Under Construction! &#9888;&#65039;)</em></p><ul><li><p><strong><a href="https://reads.databites.tech/p/ml-what-it-is-how-it-works-and-why">What It Is, How It Works &amp; Why It Matters</a></strong></p></li></ul><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://reads.databites.tech/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://reads.databites.tech/subscribe?"><span>Subscribe now</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!m8gN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc07bcef-f04d-4a08-9088-547ecc7abeb1_2133x434.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!m8gN!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc07bcef-f04d-4a08-9088-547ecc7abeb1_2133x434.png 424w, https://substackcdn.com/image/fetch/$s_!m8gN!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc07bcef-f04d-4a08-9088-547ecc7abeb1_2133x434.png 848w, https://substackcdn.com/image/fetch/$s_!m8gN!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc07bcef-f04d-4a08-9088-547ecc7abeb1_2133x434.png 1272w, https://substackcdn.com/image/fetch/$s_!m8gN!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc07bcef-f04d-4a08-9088-547ecc7abeb1_2133x434.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!m8gN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc07bcef-f04d-4a08-9088-547ecc7abeb1_2133x434.png" width="1456" height="296" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fc07bcef-f04d-4a08-9088-547ecc7abeb1_2133x434.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:296,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:83968,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.databites.tech/i/159283693?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc07bcef-f04d-4a08-9088-547ecc7abeb1_2133x434.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!m8gN!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc07bcef-f04d-4a08-9088-547ecc7abeb1_2133x434.png 424w, https://substackcdn.com/image/fetch/$s_!m8gN!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc07bcef-f04d-4a08-9088-547ecc7abeb1_2133x434.png 848w, https://substackcdn.com/image/fetch/$s_!m8gN!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc07bcef-f04d-4a08-9088-547ecc7abeb1_2133x434.png 1272w, https://substackcdn.com/image/fetch/$s_!m8gN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc07bcef-f04d-4a08-9088-547ecc7abeb1_2133x434.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><ul><li><p><strong><a href="https://reads.databites.tech/p/the-art-and-science-of-data-visualization-92d">The Art and Science of Data Visualization</a></strong></p></li></ul><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://reads.databites.tech/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://reads.databites.tech/subscribe?"><span>Subscribe now</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!usM7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1211e49-fdb0-4545-a3be-226a1dc375b3_2133x443.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!usM7!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1211e49-fdb0-4545-a3be-226a1dc375b3_2133x443.png 424w, https://substackcdn.com/image/fetch/$s_!usM7!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1211e49-fdb0-4545-a3be-226a1dc375b3_2133x443.png 848w, https://substackcdn.com/image/fetch/$s_!usM7!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1211e49-fdb0-4545-a3be-226a1dc375b3_2133x443.png 1272w, https://substackcdn.com/image/fetch/$s_!usM7!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1211e49-fdb0-4545-a3be-226a1dc375b3_2133x443.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!usM7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1211e49-fdb0-4545-a3be-226a1dc375b3_2133x443.png" width="1456" height="302" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e1211e49-fdb0-4545-a3be-226a1dc375b3_2133x443.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:302,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:120392,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://reads.databites.tech/i/159283693?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1211e49-fdb0-4545-a3be-226a1dc375b3_2133x443.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!usM7!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1211e49-fdb0-4545-a3be-226a1dc375b3_2133x443.png 424w, https://substackcdn.com/image/fetch/$s_!usM7!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1211e49-fdb0-4545-a3be-226a1dc375b3_2133x443.png 848w, https://substackcdn.com/image/fetch/$s_!usM7!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1211e49-fdb0-4545-a3be-226a1dc375b3_2133x443.png 1272w, https://substackcdn.com/image/fetch/$s_!usM7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe1211e49-fdb0-4545-a3be-226a1dc375b3_2133x443.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><ul><li><p><strong><a href="https://reads.databites.tech/p/how-python-manages-data-in-memory">How Python Manages Data In Memory</a> </strong></p></li></ul><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://reads.databites.tech/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://reads.databites.tech/subscribe?"><span>Subscribe now</span></a></p><h3>&#128640; Stay Ahead!</h3><p>Upgrade to <strong>unlock all premium cheatsheets</strong> and ensure you have the latest insights at your fingertips.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://reads.databites.tech/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://reads.databites.tech/subscribe?"><span>Subscribe now</span></a></p><p>More cheatsheets are coming soon&#8212;stay tuned! &#127919;</p><div><hr></div><p><strong>Any suggestions or recommended topics for future cheatsheets? &#129300;</strong></p><p>Write me an email at rfeers@gmail.com or leave a message below! &#128071;&#127995;</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.databites.tech/p/the-transformers-architecture/comments&quot;,&quot;text&quot;:&quot;Leave a comment&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://www.databites.tech/p/the-transformers-architecture/comments"><span>Leave a comment</span></a></p><p></p><p></p>]]></content:encoded></item><item><title><![CDATA[CS3 - Unlocking the Power of Geospatial Data 🌍]]></title><description><![CDATA[What is Geospatial Data?]]></description><link>https://reads.databites.tech/p/cs3-unlocking-the-power-of-geospatial</link><guid isPermaLink="false">https://reads.databites.tech/p/cs3-unlocking-the-power-of-geospatial</guid><dc:creator><![CDATA[Josep Ferrer]]></dc:creator><pubDate>Mon, 17 Mar 2025 19:10:13 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/b0b09df5-7225-46e5-ac87-1a71e7f01b38_1465x1057.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h3><strong>What is Geospatial Data?</strong></h3><p>In simple terms, geospatial data refers to <strong>information tied to specific geographic locations</strong> on Earth&#8217;s surface.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!PrU8!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc601f762-40ff-47a9-a216-a62849021de8_1910x979.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!PrU8!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc601f762-40ff-47a9-a216-a62849021de8_1910x979.png 424w, https://substackcdn.com/image/fetch/$s_!PrU8!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc601f762-40ff-47a9-a216-a62849021de8_1910x979.png 848w, https://substackcdn.com/image/fetch/$s_!PrU8!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc601f762-40ff-47a9-a216-a62849021de8_1910x979.png 1272w, https://substackcdn.com/image/fetch/$s_!PrU8!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc601f762-40ff-47a9-a216-a62849021de8_1910x979.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!PrU8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc601f762-40ff-47a9-a216-a62849021de8_1910x979.png" width="1456" height="746" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c601f762-40ff-47a9-a216-a62849021de8_1910x979.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:746,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:935822,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!PrU8!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc601f762-40ff-47a9-a216-a62849021de8_1910x979.png 424w, https://substackcdn.com/image/fetch/$s_!PrU8!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc601f762-40ff-47a9-a216-a62849021de8_1910x979.png 848w, https://substackcdn.com/image/fetch/$s_!PrU8!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc601f762-40ff-47a9-a216-a62849021de8_1910x979.png 1272w, https://substackcdn.com/image/fetch/$s_!PrU8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc601f762-40ff-47a9-a216-a62849021de8_1910x979.png 1456w" sizes="100vw" loading="lazy" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Think of:</p><ul><li><p><strong>Maps</strong> showing streets and terrain</p></li><li><p><strong>Addresses</strong> linked to latitude and longitude</p></li><li><p><strong>Satellite images</strong> revealing land use or vegetation</p></li></ul><p>With its ability to connect data to physical locations, geospatial data has become essential in industries like logistics, urban planning, and environmental science.</p><p>And this leads us to our main focus&#8230;</p><p><strong>Understanding Geospatial Data</strong></p><p>Before starting, here you have the full-resolution cheatsheet &#128071;&#127995;</p>
      <p>
          <a href="https://reads.databites.tech/p/cs3-unlocking-the-power-of-geospatial">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[CS2 - Dealing with Outliers]]></title><description><![CDATA[Detecting, Handling, and Leveraging Anomalies in Data]]></description><link>https://reads.databites.tech/p/cs2-dealing-with-outliers</link><guid isPermaLink="false">https://reads.databites.tech/p/cs2-dealing-with-outliers</guid><dc:creator><![CDATA[Josep Ferrer]]></dc:creator><pubDate>Mon, 17 Mar 2025 19:04:37 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/718b5325-cfb3-4b5b-8cb3-f9e31b917651_1465x1057.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2>Outliers: What, Why, and How?</h2><p><strong>Outliers</strong> are the peculiar data points that don&#8217;t quite fit with the rest of the dataset. These anomalies can arise from:</p><ul><li><p>Data entry errors &#128395;&#65039;</p></li><li><p>Measurement issues &#128736;&#65039;</p></li><li><p>Genuine rare events &#127775;</p></li></ul><p>While they can skew your analysis and lead to incorrect conclusions, they can also hold valuable insights (think fraud detection or identifying unique customer segments).</p><p>This leads us to the main question&#8230;</p><p><strong>So, what&#8217;s the best way to approach them?</strong></p><p><em>So let&#8217;s dive into how to deal with outliers!</em></p><p>Before starting, here you have the full-resolution cheatsheet &#128071;&#127995;</p>
      <p>
          <a href="https://reads.databites.tech/p/cs2-dealing-with-outliers">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[CS1 - Understanding the Essentials of Time Series]]></title><description><![CDATA[What Is a Time Series?]]></description><link>https://reads.databites.tech/p/cs1-understanding-the-essentials</link><guid isPermaLink="false">https://reads.databites.tech/p/cs1-understanding-the-essentials</guid><dc:creator><![CDATA[Josep Ferrer]]></dc:creator><pubDate>Mon, 17 Mar 2025 18:52:53 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/416da452-6072-4dfa-9f68-49c1f9f948b5_1465x1057.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2>What Is a Time Series?</h2><p>A <strong>time series</strong> is a special type of dataset:</p><ul><li><p>It&#8217;s an <strong>ordered sequence of values</strong> collected at consistent time intervals.</p></li><li><p>Think of it as data with a built-in clock!</p></li></ul><p>You&#8217;ll find time series data everywhere:</p><p><em>Stock prices, weather patterns, website traffic, and even your Spotify listening history.</em></p><p>Analyzing this kind of data helps us uncover <strong>trends</strong>, predict future behavior, and identify unexpected changes.<br><em>So let&#8217;s dive into Time Series!</em></p><p>Before starting, here you have the full-resolution cheatsheet &#128071;&#127995;</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!fx9_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe95c5269-5cea-48e5-b479-e9020ef56c19_3581x3862.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fx9_!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe95c5269-5cea-48e5-b479-e9020ef56c19_3581x3862.png 424w, https://substackcdn.com/image/fetch/$s_!fx9_!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe95c5269-5cea-48e5-b479-e9020ef56c19_3581x3862.png 848w, https://substackcdn.com/image/fetch/$s_!fx9_!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe95c5269-5cea-48e5-b479-e9020ef56c19_3581x3862.png 1272w, https://substackcdn.com/image/fetch/$s_!fx9_!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe95c5269-5cea-48e5-b479-e9020ef56c19_3581x3862.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!fx9_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe95c5269-5cea-48e5-b479-e9020ef56c19_3581x3862.png" width="1456" height="1570" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e95c5269-5cea-48e5-b479-e9020ef56c19_3581x3862.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1570,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1224753,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!fx9_!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe95c5269-5cea-48e5-b479-e9020ef56c19_3581x3862.png 424w, https://substackcdn.com/image/fetch/$s_!fx9_!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe95c5269-5cea-48e5-b479-e9020ef56c19_3581x3862.png 848w, https://substackcdn.com/image/fetch/$s_!fx9_!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe95c5269-5cea-48e5-b479-e9020ef56c19_3581x3862.png 1272w, https://substackcdn.com/image/fetch/$s_!fx9_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe95c5269-5cea-48e5-b479-e9020ef56c19_3581x3862.png 1456w" sizes="100vw" loading="lazy" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h2>The Four Pillars of Time Series</h2><h4><strong>1. Trend &#128200;</strong></h4><p>This is the <strong>long-term movement</strong> in the data. Does it rise, fall, or stay stable over time?</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!fnSZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b4c3d6f-6c25-40a2-87b4-d460a6a83eef_1696x1143.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fnSZ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b4c3d6f-6c25-40a2-87b4-d460a6a83eef_1696x1143.png 424w, https://substackcdn.com/image/fetch/$s_!fnSZ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b4c3d6f-6c25-40a2-87b4-d460a6a83eef_1696x1143.png 848w, https://substackcdn.com/image/fetch/$s_!fnSZ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b4c3d6f-6c25-40a2-87b4-d460a6a83eef_1696x1143.png 1272w, https://substackcdn.com/image/fetch/$s_!fnSZ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b4c3d6f-6c25-40a2-87b4-d460a6a83eef_1696x1143.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!fnSZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b4c3d6f-6c25-40a2-87b4-d460a6a83eef_1696x1143.png" width="1456" height="981" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7b4c3d6f-6c25-40a2-87b4-d460a6a83eef_1696x1143.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:981,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:152527,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!fnSZ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b4c3d6f-6c25-40a2-87b4-d460a6a83eef_1696x1143.png 424w, https://substackcdn.com/image/fetch/$s_!fnSZ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b4c3d6f-6c25-40a2-87b4-d460a6a83eef_1696x1143.png 848w, https://substackcdn.com/image/fetch/$s_!fnSZ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b4c3d6f-6c25-40a2-87b4-d460a6a83eef_1696x1143.png 1272w, https://substackcdn.com/image/fetch/$s_!fnSZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b4c3d6f-6c25-40a2-87b4-d460a6a83eef_1696x1143.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><ul><li><p><strong>Example: </strong>A company&#8217;s annual revenue increasing steadily.</p></li><li><p><strong>Pro Tip:</strong> Use tools like moving averages to isolate the trend from other components.</p></li></ul><h4><strong>2. Seasonality &#127793;</strong></h4><p>Seasonality captures <strong>recurring patterns</strong> that happen over a fixed period, like days, months, or years.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!sKB3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ccebc0e-c554-4808-a095-81b41a2af5a6_1676x1148.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!sKB3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ccebc0e-c554-4808-a095-81b41a2af5a6_1676x1148.png 424w, https://substackcdn.com/image/fetch/$s_!sKB3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ccebc0e-c554-4808-a095-81b41a2af5a6_1676x1148.png 848w, https://substackcdn.com/image/fetch/$s_!sKB3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ccebc0e-c554-4808-a095-81b41a2af5a6_1676x1148.png 1272w, https://substackcdn.com/image/fetch/$s_!sKB3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ccebc0e-c554-4808-a095-81b41a2af5a6_1676x1148.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!sKB3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ccebc0e-c554-4808-a095-81b41a2af5a6_1676x1148.png" width="1456" height="997" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3ccebc0e-c554-4808-a095-81b41a2af5a6_1676x1148.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:997,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:194969,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!sKB3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ccebc0e-c554-4808-a095-81b41a2af5a6_1676x1148.png 424w, https://substackcdn.com/image/fetch/$s_!sKB3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ccebc0e-c554-4808-a095-81b41a2af5a6_1676x1148.png 848w, https://substackcdn.com/image/fetch/$s_!sKB3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ccebc0e-c554-4808-a095-81b41a2af5a6_1676x1148.png 1272w, https://substackcdn.com/image/fetch/$s_!sKB3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ccebc0e-c554-4808-a095-81b41a2af5a6_1676x1148.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><ul><li><p><strong>Example:</strong> E-commerce sales spiking every Black Friday.</p></li><li><p><strong>Pro Tip: </strong>Seasonal decomposition (using libraries like <code>statsmodels</code>) helps separate seasonal patterns from raw data.</p></li></ul><h4><strong>3. Cyclical &#127744;</strong></h4><p>Unlike seasonality, cyclical patterns occur over <strong>longer and irregular intervals</strong>, often tied to economic or environmental factors.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!6GPx!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5d4981cc-c01f-4286-81d2-6e7922e67e81_1669x1143.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!6GPx!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5d4981cc-c01f-4286-81d2-6e7922e67e81_1669x1143.png 424w, https://substackcdn.com/image/fetch/$s_!6GPx!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5d4981cc-c01f-4286-81d2-6e7922e67e81_1669x1143.png 848w, https://substackcdn.com/image/fetch/$s_!6GPx!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5d4981cc-c01f-4286-81d2-6e7922e67e81_1669x1143.png 1272w, https://substackcdn.com/image/fetch/$s_!6GPx!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5d4981cc-c01f-4286-81d2-6e7922e67e81_1669x1143.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!6GPx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5d4981cc-c01f-4286-81d2-6e7922e67e81_1669x1143.png" width="1456" height="997" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5d4981cc-c01f-4286-81d2-6e7922e67e81_1669x1143.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:997,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:124886,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!6GPx!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5d4981cc-c01f-4286-81d2-6e7922e67e81_1669x1143.png 424w, https://substackcdn.com/image/fetch/$s_!6GPx!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5d4981cc-c01f-4286-81d2-6e7922e67e81_1669x1143.png 848w, https://substackcdn.com/image/fetch/$s_!6GPx!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5d4981cc-c01f-4286-81d2-6e7922e67e81_1669x1143.png 1272w, https://substackcdn.com/image/fetch/$s_!6GPx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5d4981cc-c01f-4286-81d2-6e7922e67e81_1669x1143.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><ul><li><p><strong>Example:</strong> Housing market cycles lasting several years.</p></li><li><p><strong>Pro Tip: </strong>Cyclical behavior is harder to predict, so combine it with trend analysis for better forecasts.</p></li></ul><h4><strong>4. Irregular &#129335;&#8205;&#9794;&#65039;</strong></h4><p>These are the <strong>random, unpredictable fluctuations</strong> that don&#8217;t follow any pattern.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!EGMG!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21afd854-7955-4d30-a9cb-eed4a6c43623_1669x1143.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!EGMG!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21afd854-7955-4d30-a9cb-eed4a6c43623_1669x1143.png 424w, https://substackcdn.com/image/fetch/$s_!EGMG!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21afd854-7955-4d30-a9cb-eed4a6c43623_1669x1143.png 848w, https://substackcdn.com/image/fetch/$s_!EGMG!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21afd854-7955-4d30-a9cb-eed4a6c43623_1669x1143.png 1272w, https://substackcdn.com/image/fetch/$s_!EGMG!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21afd854-7955-4d30-a9cb-eed4a6c43623_1669x1143.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!EGMG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21afd854-7955-4d30-a9cb-eed4a6c43623_1669x1143.png" width="1456" height="997" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/21afd854-7955-4d30-a9cb-eed4a6c43623_1669x1143.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:997,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:178817,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!EGMG!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21afd854-7955-4d30-a9cb-eed4a6c43623_1669x1143.png 424w, https://substackcdn.com/image/fetch/$s_!EGMG!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21afd854-7955-4d30-a9cb-eed4a6c43623_1669x1143.png 848w, https://substackcdn.com/image/fetch/$s_!EGMG!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21afd854-7955-4d30-a9cb-eed4a6c43623_1669x1143.png 1272w, https://substackcdn.com/image/fetch/$s_!EGMG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21afd854-7955-4d30-a9cb-eed4a6c43623_1669x1143.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><ul><li><p><strong>Example: </strong>A sudden sales spike after a celebrity endorsement.</p></li><li><p><strong>Pro Tip:</strong> Use smoothing techniques to filter out noise for clearer insights.</p></li></ul><h3>Why You Should Care About Time Series Analysis</h3><p>Time series analysis isn&#8217;t just a tool&#8212;it&#8217;s a <strong>superpower</strong> for making data-driven decisions. From forecasting future sales to detecting anomalies in IoT devices, time series opens doors to a whole new level of analytics.</p><p>Here&#8217;s where it shines:</p><ul><li><p><strong>Forecasting</strong>: Predict stock prices, weather, or customer demand.</p></li><li><p><strong>Anomaly Detection</strong>: Spot unusual activity, like fraud or system failures.</p></li><li><p><strong>Optimization</strong>: Understand patterns to schedule resources or improve workflows.</p></li></ul><h3>Ready to Dive In?</h3><p>If you&#8217;re new to time series, don&#8217;t worry&#8212;I&#8217;ll be sharing a detailed beginner&#8217;s guide soon! In the meantime, here are a few tips to get you started:</p><ol><li><p><strong>Explore Your Data</strong><br>Visualize it! Tools like <code>Matplotlib</code> and <code>Seaborn</code> make it easy to spot trends and patterns.</p></li><li><p><strong>Decompose Your Series</strong><br>Break it into trend, seasonality, and residuals using Python libraries like <code>statsmodels</code>.</p></li><li><p><strong>Master Key Models</strong></p><ul><li><p><strong>ARIMA/SARIMA</strong> for forecasting.</p></li><li><p><strong>Prophet</strong> for handling missing data and seasonality.</p></li><li><p><strong>LSTMs</strong> for complex patterns in deep learning.</p></li></ul></li></ol><p>And this is all for now! &#10024;</p><div><hr></div><p>Before you go,<strong> tap the &#128154; button at the bottom of this email to show your support</strong>&#8212;<em>it really helps and means a lot!</em></p><p><strong>Any doubt? Let&#8217;s start a conversation! &#128071;&#127995;</strong></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.databites.tech/p/the-transformers-architecture/comments&quot;,&quot;text&quot;:&quot;Leave a comment&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://www.databites.tech/p/the-transformers-architecture/comments"><span>Leave a comment</span></a></p><div><hr></div><h2>Want to get more of my content? &#128587;&#127995;&#8205;&#9794;&#65039;</h2><p>Reach me on:</p><ul><li><p><strong><a href="https://www.linkedin.com/in/josep-ferrer-sanchez/">LinkedIn</a>,</strong> <strong><a href="https://x.com/rfeers">X (Twitter)</a></strong>, or <strong><a href="https://www.threads.net/@rfeers">Threads</a> to get daily posts about Data Science.</strong></p></li><li><p>My <strong><a href="https://medium.com/@rfeers">Medium</a></strong><a href="https://medium.com/@rfeers"> </a><strong><a href="https://medium.com/@rfeers">Blog</a></strong> to learn more about Data Science, Machine Learning, and AI.</p></li><li><p>Just email me at rfeers@gmail.com for any inquiries or to ask for help! &#129299;</p></li></ul><div><hr></div><p>Remember now that DataBites has an official <a href="https://x.com/databitestech">X (Twitter)</a> account and <a href="https://www.linkedin.com/search/results/all/?fetchDeterministicClustersOnly=true&amp;heroEntityKey=urn%3Ali%3Aorganization%3A104285500&amp;keywords=databites&amp;origin=RICH_QUERY_TYPEAHEAD_HISTORY&amp;position=0&amp;searchId=2b268e19-1da0-4357-a42a-9d7f7fba7772&amp;sid=S_G&amp;spellCorrectionEnabled=true">LinkedIn</a> page. Follow us there to stay updated and help spread the word! &#128588;&#127995;</p>]]></content:encoded></item></channel></rss>