<?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[Data Unboxed]]></title><description><![CDATA[Data Unboxed is a platform dedicated to all things data. For an enriching experience filled with daily tutorials, exciting prompts, and thought-provoking discussions, Join today🍻]]></description><link>https://tadata.substack.com</link><image><url>https://substackcdn.com/image/fetch/$s_!TZea!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F582d8970-345f-469e-a24e-1ce3377782ea_500x500.png</url><title>Data Unboxed</title><link>https://tadata.substack.com</link></image><generator>Substack</generator><lastBuildDate>Thu, 16 Apr 2026 10:06:49 GMT</lastBuildDate><atom:link href="https://tadata.substack.com/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Tushar Aggarwal]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[DataUnboxed@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[DataUnboxed@substack.com]]></itunes:email><itunes:name><![CDATA[Data Unboxed by Tushar]]></itunes:name></itunes:owner><itunes:author><![CDATA[Data Unboxed by Tushar]]></itunes:author><googleplay:owner><![CDATA[DataUnboxed@substack.com]]></googleplay:owner><googleplay:email><![CDATA[DataUnboxed@substack.com]]></googleplay:email><googleplay:author><![CDATA[Data Unboxed by Tushar]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[#2 Unveiling the Power of Stats Mosaic: Exploration of Statistical Concepts through Interactive Visuals]]></title><description><![CDATA[#2 of 101-Awesome Streamlit Apps by Tushar Aggarwal]]></description><link>https://tadata.substack.com/p/2-unveiling-the-power-of-stats-mosaic</link><guid isPermaLink="false">https://tadata.substack.com/p/2-unveiling-the-power-of-stats-mosaic</guid><dc:creator><![CDATA[Data Unboxed by Tushar]]></dc:creator><pubDate>Sat, 20 Jan 2024 02:30:42 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!tdpB!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374bd401-d10c-456a-9e22-62bd05713cf0_3200x1755.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!tdpB!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374bd401-d10c-456a-9e22-62bd05713cf0_3200x1755.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!tdpB!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374bd401-d10c-456a-9e22-62bd05713cf0_3200x1755.png 424w, https://substackcdn.com/image/fetch/$s_!tdpB!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374bd401-d10c-456a-9e22-62bd05713cf0_3200x1755.png 848w, https://substackcdn.com/image/fetch/$s_!tdpB!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374bd401-d10c-456a-9e22-62bd05713cf0_3200x1755.png 1272w, https://substackcdn.com/image/fetch/$s_!tdpB!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374bd401-d10c-456a-9e22-62bd05713cf0_3200x1755.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!tdpB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374bd401-d10c-456a-9e22-62bd05713cf0_3200x1755.png" width="1456" height="799" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/374bd401-d10c-456a-9e22-62bd05713cf0_3200x1755.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:799,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1271015,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!tdpB!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374bd401-d10c-456a-9e22-62bd05713cf0_3200x1755.png 424w, https://substackcdn.com/image/fetch/$s_!tdpB!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374bd401-d10c-456a-9e22-62bd05713cf0_3200x1755.png 848w, https://substackcdn.com/image/fetch/$s_!tdpB!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374bd401-d10c-456a-9e22-62bd05713cf0_3200x1755.png 1272w, https://substackcdn.com/image/fetch/$s_!tdpB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F374bd401-d10c-456a-9e22-62bd05713cf0_3200x1755.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 role="img" 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><title></title><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><strong><a href="https://stats-mosaic-guide.streamlit.app/">Stats Mosaic</a></strong></h2><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!HVpW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F106d1e5d-adb9-4c14-9299-3b76bd78f102_3195x1752.gif" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!HVpW!,w_424,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F106d1e5d-adb9-4c14-9299-3b76bd78f102_3195x1752.gif 424w, https://substackcdn.com/image/fetch/$s_!HVpW!,w_848,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F106d1e5d-adb9-4c14-9299-3b76bd78f102_3195x1752.gif 848w, https://substackcdn.com/image/fetch/$s_!HVpW!,w_1272,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F106d1e5d-adb9-4c14-9299-3b76bd78f102_3195x1752.gif 1272w, https://substackcdn.com/image/fetch/$s_!HVpW!,w_1456,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F106d1e5d-adb9-4c14-9299-3b76bd78f102_3195x1752.gif 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!HVpW!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F106d1e5d-adb9-4c14-9299-3b76bd78f102_3195x1752.gif" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/106d1e5d-adb9-4c14-9299-3b76bd78f102_3195x1752.gif&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;https://stats-mosaic-guide.streamlit.app/&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="https://stats-mosaic-guide.streamlit.app/" title="https://stats-mosaic-guide.streamlit.app/" srcset="https://substackcdn.com/image/fetch/$s_!HVpW!,w_424,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F106d1e5d-adb9-4c14-9299-3b76bd78f102_3195x1752.gif 424w, https://substackcdn.com/image/fetch/$s_!HVpW!,w_848,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F106d1e5d-adb9-4c14-9299-3b76bd78f102_3195x1752.gif 848w, https://substackcdn.com/image/fetch/$s_!HVpW!,w_1272,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F106d1e5d-adb9-4c14-9299-3b76bd78f102_3195x1752.gif 1272w, https://substackcdn.com/image/fetch/$s_!HVpW!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F106d1e5d-adb9-4c14-9299-3b76bd78f102_3195x1752.gif 1456w" sizes="100vw"></picture><div></div></div></a><figcaption class="image-caption"></figcaption></figure></div><p>https://stats-mosaic-guide.streamlit.app/</p><p>Introduction : In the dynamic realm of data science and statistics, the quest for effective tools to explore and understand statistical concepts is ever-present. Enter Stats Mosaic &#8212; a cutting-edge Streamlit application meticulously crafted to cater to the needs of data enthusiasts, students, and seasoned professionals alike. In this blog post, we will delve into the immersive world of Stats Mosaic, exploring its features, the wealth of statistical topics it covers, and the impact it can have on statistical comprehension through interactive visualizations.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://tadata.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Data Unboxed is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><h1><strong>Features</strong></h1><blockquote><p><em>-Visual Appealing Application<br>Terms exploration and Live Demo<br>Upcoming: English, French, and German and Users tips</em></p></blockquote><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ShFS!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0d5f020-657f-4137-9f9d-b614775454e6_3200x1760.gif" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ShFS!,w_424,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0d5f020-657f-4137-9f9d-b614775454e6_3200x1760.gif 424w, https://substackcdn.com/image/fetch/$s_!ShFS!,w_848,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0d5f020-657f-4137-9f9d-b614775454e6_3200x1760.gif 848w, https://substackcdn.com/image/fetch/$s_!ShFS!,w_1272,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0d5f020-657f-4137-9f9d-b614775454e6_3200x1760.gif 1272w, https://substackcdn.com/image/fetch/$s_!ShFS!,w_1456,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0d5f020-657f-4137-9f9d-b614775454e6_3200x1760.gif 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ShFS!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0d5f020-657f-4137-9f9d-b614775454e6_3200x1760.gif" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c0d5f020-657f-4137-9f9d-b614775454e6_3200x1760.gif&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&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_!ShFS!,w_424,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0d5f020-657f-4137-9f9d-b614775454e6_3200x1760.gif 424w, https://substackcdn.com/image/fetch/$s_!ShFS!,w_848,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0d5f020-657f-4137-9f9d-b614775454e6_3200x1760.gif 848w, https://substackcdn.com/image/fetch/$s_!ShFS!,w_1272,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0d5f020-657f-4137-9f9d-b614775454e6_3200x1760.gif 1272w, https://substackcdn.com/image/fetch/$s_!ShFS!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0d5f020-657f-4137-9f9d-b614775454e6_3200x1760.gif 1456w" sizes="100vw"></picture><div></div></div></a><figcaption class="image-caption"></figcaption></figure></div><p>https://stats-mosaic-guide.streamlit.app/</p><p><strong>The Stats Mosaic Experience Stats Mosaic stands out as a user-friendly application designed to facilitate exploration and visualization of complex statistical concepts.</strong></p><p>Its sleek interface and intuitive functionalities make it a go-to platform for individuals seeking a comprehensive understanding of various statistical topics. At the core of Stats Mosaic is a commitment to delivering interactive and informative visuals that transcend traditional learning methods, allowing users to grasp statistical intricacies with unprecedented ease.</p><p><strong>Navigating Statistical Topics One of the key strengths of Stats Mosaic lies in its extensive coverage of statistical concepts.</strong></p><p>Users can seamlessly navigate through a diverse array of topics, making it a versatile tool for individuals at different proficiency levels. From foundational concepts to advanced methodologies, Stats Mosaic caters to the curiosity of data enthusiasts and the academic needs of students while providing valuable resources for professionals looking to enhance their statistical toolkit.</p><p><strong>Visualizing Statistical Concepts Stats Mosaic truly comes alive through its powerful visualization capabilities.</strong></p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!zIbn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a3b0396-94da-453d-9814-c779828d1f89_3200x1766.gif" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!zIbn!,w_424,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a3b0396-94da-453d-9814-c779828d1f89_3200x1766.gif 424w, https://substackcdn.com/image/fetch/$s_!zIbn!,w_848,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a3b0396-94da-453d-9814-c779828d1f89_3200x1766.gif 848w, https://substackcdn.com/image/fetch/$s_!zIbn!,w_1272,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a3b0396-94da-453d-9814-c779828d1f89_3200x1766.gif 1272w, https://substackcdn.com/image/fetch/$s_!zIbn!,w_1456,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a3b0396-94da-453d-9814-c779828d1f89_3200x1766.gif 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!zIbn!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a3b0396-94da-453d-9814-c779828d1f89_3200x1766.gif" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3a3b0396-94da-453d-9814-c779828d1f89_3200x1766.gif&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;https://stats-mosaic-guide.streamlit.app/&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="https://stats-mosaic-guide.streamlit.app/" title="https://stats-mosaic-guide.streamlit.app/" srcset="https://substackcdn.com/image/fetch/$s_!zIbn!,w_424,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a3b0396-94da-453d-9814-c779828d1f89_3200x1766.gif 424w, https://substackcdn.com/image/fetch/$s_!zIbn!,w_848,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a3b0396-94da-453d-9814-c779828d1f89_3200x1766.gif 848w, https://substackcdn.com/image/fetch/$s_!zIbn!,w_1272,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a3b0396-94da-453d-9814-c779828d1f89_3200x1766.gif 1272w, https://substackcdn.com/image/fetch/$s_!zIbn!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3a3b0396-94da-453d-9814-c779828d1f89_3200x1766.gif 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption"></figcaption></figure></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!hHjF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9dda797-5ec1-4694-b497-82ba86f8cb8e_3200x1755.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!hHjF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9dda797-5ec1-4694-b497-82ba86f8cb8e_3200x1755.png 424w, https://substackcdn.com/image/fetch/$s_!hHjF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9dda797-5ec1-4694-b497-82ba86f8cb8e_3200x1755.png 848w, https://substackcdn.com/image/fetch/$s_!hHjF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9dda797-5ec1-4694-b497-82ba86f8cb8e_3200x1755.png 1272w, https://substackcdn.com/image/fetch/$s_!hHjF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9dda797-5ec1-4694-b497-82ba86f8cb8e_3200x1755.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!hHjF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9dda797-5ec1-4694-b497-82ba86f8cb8e_3200x1755.png" width="1456" height="799" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d9dda797-5ec1-4694-b497-82ba86f8cb8e_3200x1755.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:799,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1271015,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!hHjF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9dda797-5ec1-4694-b497-82ba86f8cb8e_3200x1755.png 424w, https://substackcdn.com/image/fetch/$s_!hHjF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9dda797-5ec1-4694-b497-82ba86f8cb8e_3200x1755.png 848w, https://substackcdn.com/image/fetch/$s_!hHjF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9dda797-5ec1-4694-b497-82ba86f8cb8e_3200x1755.png 1272w, https://substackcdn.com/image/fetch/$s_!hHjF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9dda797-5ec1-4694-b497-82ba86f8cb8e_3200x1755.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 role="img" 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><title></title><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>https://stats-mosaic-guide.streamlit.app/</p><p>The application transforms abstract statistical ideas into tangible insights by employing interactive visuals. Users can witness statistical concepts unfold before their eyes, fostering a deeper understanding and intuition for complex theories. In an era where data interpretation is paramount, Stats Mosaic sets the stage for enhanced comprehension through engaging visual representation.</p><p><strong>Stats Mosaic for Different Audiences Tailored to cater to a diverse audience, Stats Mosaic serves as a valuable resource for different user groups.</strong></p><p>Data enthusiasts can satisfy their curiosity and deepen their statistical knowledge, while students gain a practical supplement to their academic studies. For seasoned professionals, Stats Mosaic becomes a strategic ally in navigating complex statistical landscapes, offering a practical and accessible approach to staying at the forefront of data science.</p><p><strong>Behind the Scenes</strong> &#8212;</p><p>Building Stats Mosaic Peering behind the curtain, we gain insights into the development process of Stats Mosaic. Leveraging cutting-edge technologies, the Streamlit application was meticulously crafted to ensure a seamless and enriching user experience. The development journey comes with its challenges, but each hurdle was met with innovative solutions, ultimately leading to the creation of a robust and user-centric statistical exploration tool.</p><p><strong>In conclusion</strong>,</p><p>Stats Mosaic emerges as a pivotal platform in the world of statistical exploration. Its user-friendly interface, vast coverage of statistical topics, and powerful visualization capabilities make it an indispensable tool for data professionals. As we encourage you to embark on your Stats Mosaic journey, we anticipate the continued evolution of this dynamic application, with future developments set to enhance the statistical exploration experience.</p><blockquote><p><em>Embark on your statistical journey with Stats Mosaic today. Explore the application, engage with its features, and let the world of statistics unfold in front of your eyes. Your feedback is invaluable in shaping the future of Stats Mosaic &#8212; a tool designed to empower and elevate the statistical proficiency of data professionals worldwide.</em></p></blockquote><p><em>Newsletter <a href="https://tadata.substack.com/">DataUnboxed</a></em></p><p><em><a href="https://github.com/tushar2704">Github</a> , <a href="https://www.linkedin.com/in/tusharaggarwalinseec">LinkedIn</a>, <a href="https://twitter.com/TaggData">X</a>, <a href="https://hashnode.com/@TAGG">Hashnode</a></em></p><p><em>In 2023 I developed 300+ production ready applications on using various tools for client&#8217;s MVP, for guides and more, &amp; I am going to be sharing 100+ of community apps on various platforms&#8230;(Looking for business or affiliate collaborations? contact me!)</em></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://tadata.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Data Unboxed is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[#1 Streamlit Magic Cheat Sheets(17000 lines of Codes)]]></title><description><![CDATA[#1 of 101-Awesome Streamlit Apps by Tushar Aggarwal]]></description><link>https://tadata.substack.com/p/1-streamlit-magic-cheat-sheets17000</link><guid isPermaLink="false">https://tadata.substack.com/p/1-streamlit-magic-cheat-sheets17000</guid><dc:creator><![CDATA[Data Unboxed by Tushar]]></dc:creator><pubDate>Fri, 19 Jan 2024 01:30:41 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!DjiL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a757682-c935-4afb-89b9-cfaf26fefd88_3199x1663.gif" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2><strong><a href="https://cheat-sheets.streamlit.app/">Streamlit Magic Cheat Sheets</a></strong></h2><p>Streamlit, a popular Python library for creating web applications with minimal effort, has gained widespread attention for its simplicity and versatility.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!DjiL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a757682-c935-4afb-89b9-cfaf26fefd88_3199x1663.gif" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!DjiL!,w_424,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a757682-c935-4afb-89b9-cfaf26fefd88_3199x1663.gif 424w, https://substackcdn.com/image/fetch/$s_!DjiL!,w_848,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a757682-c935-4afb-89b9-cfaf26fefd88_3199x1663.gif 848w, https://substackcdn.com/image/fetch/$s_!DjiL!,w_1272,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a757682-c935-4afb-89b9-cfaf26fefd88_3199x1663.gif 1272w, https://substackcdn.com/image/fetch/$s_!DjiL!,w_1456,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a757682-c935-4afb-89b9-cfaf26fefd88_3199x1663.gif 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!DjiL!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a757682-c935-4afb-89b9-cfaf26fefd88_3199x1663.gif" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0a757682-c935-4afb-89b9-cfaf26fefd88_3199x1663.gif&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&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_!DjiL!,w_424,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a757682-c935-4afb-89b9-cfaf26fefd88_3199x1663.gif 424w, https://substackcdn.com/image/fetch/$s_!DjiL!,w_848,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a757682-c935-4afb-89b9-cfaf26fefd88_3199x1663.gif 848w, https://substackcdn.com/image/fetch/$s_!DjiL!,w_1272,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a757682-c935-4afb-89b9-cfaf26fefd88_3199x1663.gif 1272w, https://substackcdn.com/image/fetch/$s_!DjiL!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a757682-c935-4afb-89b9-cfaf26fefd88_3199x1663.gif 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a><figcaption class="image-caption"><strong>Streamlit Magic Cheat Sheet by Author</strong></figcaption></figure></div><p>All most commonly used Streamlit codes in single page.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://tadata.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Data Unboxed is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><h1><strong>Write and Magic</strong></h1><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Q3dl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01fb4ef1-b7ca-495c-937f-c473d9fc717a_3200x1662.gif" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Q3dl!,w_424,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01fb4ef1-b7ca-495c-937f-c473d9fc717a_3200x1662.gif 424w, https://substackcdn.com/image/fetch/$s_!Q3dl!,w_848,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01fb4ef1-b7ca-495c-937f-c473d9fc717a_3200x1662.gif 848w, https://substackcdn.com/image/fetch/$s_!Q3dl!,w_1272,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01fb4ef1-b7ca-495c-937f-c473d9fc717a_3200x1662.gif 1272w, https://substackcdn.com/image/fetch/$s_!Q3dl!,w_1456,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01fb4ef1-b7ca-495c-937f-c473d9fc717a_3200x1662.gif 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Q3dl!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01fb4ef1-b7ca-495c-937f-c473d9fc717a_3200x1662.gif" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/01fb4ef1-b7ca-495c-937f-c473d9fc717a_3200x1662.gif&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&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_!Q3dl!,w_424,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01fb4ef1-b7ca-495c-937f-c473d9fc717a_3200x1662.gif 424w, https://substackcdn.com/image/fetch/$s_!Q3dl!,w_848,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01fb4ef1-b7ca-495c-937f-c473d9fc717a_3200x1662.gif 848w, https://substackcdn.com/image/fetch/$s_!Q3dl!,w_1272,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01fb4ef1-b7ca-495c-937f-c473d9fc717a_3200x1662.gif 1272w, https://substackcdn.com/image/fetch/$s_!Q3dl!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01fb4ef1-b7ca-495c-937f-c473d9fc717a_3200x1662.gif 1456w" sizes="100vw"></picture><div></div></div></a><figcaption class="image-caption">Write and Magic</figcaption></figure></div><p>Streamlit has two easy ways to display information into your app: <code>st.write</code> and magic commands.</p><h1><strong>Text Elements</strong></h1><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!iSqj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6a33d4c-8e65-4c15-ba52-49224bf7b0e6_3191x1663.gif" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!iSqj!,w_424,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6a33d4c-8e65-4c15-ba52-49224bf7b0e6_3191x1663.gif 424w, https://substackcdn.com/image/fetch/$s_!iSqj!,w_848,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6a33d4c-8e65-4c15-ba52-49224bf7b0e6_3191x1663.gif 848w, https://substackcdn.com/image/fetch/$s_!iSqj!,w_1272,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6a33d4c-8e65-4c15-ba52-49224bf7b0e6_3191x1663.gif 1272w, https://substackcdn.com/image/fetch/$s_!iSqj!,w_1456,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6a33d4c-8e65-4c15-ba52-49224bf7b0e6_3191x1663.gif 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!iSqj!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6a33d4c-8e65-4c15-ba52-49224bf7b0e6_3191x1663.gif" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a6a33d4c-8e65-4c15-ba52-49224bf7b0e6_3191x1663.gif&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&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="" title="" srcset="https://substackcdn.com/image/fetch/$s_!iSqj!,w_424,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6a33d4c-8e65-4c15-ba52-49224bf7b0e6_3191x1663.gif 424w, https://substackcdn.com/image/fetch/$s_!iSqj!,w_848,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6a33d4c-8e65-4c15-ba52-49224bf7b0e6_3191x1663.gif 848w, https://substackcdn.com/image/fetch/$s_!iSqj!,w_1272,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6a33d4c-8e65-4c15-ba52-49224bf7b0e6_3191x1663.gif 1272w, https://substackcdn.com/image/fetch/$s_!iSqj!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6a33d4c-8e65-4c15-ba52-49224bf7b0e6_3191x1663.gif 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">Text Elements</figcaption></figure></div><p>You can start streamlit applications with <code>st.title</code> to set the app's title(Text larger than Header size text). After that, there are 2 heading levels(lower sizes) you can use: <code>st.header</code> and <code>st.subheader</code>.</p><p>Any text can be entered with <code>st.text</code>, and Markdown with <code>st.markdown</code>(Uses Markdown language for text output).</p><p>Note <code>st.write</code> is versatile , it can accepts multiple arguments, and multiple data types.</p><h1><strong>Data Elements</strong></h1><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!k5Q0!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fbd0809-23d4-4ede-8127-666463b9a999_3198x1667.gif" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!k5Q0!,w_424,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fbd0809-23d4-4ede-8127-666463b9a999_3198x1667.gif 424w, https://substackcdn.com/image/fetch/$s_!k5Q0!,w_848,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fbd0809-23d4-4ede-8127-666463b9a999_3198x1667.gif 848w, https://substackcdn.com/image/fetch/$s_!k5Q0!,w_1272,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fbd0809-23d4-4ede-8127-666463b9a999_3198x1667.gif 1272w, https://substackcdn.com/image/fetch/$s_!k5Q0!,w_1456,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fbd0809-23d4-4ede-8127-666463b9a999_3198x1667.gif 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!k5Q0!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fbd0809-23d4-4ede-8127-666463b9a999_3198x1667.gif" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9fbd0809-23d4-4ede-8127-666463b9a999_3198x1667.gif&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&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="" title="" srcset="https://substackcdn.com/image/fetch/$s_!k5Q0!,w_424,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fbd0809-23d4-4ede-8127-666463b9a999_3198x1667.gif 424w, https://substackcdn.com/image/fetch/$s_!k5Q0!,w_848,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fbd0809-23d4-4ede-8127-666463b9a999_3198x1667.gif 848w, https://substackcdn.com/image/fetch/$s_!k5Q0!,w_1272,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fbd0809-23d4-4ede-8127-666463b9a999_3198x1667.gif 1272w, https://substackcdn.com/image/fetch/$s_!k5Q0!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fbd0809-23d4-4ede-8127-666463b9a999_3198x1667.gif 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ZPkO!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ab87aee-369f-45e8-a663-f20922703dfe_3200x1757.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ZPkO!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ab87aee-369f-45e8-a663-f20922703dfe_3200x1757.png 424w, https://substackcdn.com/image/fetch/$s_!ZPkO!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ab87aee-369f-45e8-a663-f20922703dfe_3200x1757.png 848w, https://substackcdn.com/image/fetch/$s_!ZPkO!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ab87aee-369f-45e8-a663-f20922703dfe_3200x1757.png 1272w, https://substackcdn.com/image/fetch/$s_!ZPkO!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ab87aee-369f-45e8-a663-f20922703dfe_3200x1757.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ZPkO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ab87aee-369f-45e8-a663-f20922703dfe_3200x1757.png" width="1456" height="799" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6ab87aee-369f-45e8-a663-f20922703dfe_3200x1757.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:799,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:670417,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ZPkO!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ab87aee-369f-45e8-a663-f20922703dfe_3200x1757.png 424w, https://substackcdn.com/image/fetch/$s_!ZPkO!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ab87aee-369f-45e8-a663-f20922703dfe_3200x1757.png 848w, https://substackcdn.com/image/fetch/$s_!ZPkO!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ab87aee-369f-45e8-a663-f20922703dfe_3200x1757.png 1272w, https://substackcdn.com/image/fetch/$s_!ZPkO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ab87aee-369f-45e8-a663-f20922703dfe_3200x1757.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 role="img" 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><title></title><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><strong>Chart Elements</strong></h1><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!aK7C!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c806e0-ba7c-4765-a119-318410405813_3200x1659.gif" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!aK7C!,w_424,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c806e0-ba7c-4765-a119-318410405813_3200x1659.gif 424w, https://substackcdn.com/image/fetch/$s_!aK7C!,w_848,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c806e0-ba7c-4765-a119-318410405813_3200x1659.gif 848w, https://substackcdn.com/image/fetch/$s_!aK7C!,w_1272,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c806e0-ba7c-4765-a119-318410405813_3200x1659.gif 1272w, https://substackcdn.com/image/fetch/$s_!aK7C!,w_1456,c_limit,f_webp,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c806e0-ba7c-4765-a119-318410405813_3200x1659.gif 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!aK7C!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c806e0-ba7c-4765-a119-318410405813_3200x1659.gif" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/73c806e0-ba7c-4765-a119-318410405813_3200x1659.gif&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&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="" title="" srcset="https://substackcdn.com/image/fetch/$s_!aK7C!,w_424,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c806e0-ba7c-4765-a119-318410405813_3200x1659.gif 424w, https://substackcdn.com/image/fetch/$s_!aK7C!,w_848,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c806e0-ba7c-4765-a119-318410405813_3200x1659.gif 848w, https://substackcdn.com/image/fetch/$s_!aK7C!,w_1272,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c806e0-ba7c-4765-a119-318410405813_3200x1659.gif 1272w, https://substackcdn.com/image/fetch/$s_!aK7C!,w_1456,c_limit,f_auto,q_auto:good,fl_lossy/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c806e0-ba7c-4765-a119-318410405813_3200x1659.gif 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">Chart Elements</figcaption></figure></div><p>Streamlit applications supports several different charting libraries.</p><p>This include Matplotlib, Vega Lite &amp; deck.gl.</p><p>Some native streamlit includes <code>st.line_chart</code> and <code>st.area_chart</code>.</p><h1><strong>Input Widgtes</strong></h1><p>Streamlit applications allows you to bake interactivity directly with buttons, sliders, text inputs, and more..</p><h1><strong>Media Elements</strong></h1><p>Streamlit Applications allows easy embeding of images, videos, and audio files directly.</p><h1><strong>Layouts and Containers</strong></h1><p>Streamlit Applications allows different layout built in and with Custom CSS, you can make yours too.</p><h1><strong>Chat Elements</strong></h1><p>Currently popular, Chat elements allows to buils conversations applications.</p><p><code>st.chat_message</code> inserts a chat message container into the app so you can display messages from the user or the app.(Input container for Chats application)</p><p>Note <code>st.chat_input</code> allows to enter <code>message</code> that is (Input element for text for Chats application)</p><p>Where as <code>st.status</code> display output from long-running processes and external API calls</p><h1><strong>Status Elements</strong></h1><p>Streamlit applications has status elements to display progress bars, status messages (like warnings), and celebratory balloons.</p><h1><strong>Control Flow</strong></h1><p>Change execution allows to handle control flow in your applications(By defaul).</p><p>Group multiple widgets &#8212; allows the widgets is filled before rerunning the script to provide better UI experience.</p><h1><strong>Utilities</strong></h1><p>Streamlit Applications can have utilites like Placeholders, help, and options.</p><h1><strong>Mutate Charts</strong></h1><p>Allows to modify chart or dataframe as the app runs.</p><p>Using <code>st.empty</code> to replace a single element.</p><p>Using <code>st.container</code> or <code>st.columns</code> to replace multiple elements.</p><p>Using <code>add_rows</code> to append data to specific types of elements</p><h1><strong>State Management</strong></h1><p>With Session State, sharing variables between reruns, for each user session is possible.</p><p>Also has ability to manipulate state using Callbacks.</p><h1><strong>Performance</strong></h1><p>Streamlit provides cache primitives for data and global resources. They allow your app to stay performant even when loading data from the web, manipulating large datasets, or performing expensive computations.</p><h1><strong>Personalization</strong></h1><p>Updates and modifications, Context-dependent behavior and more.</p><h1><strong>Connections and Databases</strong></h1><p>You can start connect to a data store or API, or return an existing one.</p><h1><strong>App Menu</strong></h1><p>Streamlit provides a configurable menu within your app to access convenient tools for developers and viewers. By default, you can access developer options from the app menu when viewing an app locally or on Streamlit Community Cloud while logged into an account with administrative access. While viewing an app, click the icon in the upper-right corner to access the menu.</p><h1><strong>Button Behavior</strong></h1><p>Buttons created with st.button do not retain state. They return True on the script rerun resulting from their click and immediately return to False on the next script rerun. If a displayed element is nested inside if st.button(&#8216;Click me&#8217;):, the element will be visible when the button is clicked and disappear as soon as the user takes their next action. This is because the script reruns and the button return value becomes False.</p><h1><strong>Caching</strong></h1><p>Streamlit runs your script from top to bottom at every user interaction or code change. This execution model makes development super easy. But it comes with two major challenges:</p><ul><li><p>Long-running functions run again and again, which slows down your app.</p></li><li><p>Objects get recreated again and again, which makes it hard to persist them across reruns or sessions.</p></li></ul><h1><strong>Command Line Options</strong></h1><p>The purpose of this tool is to run Streamlit apps, change Streamlit configuration options, and help you diagnose and fix issues.</p><h1><strong>Configuration</strong></h1><p>Streamlit provides four different ways to set configuration options. This list is in reverse order of precedence, i.e. command line flags take precedence over environment variables when the same configuration option is provided multiple times.</p><h1><strong>Theming</strong></h1><p>Streamlit themes are defined using regular config options: a theme can be set via command line flag when starting your app using streamlit run or by defining it in the [theme] section of a .streamlit/config.toml file. For more information on setting config options, please refer to the Streamlit configuration documentation.</p><p>The following config options show the default Streamlit Light theme recreated in the [theme] section of a .streamlit/config.toml file.</p><h1><strong>Connecting To Data</strong></h1><p>Most Streamlit apps need some kind of data or API access to be useful &#8212; either retrieving data to view or saving the results of some user action. This data or API is often part of some remote service, database, or other data source.</p><p>Streamlit provides st.connection() to more easily connect your Streamlit apps to data and APIs with just a few lines of code. This page provides a basic example of using the feature and then focuses on advanced usage.</p><h1><strong>Dataframes</strong></h1><p>Dataframes are a great way to display and edit data in a tabular format. Working with Pandas DataFrames and other tabular data structures is key to data science workflows. If developers and data scientists want to display this data in Streamlit, they have multiple options: st.dataframe and st.data_editor. If you want to solely display data in a table-like UI, st.dataframe is the way to go. If you want to interactively edit data, use st.data_editor. We explore the use cases and advantages of each option in the following sections.</p><h1><strong>Forms</strong></h1><p>When you don&#8217;t want to rerun your script with each input made by a user, st.form is here to help! Forms make it easy to batch user input into a single rerun. This guide to using forms provides examples and explains how users interact with forms.</p><h1><strong>Add Statefulness to Apps</strong></h1><p>Streamlit app in a browser tab as a session. For each browser tab that connects to the Streamlit server, a new session is created. Streamlit reruns your script from top to bottom every time you interact with your app. Each reruns takes place in a blank slate: no variables are shared between runs.</p><p>Session State is a way to share variables between reruns, for each user session. In addition to the ability to store and persist state, Streamlit also exposes the ability to manipulate state using Callbacks. Session state also persists across apps inside a multipage app.</p><h1><strong>Widget Behavior</strong></h1><p>Widgets (like st.button, st.selectbox, and st.text_input) are at the heart of Streamlit apps. They are the interactive elements of Streamlit that pass information from your users into your Python code. Widgets are magical and often work how you want, but they can have surprising behavior in some situations. Understanding the different parts of a widget and the precise order in which events occur helps you achieve your desired results.</p><h1><strong>Working With Timezones</strong></h1><p>In general, working with timezones can be tricky. Your Streamlit app users are not necessarily in the same timezone as the server running your app. It is especially true of public apps, where anyone in the world (in any timezone) can access your app. As such, it is crucial to understand how Streamlit handles timezones, so you can avoid unexpected behavior when displaying datetime information.</p><h1><strong>Static File Serving</strong></h1><p>Streamlit allows you to serve static files such as images, CSS, and JavaScript in your app. This guide will explore how to use the <code>def static_file_serving():</code> function to serve static files and enhance the visual appearance of your app.</p><h1><strong>Https Support</strong></h1><p>Streamlit recommenda performing SSL termination in a reverse proxy or load balancer for self-hosted and production use cases, not directly in the app. Streamlit Community Cloud uses this approach, and every major cloud and app hosting platform should allow you to configure it and provide extensive documentation. You can find some of these platforms in our Deployment tutorials.</p><h1><strong>Secrets Management</strong></h1><p>Storing unencrypted secrets in a git repository is a bad practice. For applications that require access to sensitive credentials, the recommended solution is to store those credentials outside the repository &#8212; such as using a credentials file not committed to the repository or passing them as environment variables.</p><h1><strong>Security Reminders</strong></h1><p>Protect your secrets, Use environment variables, Keep .gitignore updated, Pickle warning, and more.</p><p>Disclaimer: All trademarks, logos and brand names are the property of their respective owners (Streamlit Inc. &amp; Snowflake Inc.). I am a fan Streamlit and this application is a guide/representation of official documentation and some tips.</p><p><em>Newsletter <a href="https://tadata.substack.com/">DataUnboxed</a></em></p><p><em><a href="https://github.com/tushar2704">Github</a> , <a href="https://www.linkedin.com/in/tusharaggarwalinseec">LinkedIn</a>, <a href="https://twitter.com/TaggData">X</a>, <a href="https://hashnode.com/@TAGG">Hashnode</a></em></p><p><em>In 2023 I developed 300+ production ready applications on using various tools for client&#8217;s MVP, for guides and more, &amp; I am going to be sharing 100+ of community apps on various platforms&#8230;(Looking for business or affiliate collaborations? contact me!)</em></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://tadata.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Data Unboxed is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[Black Friday 2023 Gift! Essential Machine Learning Algorithms!]]></title><description><![CDATA[Not only this book teaches most commonly used ML Algorithms, but where its used and how, this will the only book you'll ever need! Subscribe and receive a copy!]]></description><link>https://tadata.substack.com/p/black-friday-2023-gift-essential</link><guid isPermaLink="false">https://tadata.substack.com/p/black-friday-2023-gift-essential</guid><dc:creator><![CDATA[Data Unboxed by Tushar]]></dc:creator><pubDate>Thu, 23 Nov 2023 20:53:56 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!QtFC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeeb51f6-e5fd-44fc-9f93-dabeb1b84ec2_1414x2000.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://tadata.substack.com/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://tadata.substack.com/subscribe?"><span>Subscribe now</span></a></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!QtFC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeeb51f6-e5fd-44fc-9f93-dabeb1b84ec2_1414x2000.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!QtFC!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeeb51f6-e5fd-44fc-9f93-dabeb1b84ec2_1414x2000.png 424w, https://substackcdn.com/image/fetch/$s_!QtFC!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeeb51f6-e5fd-44fc-9f93-dabeb1b84ec2_1414x2000.png 848w, https://substackcdn.com/image/fetch/$s_!QtFC!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeeb51f6-e5fd-44fc-9f93-dabeb1b84ec2_1414x2000.png 1272w, https://substackcdn.com/image/fetch/$s_!QtFC!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeeb51f6-e5fd-44fc-9f93-dabeb1b84ec2_1414x2000.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!QtFC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeeb51f6-e5fd-44fc-9f93-dabeb1b84ec2_1414x2000.png" width="1414" height="2000" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/aeeb51f6-e5fd-44fc-9f93-dabeb1b84ec2_1414x2000.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:2000,&quot;width&quot;:1414,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2375131,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!QtFC!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeeb51f6-e5fd-44fc-9f93-dabeb1b84ec2_1414x2000.png 424w, https://substackcdn.com/image/fetch/$s_!QtFC!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeeb51f6-e5fd-44fc-9f93-dabeb1b84ec2_1414x2000.png 848w, https://substackcdn.com/image/fetch/$s_!QtFC!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeeb51f6-e5fd-44fc-9f93-dabeb1b84ec2_1414x2000.png 1272w, https://substackcdn.com/image/fetch/$s_!QtFC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faeeb51f6-e5fd-44fc-9f93-dabeb1b84ec2_1414x2000.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 role="img" 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><title></title><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 class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!U7s3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5244eecc-0fd8-441b-915e-212d32f8ff8f_1414x2000.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!U7s3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5244eecc-0fd8-441b-915e-212d32f8ff8f_1414x2000.png 424w, https://substackcdn.com/image/fetch/$s_!U7s3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5244eecc-0fd8-441b-915e-212d32f8ff8f_1414x2000.png 848w, https://substackcdn.com/image/fetch/$s_!U7s3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5244eecc-0fd8-441b-915e-212d32f8ff8f_1414x2000.png 1272w, https://substackcdn.com/image/fetch/$s_!U7s3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5244eecc-0fd8-441b-915e-212d32f8ff8f_1414x2000.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!U7s3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5244eecc-0fd8-441b-915e-212d32f8ff8f_1414x2000.png" width="1414" height="2000" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5244eecc-0fd8-441b-915e-212d32f8ff8f_1414x2000.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:2000,&quot;width&quot;:1414,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:584612,&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;: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_!U7s3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5244eecc-0fd8-441b-915e-212d32f8ff8f_1414x2000.png 424w, https://substackcdn.com/image/fetch/$s_!U7s3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5244eecc-0fd8-441b-915e-212d32f8ff8f_1414x2000.png 848w, https://substackcdn.com/image/fetch/$s_!U7s3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5244eecc-0fd8-441b-915e-212d32f8ff8f_1414x2000.png 1272w, https://substackcdn.com/image/fetch/$s_!U7s3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5244eecc-0fd8-441b-915e-212d32f8ff8f_1414x2000.png 1456w" sizes="100vw"></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 role="img" 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><title></title><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 class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!xRIw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea3bd5da-2f25-4ae8-834f-214983c18c92_1414x2000.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!xRIw!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea3bd5da-2f25-4ae8-834f-214983c18c92_1414x2000.png 424w, https://substackcdn.com/image/fetch/$s_!xRIw!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea3bd5da-2f25-4ae8-834f-214983c18c92_1414x2000.png 848w, https://substackcdn.com/image/fetch/$s_!xRIw!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea3bd5da-2f25-4ae8-834f-214983c18c92_1414x2000.png 1272w, https://substackcdn.com/image/fetch/$s_!xRIw!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea3bd5da-2f25-4ae8-834f-214983c18c92_1414x2000.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!xRIw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea3bd5da-2f25-4ae8-834f-214983c18c92_1414x2000.png" width="1414" height="2000" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ea3bd5da-2f25-4ae8-834f-214983c18c92_1414x2000.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:2000,&quot;width&quot;:1414,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:465947,&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;: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_!xRIw!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea3bd5da-2f25-4ae8-834f-214983c18c92_1414x2000.png 424w, https://substackcdn.com/image/fetch/$s_!xRIw!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea3bd5da-2f25-4ae8-834f-214983c18c92_1414x2000.png 848w, https://substackcdn.com/image/fetch/$s_!xRIw!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea3bd5da-2f25-4ae8-834f-214983c18c92_1414x2000.png 1272w, https://substackcdn.com/image/fetch/$s_!xRIw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea3bd5da-2f25-4ae8-834f-214983c18c92_1414x2000.png 1456w" sizes="100vw"></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 role="img" 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><title></title><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>Want a copy, Subscribe to Data Unboxed and you&#8217;ll receive it in mail!</p><p></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://tadata.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Data Unboxed is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[Unlock the Power of SQL with One Comprehensive Visualization! ]]></title><description><![CDATA[Explore the key aspects of #SQL, all in a single, eye-catching graphic!]]></description><link>https://tadata.substack.com/p/unlock-the-power-of-sql-with-one</link><guid isPermaLink="false">https://tadata.substack.com/p/unlock-the-power-of-sql-with-one</guid><dc:creator><![CDATA[Data Unboxed by Tushar]]></dc:creator><pubDate>Wed, 25 Oct 2023 15:09:43 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!4vYa!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfa36857-44f9-44c0-8f4c-3b464d030807_1080x1080.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Explore the key aspects of <a href="https://www.linkedin.com/feed/hashtag/?keywords=sql&amp;highlightedUpdateUrns=urn%3Ali%3Aactivity%3A7122889806870712320">#SQL</a>, all in a single, eye-catching graphic! Whether you're a seasoned data pro or just starting your SQL journey, this visualization is your gateway to mastering the most essential SQL concepts.</p><p></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://tadata.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Data Unboxed is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!4vYa!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfa36857-44f9-44c0-8f4c-3b464d030807_1080x1080.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!4vYa!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfa36857-44f9-44c0-8f4c-3b464d030807_1080x1080.png 424w, https://substackcdn.com/image/fetch/$s_!4vYa!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfa36857-44f9-44c0-8f4c-3b464d030807_1080x1080.png 848w, https://substackcdn.com/image/fetch/$s_!4vYa!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfa36857-44f9-44c0-8f4c-3b464d030807_1080x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!4vYa!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfa36857-44f9-44c0-8f4c-3b464d030807_1080x1080.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!4vYa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfa36857-44f9-44c0-8f4c-3b464d030807_1080x1080.png" width="1080" height="1080" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bfa36857-44f9-44c0-8f4c-3b464d030807_1080x1080.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1080,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:673808,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!4vYa!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfa36857-44f9-44c0-8f4c-3b464d030807_1080x1080.png 424w, https://substackcdn.com/image/fetch/$s_!4vYa!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfa36857-44f9-44c0-8f4c-3b464d030807_1080x1080.png 848w, https://substackcdn.com/image/fetch/$s_!4vYa!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfa36857-44f9-44c0-8f4c-3b464d030807_1080x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!4vYa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbfa36857-44f9-44c0-8f4c-3b464d030807_1080x1080.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 role="img" 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><title></title><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></p><p>Don't keep this valuable resource to yourself &#8212; feel free to reshare it with your network. Let's empower more professionals with the knowledge they need to excel in the world of data!<br><a href="https://www.linkedin.com/feed/hashtag/?keywords=sqlmastery&amp;highlightedUpdateUrns=urn%3Ali%3Aactivity%3A7122889806870712320">#SQLMastery</a> <a href="https://www.linkedin.com/feed/hashtag/?keywords=datascience&amp;highlightedUpdateUrns=urn%3Ali%3Aactivity%3A7122889806870712320">#DataScience</a> <a href="https://www.linkedin.com/feed/hashtag/?keywords=dataanalytics&amp;highlightedUpdateUrns=urn%3Ali%3Aactivity%3A7122889806870712320">#DataAnalytics</a> <a href="https://www.linkedin.com/feed/hashtag/?keywords=database&amp;highlightedUpdateUrns=urn%3Ali%3Aactivity%3A7122889806870712320">#Database</a> <a href="https://www.linkedin.com/feed/hashtag/?keywords=dataunboxed&amp;highlightedUpdateUrns=urn%3Ali%3Aactivity%3A7122889806870712320">#DataUnboxed</a> <a href="https://www.linkedin.com/feed/hashtag/?keywords=originalcontent&amp;highlightedUpdateUrns=urn%3Ali%3Aactivity%3A7122889806870712320">#originalcontent</a> <a href="https://www.linkedin.com/feed/hashtag/?keywords=database&amp;highlightedUpdateUrns=urn%3Ali%3Aactivity%3A7122889806870712320">#database</a></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://tadata.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Data Unboxed is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[The Road Less Traveled: Exploring Unique Advanced SQL Concepts]]></title><description><![CDATA[Download here!]]></description><link>https://tadata.substack.com/p/the-road-less-traveled-exploring</link><guid isPermaLink="false">https://tadata.substack.com/p/the-road-less-traveled-exploring</guid><dc:creator><![CDATA[Data Unboxed by Tushar]]></dc:creator><pubDate>Sun, 24 Sep 2023 01:36:01 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/f6d28196-1c1c-413b-a31e-ac53417aa1af_2957x1565.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><a href="https://www.linkedin.com/feed/update/urn:li:activity:7084494044755636224?utm_source=share&amp;utm_medium=member_desktop">The Road Less Traveled: Exploring Unique Advanced SQL Concepts</a></p><p>Are you ready to take your SQL skills to the next level? Let's delve into powerful techniques that</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://tadata.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Data Unboxed is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>will help you optimize your queries, master advanced joins, and unlock the full potential of</p><p>common table expressions, stored procedures, and window functions. With real-world</p><p>examples and hands-on exercises, this guide will equip you with the knowledge and skills to</p><p>tackle complex data management tasks with confidence. Disclaimer : This not the typical</p><p>Advanced SQL Concepts guide !</p><p>&#169; 2023 Tushar Aggarwal. Medium.com/@tushar_aggarwal Github.com/2704</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://tadata.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Data Unboxed is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[AGGLOMERATIVE CLUSTERING]]></title><description><![CDATA[Data Unboxed is a reader-supported publication.]]></description><link>https://tadata.substack.com/p/agglomerative-clustering</link><guid isPermaLink="false">https://tadata.substack.com/p/agglomerative-clustering</guid><dc:creator><![CDATA[Data Unboxed by Tushar]]></dc:creator><pubDate>Wed, 13 Sep 2023 11:49:08 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!35Hw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01fdf79f-d4c0-417d-ac51-f6d7359ff3dd_1414x2000.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!35Hw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01fdf79f-d4c0-417d-ac51-f6d7359ff3dd_1414x2000.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!35Hw!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01fdf79f-d4c0-417d-ac51-f6d7359ff3dd_1414x2000.png 424w, https://substackcdn.com/image/fetch/$s_!35Hw!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01fdf79f-d4c0-417d-ac51-f6d7359ff3dd_1414x2000.png 848w, https://substackcdn.com/image/fetch/$s_!35Hw!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01fdf79f-d4c0-417d-ac51-f6d7359ff3dd_1414x2000.png 1272w, https://substackcdn.com/image/fetch/$s_!35Hw!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01fdf79f-d4c0-417d-ac51-f6d7359ff3dd_1414x2000.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!35Hw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01fdf79f-d4c0-417d-ac51-f6d7359ff3dd_1414x2000.png" width="1414" height="2000" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/01fdf79f-d4c0-417d-ac51-f6d7359ff3dd_1414x2000.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:2000,&quot;width&quot;:1414,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:569668,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!35Hw!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01fdf79f-d4c0-417d-ac51-f6d7359ff3dd_1414x2000.png 424w, https://substackcdn.com/image/fetch/$s_!35Hw!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01fdf79f-d4c0-417d-ac51-f6d7359ff3dd_1414x2000.png 848w, https://substackcdn.com/image/fetch/$s_!35Hw!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01fdf79f-d4c0-417d-ac51-f6d7359ff3dd_1414x2000.png 1272w, https://substackcdn.com/image/fetch/$s_!35Hw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01fdf79f-d4c0-417d-ac51-f6d7359ff3dd_1414x2000.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 role="img" 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><title></title><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 class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Ok0b!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06ebeaa5-2e19-48dc-90a3-ce90f89b4435_1414x2000.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Ok0b!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06ebeaa5-2e19-48dc-90a3-ce90f89b4435_1414x2000.png 424w, https://substackcdn.com/image/fetch/$s_!Ok0b!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06ebeaa5-2e19-48dc-90a3-ce90f89b4435_1414x2000.png 848w, https://substackcdn.com/image/fetch/$s_!Ok0b!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06ebeaa5-2e19-48dc-90a3-ce90f89b4435_1414x2000.png 1272w, https://substackcdn.com/image/fetch/$s_!Ok0b!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06ebeaa5-2e19-48dc-90a3-ce90f89b4435_1414x2000.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Ok0b!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06ebeaa5-2e19-48dc-90a3-ce90f89b4435_1414x2000.png" width="1414" height="2000" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/06ebeaa5-2e19-48dc-90a3-ce90f89b4435_1414x2000.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:2000,&quot;width&quot;:1414,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:299408,&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;: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_!Ok0b!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06ebeaa5-2e19-48dc-90a3-ce90f89b4435_1414x2000.png 424w, https://substackcdn.com/image/fetch/$s_!Ok0b!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06ebeaa5-2e19-48dc-90a3-ce90f89b4435_1414x2000.png 848w, https://substackcdn.com/image/fetch/$s_!Ok0b!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06ebeaa5-2e19-48dc-90a3-ce90f89b4435_1414x2000.png 1272w, https://substackcdn.com/image/fetch/$s_!Ok0b!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06ebeaa5-2e19-48dc-90a3-ce90f89b4435_1414x2000.png 1456w" sizes="100vw"></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 role="img" 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><title></title><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><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://tadata.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Data Unboxed is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[ADABOOST]]></title><description><![CDATA[Data Unboxed is a reader-supported publication.]]></description><link>https://tadata.substack.com/p/adaboost</link><guid isPermaLink="false">https://tadata.substack.com/p/adaboost</guid><dc:creator><![CDATA[Data Unboxed by Tushar]]></dc:creator><pubDate>Tue, 12 Sep 2023 11:46:45 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!u9yJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd677684c-f78c-49b9-bd05-c1fed48abaf1_1414x2000.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!u9yJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd677684c-f78c-49b9-bd05-c1fed48abaf1_1414x2000.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!u9yJ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd677684c-f78c-49b9-bd05-c1fed48abaf1_1414x2000.png 424w, https://substackcdn.com/image/fetch/$s_!u9yJ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd677684c-f78c-49b9-bd05-c1fed48abaf1_1414x2000.png 848w, https://substackcdn.com/image/fetch/$s_!u9yJ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd677684c-f78c-49b9-bd05-c1fed48abaf1_1414x2000.png 1272w, https://substackcdn.com/image/fetch/$s_!u9yJ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd677684c-f78c-49b9-bd05-c1fed48abaf1_1414x2000.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!u9yJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd677684c-f78c-49b9-bd05-c1fed48abaf1_1414x2000.png" width="1414" height="2000" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d677684c-f78c-49b9-bd05-c1fed48abaf1_1414x2000.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:2000,&quot;width&quot;:1414,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:583877,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!u9yJ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd677684c-f78c-49b9-bd05-c1fed48abaf1_1414x2000.png 424w, https://substackcdn.com/image/fetch/$s_!u9yJ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd677684c-f78c-49b9-bd05-c1fed48abaf1_1414x2000.png 848w, https://substackcdn.com/image/fetch/$s_!u9yJ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd677684c-f78c-49b9-bd05-c1fed48abaf1_1414x2000.png 1272w, https://substackcdn.com/image/fetch/$s_!u9yJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd677684c-f78c-49b9-bd05-c1fed48abaf1_1414x2000.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 role="img" 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><title></title><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><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!DtS8!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc93fb975-2556-4901-9f72-2225af2c4232_1414x2000.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!DtS8!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc93fb975-2556-4901-9f72-2225af2c4232_1414x2000.png 424w, https://substackcdn.com/image/fetch/$s_!DtS8!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc93fb975-2556-4901-9f72-2225af2c4232_1414x2000.png 848w, https://substackcdn.com/image/fetch/$s_!DtS8!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc93fb975-2556-4901-9f72-2225af2c4232_1414x2000.png 1272w, https://substackcdn.com/image/fetch/$s_!DtS8!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc93fb975-2556-4901-9f72-2225af2c4232_1414x2000.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!DtS8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc93fb975-2556-4901-9f72-2225af2c4232_1414x2000.png" width="1414" height="2000" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c93fb975-2556-4901-9f72-2225af2c4232_1414x2000.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:2000,&quot;width&quot;:1414,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:465936,&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;: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_!DtS8!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc93fb975-2556-4901-9f72-2225af2c4232_1414x2000.png 424w, https://substackcdn.com/image/fetch/$s_!DtS8!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc93fb975-2556-4901-9f72-2225af2c4232_1414x2000.png 848w, https://substackcdn.com/image/fetch/$s_!DtS8!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc93fb975-2556-4901-9f72-2225af2c4232_1414x2000.png 1272w, https://substackcdn.com/image/fetch/$s_!DtS8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc93fb975-2556-4901-9f72-2225af2c4232_1414x2000.png 1456w" sizes="100vw"></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 role="img" 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><title></title><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><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://tadata.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Data Unboxed is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[Empower Your Machine Learning Models with LightGBM: A Step-by-Step guide]]></title><description><![CDATA[{This article was written without the assistance or use of AI tools, providing an authentic and insightful exploration of LightGBM}]]></description><link>https://tadata.substack.com/p/empower-your-machine-learning-models</link><guid isPermaLink="false">https://tadata.substack.com/p/empower-your-machine-learning-models</guid><dc:creator><![CDATA[Data Unboxed by Tushar]]></dc:creator><pubDate>Sat, 05 Aug 2023 16:42:16 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!uYL6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08fb0668-d46c-4379-b302-d2b071c2e291_1700x1200.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!uYL6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08fb0668-d46c-4379-b302-d2b071c2e291_1700x1200.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!uYL6!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08fb0668-d46c-4379-b302-d2b071c2e291_1700x1200.png 424w, https://substackcdn.com/image/fetch/$s_!uYL6!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08fb0668-d46c-4379-b302-d2b071c2e291_1700x1200.png 848w, https://substackcdn.com/image/fetch/$s_!uYL6!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08fb0668-d46c-4379-b302-d2b071c2e291_1700x1200.png 1272w, https://substackcdn.com/image/fetch/$s_!uYL6!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08fb0668-d46c-4379-b302-d2b071c2e291_1700x1200.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!uYL6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08fb0668-d46c-4379-b302-d2b071c2e291_1700x1200.png" width="1456" height="1028" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/08fb0668-d46c-4379-b302-d2b071c2e291_1700x1200.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1028,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2871578,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!uYL6!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08fb0668-d46c-4379-b302-d2b071c2e291_1700x1200.png 424w, https://substackcdn.com/image/fetch/$s_!uYL6!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08fb0668-d46c-4379-b302-d2b071c2e291_1700x1200.png 848w, https://substackcdn.com/image/fetch/$s_!uYL6!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08fb0668-d46c-4379-b302-d2b071c2e291_1700x1200.png 1272w, https://substackcdn.com/image/fetch/$s_!uYL6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08fb0668-d46c-4379-b302-d2b071c2e291_1700x1200.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 role="img" 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><title></title><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</figcaption></figure></div><p>In this world of information overload, I assure you that this guide is all you need to master the power of LightGBM. Its comprehensive content and step-by-step approach will provide you with valuable insights and understanding. I encourage you to save or bookmark this guide as a go-to resource in your journey towards mastering LightGBM. Let&#8217;s dive in and unlock the secrets of LightGBM together!</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://tadata.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Data Unboxed is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>In the realm of machine learning, efficiency and performance are crucial factors contributing to the success of a model. One such powerful tool that has emerged in recent years is LightGBM, a gradient boosting framework designed to offer high performance in both training and prediction phases. This step-by-step guide will walk you through the process of harnessing the power of LightGBM using Python, with detailed explanations and code examples to help you master this powerful tool.</p><p>The primary focus of this article is to provide a thorough and practical understanding of LightGBM, its benefits, and how to implement it using Python. By following this comprehensive guide, you will acquire a solid foundation in LightGBM and be well-equipped to deploy state-of-the-art machine learning models using this powerful framework.</p><h1><strong>Table of Contents</strong></h1><ol><li><p>Introduction to LightGBM</p></li><li><p>Benefits of LightGBM</p></li><li><p>LightGBM vs. XGBoost</p></li><li><p>Installing LightGBM in Python</p></li><li><p>Data Preparation</p></li><li><p>Model Training and Selection</p></li><li><p>Hyperparameter Tuning</p></li><li><p>Model Evaluation and Analysis</p></li><li><p>Feature Importance and Interpretation</p></li><li><p>Advanced Techniques and Tips</p></li></ol><h1><strong>1. Introduction to LightGBM</strong></h1><p>LightGBM, which stands for Light Gradient Boosting Machine, is a gradient boosting framework designed to be highly efficient and scalable. Developed by Microsoft, LightGBM builds upon the principles of gradient boosting machines, improving the training speed and accuracy of decision trees. The framework uses a unique leaf-wise tree growth strategy, as opposed to the traditional depth-wise or level-wise growth strategies, resulting in faster training and better performance.</p><p>Additionally, LightGBM is built to handle large-scale datasets, making it an attractive option for data scientists and machine learning practitioners working with massive amounts of data.</p><h1><strong>2. Benefits of LightGBM</strong></h1><p>Some of the key advantages of using LightGBM include:</p><ul><li><p><strong>Faster Training</strong>: LightGBM&#8217;s leaf-wise tree growth strategy allows for faster training compared to other gradient boosting frameworks.</p></li><li><p><strong>Higher Accuracy</strong>: The leaf-wise approach also enables LightGBM to achieve higher accuracy, as it can better optimize the loss function during training.</p></li><li><p><strong>Scalability</strong>: LightGBM is designed to handle large-scale datasets, making it suitable for big data applications.</p></li><li><p><strong>Support for Parallel and GPU Learning</strong>: LightGBM offers built-in support for parallel learning and GPU acceleration, further enhancing its efficiency and training speed.</p></li><li><p><strong>Handling Sparse Data</strong>: LightGBM can effectively handle sparse data and categorical features, allowing for improved performance on various types of datasets.</p></li></ul><h1><strong>3. LightGBM vs. XGBoost</strong></h1><p>XGBoost, another popular gradient boosting framework, is often compared with LightGBM due to their similarities in purpose and functionality. However, there are some key differences between the two frameworks:</p><ul><li><p><strong>Training Speed</strong>: LightGBM generally offers faster training speeds than XGBoost, particularly on large-scale datasets.</p></li><li><p><strong>Tree Growth Strategy</strong>: While XGBoost uses a depth-wise tree growth strategy, LightGBM employs a leaf-wise approach, resulting in different optimization patterns and performance characteristics.</p></li><li><p><strong>Memory Usage</strong>: LightGBM typically consumes less memory than XGBoost during training.</p></li><li><p><strong>Accuracy</strong>: LightGBM may achieve higher accuracy than XGBoost in certain scenarios, though this can vary depending on the specific dataset and problem at hand.</p></li></ul><p>It&#8217;s essential to note that the choice between LightGBM and XGBoost depends on the specific requirements of your project, and one framework may be more suitable than the other based on the performance, training speed, and memory consumption factors.</p><h1><strong>4. Installing LightGBM in Python</strong></h1><p>To get started with LightGBM in Python, you&#8217;ll first need to install the library. You can do this using pip:</p><pre><code>pip install lightgbm</code></pre><p>Additionally, if you plan to use GPU acceleration, you&#8217;ll need to install the GPU version of LightGBM. Detailed instructions on GPU installation can be found in the <a href="https://lightgbm.readthedocs.io/en/latest/GPU-Tutorial.html">official LightGBM documentation</a>.</p><h1><strong>5. Data Preparation</strong></h1><p>Before implementing LightGBM, you must ensure that your dataset is properly formatted and preprocessed for the specific problem you aim to solve.</p><h1><strong>Loading the Data</strong></h1><pre><code>import pandas as pd</code></pre><pre><code>data = pd.read_csv('your_data.csv')</code></pre><h1><strong>Preparing the Data</strong></h1><p>It&#8217;s essential to clean and preprocess your data, including handling missing values, encoding categorical variables, and scaling numerical features if necessary. Additionally, you&#8217;ll need to split your data into training and testing sets:</p><pre><code>from sklearn.model_selection import train_test_split</code></pre><pre><code>X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)</code></pre><h1><strong>6. Model Training and Selection</strong></h1><p>With your data prepared, you can now train a LightGBM model using the Python API. First, import the necessary modules and create a dataset object:</p><pre><code>import lightgbm as lgb</code></pre><pre><code>train_data = lgb.Dataset(X_train, label=y_train)</code></pre><p>Next, set the parameters for the LightGBM model. These can be adjusted to suit your specific problem and dataset:</p><pre><code>params = {
    'boosting_type': 'gbdt',
    'objective': 'binary',
    'metric': 'binary_logloss',
    'num_leaves': 31,
    'learning_rate': 0.05,
    'feature_fraction': 0.9,
}</code></pre><p>Finally, train the model using the <code>train</code> function:</p><pre><code>model = lgb.train(params, train_data, num_boost_round=100)</code></pre><h1><strong>7. Hyperparameter Tuning</strong></h1><p>To achieve optimal performance with LightGBM, it&#8217;s essential to tune the hyperparameters of your model. This can be done using techniques such as grid search or random search. The Python library <code>scikit-learn</code> offers a convenient <code>GridSearchCV</code> function to perform grid search with cross-validation:</p><pre><code>from sklearn.model_selection import GridSearchCV
import numpy as np</code></pre><pre><code>param_grid = {
    'num_leaves': [15, 31, 63],
    'learning_rate': [0.01, 0.05, 0.1],
    'n_estimators': [10, 50, 100]
}gbm = lgb.LGBMClassifier(boosting_type='gbdt', objective='binary', metric='binary_logloss')grid = GridSearchCV(gbm, param_grid, cv=5, scoring='accuracy')
grid.fit(X_train, y_train)print('Best parameters found by grid search are:', grid.best_params_)</code></pre><h1><strong>8. Model Evaluation and Analysis</strong></h1><p>Once your model is trained and tuned, you can evaluate its performance using various metrics and techniques. For classification tasks, you can compute the accuracy, precision, recall, and F1-score. For regression tasks, you can use metrics such as mean squared error, root mean squared error, and R&#178; score.</p><pre><code>from sklearn.metrics import accuracy_score, classification_report</code></pre><pre><code>y_pred = model.predict(X_test)
y_pred_binary = np.round(y_pred)accuracy = accuracy_score(y_test, y_pred_binary)
print('Accuracy:', accuracy)report = classification_report(y_test, y_pred_binary)
print('Classification report:\n', report)</code></pre><h1><strong>9. Feature Importance and Interpretation</strong></h1><p>Understanding the importance of each feature in your model can provide valuable insights and help improve model interpretability. LightGBM offers a built-in function to compute feature importances:</p><pre><code>import matplotlib.pyplot as plt</code></pre><pre><code>lgb.plot_importance(model, figsize=(12, 6))
plt.show()</code></pre><h1><strong>10. Advanced Techniques and Tips</strong></h1><p>To further enhance your LightGBM models, consider exploring some of the following advanced techniques and tips:</p><ul><li><p><strong>Early Stopping</strong>: Implement early stopping to prevent overfitting and reduce training time by stopping the training process when the validation performance no longer improves.</p></li><li><p><strong>Custom Loss Functions and Evaluation Metrics</strong>: Define custom loss functions and evaluation metrics to tailor the training process to your specific problem.</p></li><li><p><strong>Cross-Validation</strong>: Use cross-validation techniques to obtain a more reliable estimate of your model&#8217;s performance.</p></li><li><p><strong>Ensemble Methods</strong>: Combine multiple LightGBM models or other machine learning models to improve overall performance.</p></li></ul><p>By following this comprehensive guide, you are now well-equipped to harness the power of LightGBM and deploy state-of-the-art machine learning models using this powerful framework. Don&#8217;t forget to explore the <a href="https://lightgbm.readthedocs.io/">official LightGBM documentation</a> for further information and resources.</p><blockquote><p><em>Follow me on <a href="https://github.com/tushar2704">Github</a>, <a href="https://www.kaggle.com/tusharaggarwal27">Kaggle</a> &amp; <a href="https://www.linkedin.com/in/tusharaggarwalinseec/">LinkedIn</a>.</em></p><p><em>Check out my work on <a href="http://www.tushar-aggarwal.com/">www.tushar-aggarwal.com</a></em></p><p><em>Subscribe to my Newsletter on <a href="https://substack.com/@tusharaggarwal">SubStack</a></em></p></blockquote><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://tadata.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Data Unboxed is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[Unlock the Power of Web Application Development with Flask: A Step-by-Step Guide]]></title><description><![CDATA[Ah, FLASK, the feather-light Python library that breathes life into web applications and APIs.]]></description><link>https://tadata.substack.com/p/unlock-the-power-of-web-application</link><guid isPermaLink="false">https://tadata.substack.com/p/unlock-the-power-of-web-application</guid><dc:creator><![CDATA[Data Unboxed by Tushar]]></dc:creator><pubDate>Fri, 07 Jul 2023 06:03:14 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!fH1H!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4a9a1e81-d393-4f8b-92b1-afd38cf467ea_1700x1200.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!fH1H!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4a9a1e81-d393-4f8b-92b1-afd38cf467ea_1700x1200.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fH1H!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4a9a1e81-d393-4f8b-92b1-afd38cf467ea_1700x1200.png 424w, https://substackcdn.com/image/fetch/$s_!fH1H!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4a9a1e81-d393-4f8b-92b1-afd38cf467ea_1700x1200.png 848w, https://substackcdn.com/image/fetch/$s_!fH1H!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4a9a1e81-d393-4f8b-92b1-afd38cf467ea_1700x1200.png 1272w, https://substackcdn.com/image/fetch/$s_!fH1H!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4a9a1e81-d393-4f8b-92b1-afd38cf467ea_1700x1200.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!fH1H!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4a9a1e81-d393-4f8b-92b1-afd38cf467ea_1700x1200.png" width="1456" height="1028" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4a9a1e81-d393-4f8b-92b1-afd38cf467ea_1700x1200.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1028,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2753534,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!fH1H!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4a9a1e81-d393-4f8b-92b1-afd38cf467ea_1700x1200.png 424w, https://substackcdn.com/image/fetch/$s_!fH1H!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4a9a1e81-d393-4f8b-92b1-afd38cf467ea_1700x1200.png 848w, https://substackcdn.com/image/fetch/$s_!fH1H!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4a9a1e81-d393-4f8b-92b1-afd38cf467ea_1700x1200.png 1272w, https://substackcdn.com/image/fetch/$s_!fH1H!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4a9a1e81-d393-4f8b-92b1-afd38cf467ea_1700x1200.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 role="img" 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><title></title><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>Ah, FLASK, the feather-light Python library that breathes life into web applications and APIs. This little gem has garnered quite a reputation among developers for its simplicity, versatility, and an abundance of features that empower them to craft applications that are both robust and scalable. Today, my eager friend, we shall embark on a journey through the intricate corridors of FLASK, exploring its myriad uses in the realms of machine learning and web applications.</p><h1><strong>Table of Contents</strong></h1><ol><li><p>Introduction to FLASK</p></li><li><p>Installing FLASK</p></li><li><p>Building a Simple Web App with FLASK</p></li><li><p>Routing in FLASK</p></li><li><p>Templates and Static Files</p></li><li><p>FLASK and Forms</p></li><li><p>FLASK and Databases</p></li><li><p>FLASK for Machine Learning Applications</p></li><li><p>Deployment of FLASK Web Apps</p></li><li><p>Best Practices and Tips</p></li></ol><h1><strong>1. Introduction to FLASK</strong></h1><ul><li><p>But first, let us lay the groundwork. To begin our adventure, we must install FLASK, for it is the key that unlocks the door to this magical world. Fear not, for the installation process is as smooth as a summer breeze, and soon you shall have FLASK at your fingertips, ready to be wielded with finesse.</p></li><li><p>Now, imagine a web application as a labyrinth of paths, where each route leads to a different destination. In FLASK, routing is the art of mapping URLs to functions, guiding users through this intricate web of possibilities. With FLASK&#8217;s intuitive routing capabilities, you can define endpoints for your application, directing users to the right place with grace and precision.</p></li><li><p>Ah, but no web application is complete without its visual allure. Templates, dear friend, are the artist&#8217;s canvas in the FLASK world. They allow you to seamlessly blend your Python code with HTML, CSS, and other visual elements, creating a symphony of aesthetics that captivates your users. Whether you seek a minimalist design or a lavish display of creativity, FLASK&#8217;s templating engine shall be your faithful companion.</p></li><li><p>Forms, on the other hand, are the humble messengers that bridge the gap between user input and server-side processing. FLASK provides elegant ways to handle forms, validating inputs, and gracefully responding to user actions. With FLASK&#8217;s form-handling capabilities, you can create interactive experiences that feel like a dance between the user and your application.</p></li><li><p>But what about data, you ask? Ah, databases, the treasure troves of information! FLASK embraces a variety of databases, enabling you to persistently store and retrieve data. Whether you prefer the elegance of SQL or the flexibility of NoSQL, FLASK has you covered, allowing you to seamlessly integrate databases into your applications and unlock the power of data-driven decision making.</p></li><li><p>Now, my curious companion, we reach the climax of our journey &#8212; deployment. What good is a masterpiece if it remains hidden from the world? Fear not, for FLASK equips you with the tools to deploy your application with ease. Whether you choose a traditional server or prefer the allure of the cloud, FLASK&#8217;s deployment options ensure your creation shines brightly for all to behold.</p></li><li><p>And so, my dear friend, as we conclude this adventure, you have witnessed the beauty and potential that FLASK holds. You now possess a comprehensive understanding of this enchanting library and how to wield it in your own projects. Go forth, armed with FLASK, and craft applications that dazzle, captivate, and leave a lasting impact on the world of web development.</p></li></ul><h1><strong>2. Installing FLASK</strong></h1><p>Before we can start using FLASK, we need to install it on our machine. To do this, simply run the following command in your command prompt or terminal:</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://tadata.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Data Unboxed is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><pre><code>pip install Flask</code></pre><p>This command will install FLASK and its dependencies, including Werkzeug and Jinja2, which are two essential components of the FLASK framework.</p><p>Once the installation is complete, you can verify it by running the following command:</p><pre><code>python -c "import flask; print(flask.__version__)"</code></pre><p>If the installation was successful, this command will output the current version of FLASK installed on your machine.</p><h1><strong>3. Building a Simple Web App with FLASK</strong></h1><p>Now that we have FLASK installed, let&#8217;s create a simple web app to demonstrate its features. To get started, create a new Python file called <code>app.py</code> and enter the following code:</p><pre><code>from flask import Flask</code></pre><pre><code>app = Flask(__name__)@app.route('/')
def hello_world():
    return 'Hello, World!'if __name__ == '__main__':
    app.run()</code></pre><p>This code defines a basic FLASK web app with a single route that displays the text &#8220;Hello, World!&#8221; when accessed. To run the app, simply execute the <code>app.py</code> file:</p><pre><code>python app.py</code></pre><p>Your web app will now be running on your local machine at </p><p>http://127.0.0.1:5000/</p><p>. Open this URL in your web browser, and you should see the "Hello, World!" message displayed.</p><h1><strong>4. Routing in FLASK</strong></h1><p>One of the core features of FLASK is its ability to handle routing, which is the process of mapping URLs to specific functions within your application. This allows you to create dynamic web apps with various pages and functionality.</p><h1><strong>4.1. Basic Routing</strong></h1><p>In FLASK, routes are defined using the <code>@app.route()</code> decorator, which maps a URL pattern to a specific function. For example, in our simple web app from the previous section, we defined the following route:</p><pre><code>@app.route('/')
def hello_world():
    return 'Hello, World!'</code></pre><p>This route maps the root URL (<code>/</code>) to the <code>hello_world()</code> function, which returns the "Hello, World!" message.</p><h1><strong>4.2. Dynamic Routing</strong></h1><p>FLASK also supports dynamic routing, allowing you to capture variable parts of the URL and pass them as arguments to your functions. To do this, simply include the variable name within angle brackets (<code>&lt;variable&gt;</code>) in your route definition. For example, to capture a user's name from the URL and display a personalized message, you could define the following route:</p><pre><code>@app.route('/hello/&lt;name&gt;')
def hello(name):
    return f'Hello, {name}!'</code></pre><p>Now, when you visit a URL like <code>http://127.0.0.1:5000/hello/John</code>, you will see the message "Hello, John!" displayed.</p><h1><strong>4.3. URL Converters</strong></h1><p>FLASK supports several built-in URL converters, which allow you to specify the type of the variable captured in your dynamic routing. Some of the available converters include:</p><ul><li><p><code>string</code>: Accepts any text without slashes (default)</p></li><li><p><code>int</code>: Accepts positive integers</p></li><li><p><code>float</code>: Accepts positive floating-point numbers</p></li><li><p><code>path</code>: Accepts slashes in the variable, similar to string</p></li></ul><p>To use a URL converter, simply include the converter name followed by a colon before the variable name in your route definition. For example, to capture an integer ID, you could define the following route:</p><pre><code>@app.route('/user/&lt;int:user_id&gt;')
def user_profile(user_id):
    return f'User ID: {user_id}'</code></pre><h1><strong>5. Templates and Static Files</strong></h1><p>FLASK uses the Jinja2 templating engine to generate dynamic HTML content for your web apps. This allows you to create reusable templates that can be filled with data from your application, making it easier to maintain and update your app&#8217;s UI.</p><h1><strong>5.1. Creating Templates</strong></h1><p>To create a Jinja2 template, simply create a new HTML file with the <code>.html</code> extension and include placeholders for your dynamic content using double curly braces (<code>{{ variable }}</code>). For example, you might create a template called <code>user.html</code> with the following content:</p><pre><code>&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
    &lt;title&gt;{{ user.name }}'s Profile&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;h1&gt;{{ user.name }}'s Profile&lt;/h1&gt;
    &lt;p&gt;Email: {{ user.email }}&lt;/p&gt;
    &lt;p&gt;Age: {{ user.age }}&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;</code></pre><p>This template includes placeholders for a user&#8217;s name, email, and age, which will be replaced with data from your FLASK app when the template is rendered.</p><h1><strong>5.2. Rendering Templates</strong></h1><p>To render a template in your FLASK app, you need to use the <code>render_template()</code> function, which is part of the <code>flask</code> module. This function takes the name of your template file and any keyword arguments that should be passed to the template as variables.</p><p>For example, let&#8217;s say you have a dictionary called <code>user</code> with keys for the user's name, email, and age. You could render the <code>user.html</code> template with this data like so:</p><pre><code>from flask import render_template</code></pre><pre><code>@app.route('/user/&lt;int:user_id&gt;')
def user_profile(user_id):
    user = get_user(user_id)  # Assume this function fetches the user data
    return render_template('user.html', user=user)</code></pre><p>Now, when you visit a URL like <code>http://127.0.0.1:5000/user/1</code>, the <code>user.html</code> template will be rendered with the appropriate data for the specified user.</p><h1><strong>5.3. Static Files</strong></h1><p>In addition to templates, most web apps also include static files, such as CSS stylesheets, JavaScript files, and images. FLASK makes it easy to serve these files by automatically setting up a <code>/static</code> URL route that maps to a <code>static</code> folder in your project directory.</p><p>To include static files in your templates, simply use the <code>url_for()</code> function within your template's HTML code. For example, to include a CSS file called <code>styles.css</code>, you would add the following line to your template's <code>&lt;head&gt;</code> section:</p><pre><code>&lt;link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}"&gt;</code></pre><p>Similarly, to include a JavaScript file called <code>scripts.js</code>, you would add the following line to your template's <code>&lt;body&gt;</code> section:</p><pre><code>&lt;script src="{{ url_for('static', filename='scripts.js') }}"&gt;&lt;/script&gt;</code></pre><h1><strong>6. FLASK and Forms</strong></h1><p>Handling user input through forms is an essential part of creating web applications. FLASK provides built-in support for handling form data and generating secure forms using the <code>flask_wtf</code> module, which is an extension of the popular <code>wtforms</code> library.</p><h1><strong>6.1. Creating Forms</strong></h1><p>To create a form in FLASK, you need to create a new Python class that inherits from the <code>flask_wtf.FlaskForm</code> class. This class should define fields for each of the form inputs, along with any validation rules that should be applied.</p><p>For example, to create a simple login form with fields for a user&#8217;s email and password, you might create the following class:</p><pre><code>from flask_wtf import FlaskForm
from wtforms import StringField, PasswordField, SubmitField
from wtforms.validators import DataRequired, Email</code></pre><pre><code>class LoginForm(FlaskForm):
    email = StringField('Email', validators=[DataRequired(), Email()])
    password = PasswordField('Password', validators=[DataRequired()])
    submit = SubmitField('Login')</code></pre><p>This form includes two fields for the user&#8217;s email and password, both of which are required. The email field also includes an additional validator to ensure that the input is a valid email address.</p><h1><strong>6.2. Rendering Forms</strong></h1><p>To render a form in your FLASK app, you simply need to pass an instance of your form class to a template, which can then render the form elements using the <code>form.field</code> syntax.</p><p>For example, you might create a template called <code>login.html</code> with the following content:</p><pre><code>&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
    &lt;title&gt;Login&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;h1&gt;Login&lt;/h1&gt;
    &lt;form method="POST" action="{{ url_for('login') }}"&gt;
        {{ form.csrf_token }}
        {{ form.email.label }} {{ form.email }}&lt;br&gt;
        {{ form.password.label }} {{ form.password }}&lt;br&gt;
        {{ form.submit }}
    &lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;</code></pre><p>This template renders the login form&#8217;s email, password, and submit fields, along with the necessary CSRF token for security.</p><p>To display this form in your FLASK app, you would create a route for the login page and render the <code>login.html</code> template, passing in an instance of the <code>LoginForm</code> class:</p><pre><code>from flask import render_template
from forms import LoginForm</code></pre><pre><code>@app.route('/login', methods=['GET', 'POST'])
def login():
    form = LoginForm()
    return render_template('login.html', form=form)</code></pre><h1><strong>6.3. Handling Form Submissions</strong></h1><p>When a user submits a form, the data is sent to your FLASK app as a POST request. To handle this data, you simply need to check the request method in your route function and call the form&#8217;s <code>validate_on_submit()</code> method to perform any validation.</p><p>For example, to handle the login form submission and authenticate the user, you might update your <code>login()</code> function like so:</p><pre><code>from flask import render_template, request, redirect, url_for
from forms import LoginForm</code></pre><pre><code>@app.route('/login', methods=['GET', 'POST'])
def login():
    form = LoginForm()
    if form.validate_on_submit():
        if authenticate_user(form.email.data, form.password.data):  # Assume this function checks the user's credentials
            return redirect(url_for('dashboard'))
        else:
            flash('Invalid email or password')
    return render_template('login.html', form=form)</code></pre><p>This function checks if the form was submitted and valid, then attempts to authenticate the user. If the authentication is successful, the user is redirected to the dashboard page; otherwise, an error message is displayed.</p><h1><strong>7. FLASK and Databases</strong></h1><p>Most web applications require some form of data storage, such as a database, to store and retrieve information. FLASK does not include built-in support for databases but can be easily integrated with various database systems using third-party extensions.</p><p>One of the most popular database systems for FLASK applications is SQLAlchemy, which is a powerful and flexible Object Relational Mapper (ORM) for Python. SQLAlchemy allows you to interact with your database using Python objects and methods, rather than writing raw SQL queries.</p><h1><strong>7.1. Installing SQLAlchemy</strong></h1><p>To use SQLAlchemy with FLASK, you first need to install the <code>flask-sqlalchemy</code> extension, which provides a convenient wrapper around the SQLAlchemy library. To do this, simply run the following command:</p><pre><code>pip install Flask-SQLAlchemy</code></pre><h1><strong>7.2. Configuring Your Database</strong></h1><p>Once you have installed the <code>flask-sqlalchemy</code> extension, you need to configure your FLASK app to use a specific database. This is done using the <code>SQLALCHEMY_DATABASE_URI</code> configuration variable, which should be set to the connection string for your database.</p><p>For example, to configure your app to use a SQLite database called <code>app.db</code>, you would add the following line to your <code>app.py</code> file:</p><pre><code>app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///app.db'</code></pre><p>You also need to create an instance of the <code>flask_sqlalchemy.SQLAlchemy</code> class, which will be used to interact with your database:</p><pre><code>from flask_sqlalchemy import SQLAlchemy</code></pre><pre><code>db = SQLAlchemy(app)</code></pre><h1><strong>7.3. Creating Database Models</strong></h1><p>To interact with your database, you need to create Python classes that represent the tables and relationships in your database schema. These classes are called models and should inherit from the <code>db.Model</code> class.</p><p>For example, to create a simple User model with fields for a user&#8217;s name, email, and password, you might create the following class:</p><pre><code>class User(db.Model):
    id = db.Column(db.Integer, primary_key=True)
    name = db.Column(db.String(100), nullable=False)
    email = db.Column(db.String(100), nullable=False, unique=True)
    password = db.Column(db.String(100), nullable=False)</code></pre><p>This model defines a User table with an integer primary key called <code>id</code>, as well as string fields for the user's name, email, and password. The <code>nullable=False</code> attribute indicates that these fields are required, while the <code>unique=True</code> attribute on the email field ensures that each user has a unique email address.</p><h1><strong>7.4. Querying Your Database</strong></h1><p>To query your database and retrieve data, you can use the various methods provided by the <code>db</code> object and your models. Some of the most common methods include:</p><ul><li><p><code>query.all()</code>: Retrieves all records from a table</p></li><li><p><code>query.filter_by()</code>: Retrieves records that match specific criteria</p></li><li><p><code>query.get()</code>: Retrieves a single record by its primary key</p></li><li><p><code>query.first()</code>: Retrieves the first record that matches specific criteria</p></li></ul><p>For example, to fetch all users from the User table, you would use the following code:</p><pre><code>users = User.query.all()</code></pre><p>To fetch a single user by their email address, you would use the following code:</p><pre><code>user = User.query.filter_by(email='john@example.com').first()</code></pre><h1><strong>8. FLASK for Machine Learning Applications</strong></h1><p>FLASK is a versatile framework that can also be used to create web apps and APIs that serve machine learning models. By integrating FLASK with popular machine learning libraries like TensorFlow, Keras, and PyTorch, you can create powerful web apps that leverage the power of machine learning.</p><p>For example, you might create a FLASK app that accepts images uploaded by users and returns predictions from a pre-trained image classification model. This can be achieved using the following steps:</p><ol><li><p>Load your pre-trained machine learning model using your preferred library</p></li><li><p>Create a FLASK route that accepts image uploads and processes the images</p></li><li><p>Use your machine learning model to make predictions on the processed images</p></li><li><p>Return the predictions as JSON data or display them in a web page</p></li></ol><p>By combining the simplicity of FLASK with the power of machine learning, you can create innovative and intelligent web applications that provide valuable insights and functionality to your users.</p><h1><strong>9. Deployment of FLASK Web Apps</strong></h1><p>Once you have developed your FLASK web app, the next step is to deploy it to a production server so that it can be accessed by users on the internet. There are many options available for deploying FLASK apps, including popular cloud platforms like AWS, Google Cloud, and Heroku, as well as traditional web hosting services.</p><p>When deploying your FLASK app, it is important to consider several factors, such as:</p><ul><li><p>Performance: Ensure your app runs efficiently and can handle multiple concurrent requests</p></li><li><p>Security: Protect your app from common vulnerabilities and threats, such as SQL injection and XSS attacks</p></li><li><p>Scalability: Ensure your app can handle increased traffic and load as it grows in popularity</p></li></ul><p>There are several tools and best practices available to help you optimize your FLASK app for production, including using a production-ready web server like Gunicorn or uWSGI, setting up a reverse proxy with Nginx or Apache, and implementing caching and load balancing techniques.</p><h1><strong>10. Best Practices and Tips</strong></h1><ul><li><p>Ah, the wisdom of best practices, the guiding light that illuminates the path to efficient, secure, and maintainable FLASK web applications. Pay heed, my enthusiastic companion, for these golden rules shall pave the way to greatness in your coding endeavors. Let us explore the key best practices and guidelines that shall be your guiding stars as you embark on your FLASK journey.</p></li><li><p>First and foremost, embrace the power of isolation and dependency management. A virtual environment shall be your shield, protecting your project&#8217;s dependencies from the chaos of the system&#8217;s Python installation. With this virtuous barrier in place, you shall ensure that your application&#8217;s dependencies are neatly contained and shielded from conflicting influences.</p></li><li><p>Ah, the elegance of organization! Structure your project&#8217;s code and files with a modular mindset, for a well-organized codebase is a joy to behold. Separate concerns into distinct modules and packages, ensuring that each component has a clear purpose and well-defined boundaries. This modular approach allows for easier navigation, promotes code reuse, and maintains a tidy ecosystem where each piece has its rightful place.</p></li><li><p>In the sacred halls of code, the DRY principle reigns supreme. Embrace its wisdom and let it guide your hand as you craft elegant solutions. Reuse code whenever possible, for duplicating logic is a cardinal sin in the FLASK realm. Extract reusable components and functions, encapsulating common functionality, and elevating them to the status of treasures that can be shared and employed throughout your application.</p></li><li><p>But beware, my friend, for the path to greatness is lined with the thorns of bugs and regressions. Fear not, for the armor of unit tests shall protect you from these lurking dangers. Write comprehensive unit tests that cover your codebase like a protective shield, ensuring its correctness and guarding against unintended regressions. With each passing test, you shall gain confidence in the stability of your application and inspire trust in your users.</p></li><li><p>Ah, documentation, the beacon of understanding in the vast sea of code. Do not neglect its power, for it shall illuminate your intentions and guide fellow developers through the intricacies of your creation. Annotate your code with comments and docstrings, providing clarity and context for future readers. And should you feel the need for more elaborate documentation, external tools stand ready to assist, allowing you to weave a rich tapestry of explanations and examples.</p></li><li><p>And so, my diligent companion, armed with these best practices and guidelines, you shall traverse the FLASK landscape with grace and finesse. Embrace the virtues of isolation, organization, reusability, testing, and documentation, for they shall empower you to create applications of unparalleled quality. May your code be efficient, your apps be secure, and your journey through FLASK be a testament to your mastery of the craft.</p></li></ul><p>&#129302;I write about the practical use of A.I. and life with it.<br>&#129302;<a href="https://www.buymeacoffee.com/TAggData">Buy me a Beer! </a>&#127867;</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://tadata.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Data Unboxed is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[Unleash Your Creativity with Kivy: A Comprehensive Tutorial]]></title><description><![CDATA[In the vast ocean of information that engulfs us, fear not, for I present to you the ultimate guide, a veritable treasure trove, that will equip you with the mastery of Kivy.]]></description><link>https://tadata.substack.com/p/unleash-your-creativity-with-kivy</link><guid isPermaLink="false">https://tadata.substack.com/p/unleash-your-creativity-with-kivy</guid><dc:creator><![CDATA[Data Unboxed by Tushar]]></dc:creator><pubDate>Wed, 05 Jul 2023 17:45:48 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!mDup!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcec1afa-d6f1-4063-93e3-98432bc7dc3c_1700x1200.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!mDup!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcec1afa-d6f1-4063-93e3-98432bc7dc3c_1700x1200.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!mDup!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcec1afa-d6f1-4063-93e3-98432bc7dc3c_1700x1200.png 424w, https://substackcdn.com/image/fetch/$s_!mDup!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcec1afa-d6f1-4063-93e3-98432bc7dc3c_1700x1200.png 848w, https://substackcdn.com/image/fetch/$s_!mDup!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcec1afa-d6f1-4063-93e3-98432bc7dc3c_1700x1200.png 1272w, https://substackcdn.com/image/fetch/$s_!mDup!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcec1afa-d6f1-4063-93e3-98432bc7dc3c_1700x1200.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!mDup!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcec1afa-d6f1-4063-93e3-98432bc7dc3c_1700x1200.png" width="1456" height="1028" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/dcec1afa-d6f1-4063-93e3-98432bc7dc3c_1700x1200.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1028,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2547319,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!mDup!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcec1afa-d6f1-4063-93e3-98432bc7dc3c_1700x1200.png 424w, https://substackcdn.com/image/fetch/$s_!mDup!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcec1afa-d6f1-4063-93e3-98432bc7dc3c_1700x1200.png 848w, https://substackcdn.com/image/fetch/$s_!mDup!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcec1afa-d6f1-4063-93e3-98432bc7dc3c_1700x1200.png 1272w, https://substackcdn.com/image/fetch/$s_!mDup!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdcec1afa-d6f1-4063-93e3-98432bc7dc3c_1700x1200.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 role="img" 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><title></title><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>In the vast ocean of information that engulfs us, fear not, for I present to you the ultimate guide, a veritable treasure trove, that will equip you with the mastery of Kivy. Brace yourself for a comprehensive journey that combines rich content and a step-by-step approach, ensuring you gain invaluable insights and a profound understanding of this powerful tool. Prepare to witness the transformation of your cross-platform application development skills as we embark on this thrilling adventure together!</p><p>In this ever-evolving world, Kivy has emerged as a beacon of light, a magnificent open-source Python library that empowers developers to create breathtaking applications across a multitude of platforms. Gone are the days of wrestling with different codebases for Windows, macOS, Linux, Android, and iOS. Kivy sweeps in like a heroic figure, providing a unified platform where developers can craft responsive, visually appealing applications using a single codebase. Isn&#8217;t that marvelous?</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://tadata.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Data Unboxed is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>My guide leaves no stone unturned as we delve into the realm of Kivy. You&#8217;ll discover its boundless capabilities, enabling you to unleash your creativity and bring your app ideas to life on a variety of platforms. Say goodbye to the days of confinement and limitation, and open your mind to a world of endless possibilities.</p><p>But that&#8217;s just the beginning! This guide offers you a glimpse into the plethora of benefits that Kivy bestows upon its users. From its intuitive user interface components to its support for multitouch gestures, Kivy ensures an immersive and delightful user experience across devices. Imagine the joy of creating applications that seamlessly adapt to different screen sizes and orientations, enchanting users with their responsiveness and visual allure.</p><h1><strong>Table of Contents</strong></h1><ol><li><p>Introduction to Kivy</p></li><li><p>Benefits of Kivy</p></li><li><p>Installation and Setup</p></li><li><p>Creating a Basic Kivy App</p></li><li><p>Kivy Widgets and Layouts</p></li><li><p>Event Handling and Properties</p></li><li><p>Kivy Language (KV) for UI Design</p></li><li><p>Kivy Screen Manager</p></li><li><p>Integrating with Other Python Libraries</p></li><li><p>Deploying Kivy Apps to Different Platforms</p></li></ol><h1><strong>1. Introduction to Kivy</strong></h1><p>Now, let us embark on this voyage together. Our guide takes you by the hand, providing a clear path for you to tread upon. With its step-by-step approach, you&#8217;ll gradually uncover the intricacies of Kivy, mastering its syntax, layout management, event handling, and more. Fear not, my friend, for no stone shall be left unturned as we equip you with the tools and knowledge to embark on your own cross-platform app development projects.</p><p>As you peruse this guide, I implore you to treat it as a sacred artifact, a precious resource to be cherished. Save it, bookmark it, for it shall serve as your trusted companion, a go-to source whenever you encounter challenges or seek inspiration. With each page turned, with each concept grasped, you will ascend the ladder of Kivy mastery, becoming a true virtuoso of cross-platform app development.</p><h1><strong>2. Benefits of Kivy</strong></h1><p>Ah, the splendid benefits that Kivy bestows upon its faithful developers! Allow me to shed light on the array of advantages that make this wondrous framework a true gem in the realm of cross-platform application development.</p><p><strong>First and foremost</strong>, we must marvel at Kivy&#8217;s impeccable cross-platform compatibility. With this powerful tool at your disposal, you can wave goodbye to the arduous task of modifying your codebase for different platforms. Develop your application once, my dear developer, and effortlessly deploy it on Windows, macOS, Linux, Android, and iOS without breaking a sweat. Isn&#8217;t it delightful to witness your creation come to life across a myriad of devices, all with minimal additional modifications?</p><p><strong>Now, let us bask in the glory of Kivy&#8217;s rich user interface capabilities.</strong> Brace yourself, for within its depths lie a treasure trove of built-in widgets that will make your UI creation process a breeze. With a few lines of code, you can conjure visually appealing and responsive user interfaces that captivate your audience. Say goodbye to the days of toiling over intricate UI designs and embrace the efficiency and elegance that Kivy brings to the table.</p><p><strong>But wait, there&#8217;s more! Prepare to be dazzled by the high-performance graphics that Kivy offers.</strong> Harnessing the power of OpenGL ES 2, this remarkable framework ensures swift rendering and a smooth user experience, even on devices with limited resources. Yes, my friend, your applications will shine bright, exuding a level of performance and fluidity that will leave users in awe.</p><p><strong>Let us not forget the allure of Kivy&#8217;s customizable and extensible nature.</strong> Like a painter with a vast palette of colors, developers can mold and shape Kivy to suit their artistic visions. Tailor the interface to your heart&#8217;s desire, creating unique and captivating experiences that set your applications apart from the crowd. And should you seek to expand the boundaries of Kivy&#8217;s capabilities, fear not, for its extensibility allows you to seamlessly integrate additional Python modules, unlocking new realms of functionality and endless possibilities.</p><p><strong>But what truly sets Kivy apart is its vibrant community, a bastion of support and camaraderie. </strong>This active and devoted community stands as a testament to the framework&#8217;s popularity and promise. Within this nurturing environment, developers unite, sharing knowledge, insights, and resources, fostering growth and innovation. Should you stumble upon obstacles or seek guidance, rest assured that this community will embrace you with open arms, providing the assistance needed to conquer challenges and achieve greatness.</p><h1><strong>3. Installation and Setup</strong></h1><p>To install Kivy, ensure that you have Python 3.6 or higher and a stable internet connection. You can install Kivy using pip:</p><pre><code>pip install kivy</code></pre><p>Additionally, you can install the Kivy examples package to access various sample applications and tutorials:</p><pre><code>pip install kivy_examples</code></pre><h1><strong>4. Creating a Basic Kivy App</strong></h1><p>To create a basic Kivy app, follow these steps:</p><ol><li><p><strong>Import Kivy modules:</strong> Begin by importing the necessary Kivy modules into your Python script:</p></li></ol><pre><code>import kivy
from kivy.app import App
from kivy.uix.label import Label</code></pre><ol><li><p><strong>Define your app class:</strong> Create a new class inheriting from the <code>App</code> base class, and define the <code>build()</code> method. This method will return the root widget of your application:</p></li></ol><pre><code>class MyApp(App):
    def build(self):
        return Label(text='Hello, Kivy!')</code></pre><ol><li><p><strong>Instantiate and run your app:</strong> Finally, create an instance of your app class and call its <code>run()</code> method:</p></li></ol><pre><code>if __name__ == '__main__':
    MyApp().run()</code></pre><p>This basic Kivy app will display a window with the text &#8220;Hello, Kivy!&#8221;.</p><h1><strong>5. Kivy Widgets and Layouts</strong></h1><p>Kivy provides a wide array of widgets for building your application&#8217;s user interface. Some common widgets include:</p><ul><li><p><code>Label</code>: Displays text</p></li><li><p><code>Button</code>: A clickable button with a label</p></li><li><p><code>TextInput</code>: A single or multiline text input field</p></li><li><p><code>Slider</code>: A draggable slider for selecting a value within a range</p></li><li><p><code>CheckBox</code>: A checkbox for toggling a boolean value</p></li></ul><p>To organize your widgets, Kivy offers several layout options, such as:</p><ul><li><p><code>BoxLayout</code>: Arranges widgets in a horizontal or vertical line</p></li><li><p><code>GridLayout</code>: Organizes widgets in a grid pattern</p></li><li><p><code>FloatLayout</code>: Allows for absolute positioning and resizing of widgets</p></li><li><p><code>StackLayout</code>: Stacks widgets in a specified direction, wrapping when space runs out</p></li></ul><p>Experiment with various widgets and layouts to create your desired user interface.</p><h1><strong>6. Event Handling and Properties</strong></h1><p>Kivy allows for easy event handling and property binding to keep your app&#8217;s logic and interface in sync. Here&#8217;s how to handle events and work with properties:</p><ol><li><p><strong>Define event handlers:</strong> Create functions in your app class to handle specific events, such as button clicks:</p></li></ol><pre><code>def on_button_click(self, instance):
    print("Button clicked:", instance.text)</code></pre><ol><li><p><strong>Bind event handlers to widgets:</strong> Attach your event handlers to the corresponding widgets using the <code>bind()</code> method:</p></li></ol><pre><code>button = Button(text="Click me!")
button.bind(on_release=self.on_button_click)</code></pre><ol><li><p><strong>Use Kivy properties to sync UI state:</strong> Define properties in your app class to automatically update the interface when their values change:</p></li></ol><pre><code>from kivy.properties import StringProperty

class MyApp(App):
    message = StringProperty('Hello, Kivy!')
    def build(self):
        return Label(text=self.message)</code></pre><p>Experiment with event handling and properties to create interactive and dynamic applications.</p><h1><strong>7. Kivy Language (KV) for UI Design</strong></h1><p>Kivy Language (KV) is a domain-specific language for designing user interfaces in Kivy. It simplifies the process of creating and styling widgets and layouts, and also allows for easy binding of events and properties.</p><p>To create a KV file, save your UI design code in a file with the same name as your app class (minus &#8220;App&#8221;) and a <code>.kv</code> extension. For example, if your app class is named <code>MyApp</code>, your KV file should be named <code>my.kv</code>.</p><p>Here&#8217;s a simple KV file example:</p><pre><code>BoxLayout:
    orientation: 'vertical'

Label:
        text: 'Welcome to Kivy!'
    Button:
        text: 'Click me!'
        on_release: app.on_button_click()</code></pre><p>This KV file defines a vertical <code>BoxLayout</code> containing a <code>Label</code> and a <code>Button</code>. The <code>on_release</code> event of the button is bound to the <code>on_button_click()</code> method of your app class.</p><p>Use Kivy Language to streamline your UI design process and separate your app&#8217;s logic from its presentation.</p><h1><strong>8. Kivy Screen Manager</strong></h1><p>For applications with multiple screens, Kivy provides a <code>ScreenManager</code> class to manage screen transitions and navigation. Here's how to use the <code>ScreenManager</code>:</p><p><strong>Import the necessary modules:</strong> Import the <code>ScreenManager</code> and <code>Screen</code> classes from the <code>kivy.uix.screenmanager</code> module:</p><pre><code>from kivy.uix.screenmanager import ScreenManager, Screen</code></pre><p><strong>Create your screens:</strong> Define separate classes for each screen, inheriting from the <code>Screen</code> class. Customize the UI of each screen using Kivy widgets and layouts:</p><pre><code>class MainMenuScreen(Screen):
    pass

class SettingsScreen(Screen):
    pass</code></pre><p><strong>Configure the ScreenManager:</strong> In your app&#8217;s <code>build()</code> method, create an instance of the <code>ScreenManager</code> and add your screen instances to it:</p><pre><code>def build(self):
    screen_manager = ScreenManager()
    screen_manager.add_widget(MainMenuScreen(name='main_menu'))
    screen_manager.add_widget(SettingsScreen(name='settings'))
    return screen_manager</code></pre><p><strong>Switch between screens:</strong> To navigate between screens, use the <code>current</code> property of the <code>ScreenManager</code>:</p><pre><code>def go_to_settings(self):
    self.root.current = 'settings'</code></pre><p>Utilize the <code>ScreenManager</code> to create feature-rich apps with multiple screens and seamless navigation.</p><h1><strong>9. Integrating with Other Python Libraries</strong></h1><p>Kivy&#8217;s flexibility allows for easy integration with other Python libraries, enhancing your app&#8217;s capabilities. For example, you can use popular libraries like NumPy, Pandas, or TensorFlow to process data or incorporate machine learning into your application. To integrate a Python library with Kivy, simply import and use the library as you would in any Python script.</p><h1><strong>10. Deploying Kivy Apps to Different Platforms</strong></h1><p>Kivy simplifies the process of deploying your apps to various platforms, including Windows, macOS, Linux, Android, and iOS. Follow these general steps to deploy your Kivy app:</p><ol><li><p><strong>Package your app:</strong> Create a distributable package of your app using tools like PyInstaller or Kivy&#8217;s <code>buildozer</code> utility.</p></li><li><p><strong>Test your app:</strong> Before deploying, thoroughly test your app on the target platform to ensure proper functionality and performance.</p></li><li><p><strong>Submit your app to app stores:</strong> If targeting mobile platforms, submit your packaged app to Google Play or the App Store following their respective guidelines.</p></li></ol><h1><strong>Conclusion</strong></h1><p>In conclusion, the benefits of Kivy are truly remarkable. Its cross-platform compatibility, rich user interface capabilities, high-performance graphics, customizability, and extensibility are the ingredients that make this framework a force to be reckoned with. And let us not overlook the vibrant community that surrounds Kivy, for it is through collaboration and support that we can truly thrive. So, my fellow developer, embrace the power of Kivy, and witness your applications transcend boundaries, captivating users across platforms with their elegance and performance. The world of cross-platform application development awaits your touch, and with Kivy by your side, success is within reach.</p><p>&#129302;I write about the practical use of A.I. and life with it.<br>&#129302;<a href="https://www.buymeacoffee.com/TAggData">Buy me a Beer! </a>&#127867;</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://tadata.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Data Unboxed is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[Master the Power of RegEx: A Step-by-Step Guide]]></title><description><![CDATA[{This article was written without the assistance or use of AI tools, providing an authentic and insightful exploration of RegEx}]]></description><link>https://tadata.substack.com/p/master-the-power-of-regex-a-step</link><guid isPermaLink="false">https://tadata.substack.com/p/master-the-power-of-regex-a-step</guid><dc:creator><![CDATA[Data Unboxed by Tushar]]></dc:creator><pubDate>Sat, 01 Jul 2023 15:08:01 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!Gv78!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03b4a601-dacc-4986-87e4-3f42b0f82d34_1700x1200.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Gv78!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03b4a601-dacc-4986-87e4-3f42b0f82d34_1700x1200.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Gv78!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03b4a601-dacc-4986-87e4-3f42b0f82d34_1700x1200.png 424w, https://substackcdn.com/image/fetch/$s_!Gv78!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03b4a601-dacc-4986-87e4-3f42b0f82d34_1700x1200.png 848w, https://substackcdn.com/image/fetch/$s_!Gv78!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03b4a601-dacc-4986-87e4-3f42b0f82d34_1700x1200.png 1272w, https://substackcdn.com/image/fetch/$s_!Gv78!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03b4a601-dacc-4986-87e4-3f42b0f82d34_1700x1200.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Gv78!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03b4a601-dacc-4986-87e4-3f42b0f82d34_1700x1200.png" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/03b4a601-dacc-4986-87e4-3f42b0f82d34_1700x1200.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2547319,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Gv78!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03b4a601-dacc-4986-87e4-3f42b0f82d34_1700x1200.png 424w, https://substackcdn.com/image/fetch/$s_!Gv78!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03b4a601-dacc-4986-87e4-3f42b0f82d34_1700x1200.png 848w, https://substackcdn.com/image/fetch/$s_!Gv78!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03b4a601-dacc-4986-87e4-3f42b0f82d34_1700x1200.png 1272w, https://substackcdn.com/image/fetch/$s_!Gv78!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F03b4a601-dacc-4986-87e4-3f42b0f82d34_1700x1200.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>Regular Expressions, or RegEx, is a powerful tool for text processing and manipulation. By mastering RegEx for Python, you can efficiently handle complex tasks such as data extraction, pattern matching, and string manipulation. In this comprehensive guide, we will explore the fundamentals of RegEx for Python and illustrate its power through step-by-step examples. By the end of this article, you will have a solid understanding of RegEx and its applications in Python.</p><h1><strong>Table of Contents</strong></h1><ol><li><p>Introduction to RegEx</p></li><li><p>RegEx in Python: The <code>re</code> module</p></li><li><p>Basic RegEx Patterns</p></li><li><p>Meta-characters and Special Sequences</p></li><li><p>RegEx Functions in Python</p></li><li><p>Grouping and Capturing</p></li><li><p>Lookahead and Lookbehind Assertions</p></li><li><p>Flags in RegEx</p></li><li><p>Practical Applications of RegEx for Python</p></li><li><p>Tips and Resources for Mastering RegEx</p></li></ol><h1><strong>1. Introduction to RegEx</strong></h1><p>Regular Expressions, or RegEx, is a sequence of characters that define a search pattern. This search pattern can be used to match, locate, and manipulate strings. RegEx is widely used in various programming languages, including Python, for tasks such as data validation, data extraction, and text processing. By mastering RegEx, you can significantly enhance your text manipulation capabilities in Python.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://tadata.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Data Unboxed! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><h1><strong>2. RegEx in Python: The </strong><code>re</code> module</h1><p>Python provides the built-in <code>re</code> module to work with RegEx. This module contains various functions and methods to perform pattern matching and string manipulation using RegEx. To use the <code>re</code> module, you need to import it into your Python script:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!2Fvd!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!2Fvd!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png 424w, https://substackcdn.com/image/fetch/$s_!2Fvd!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png 848w, https://substackcdn.com/image/fetch/$s_!2Fvd!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png 1272w, https://substackcdn.com/image/fetch/$s_!2Fvd!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!2Fvd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png" width="882" height="192" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:192,&quot;width&quot;:882,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&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="" title="" srcset="https://substackcdn.com/image/fetch/$s_!2Fvd!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png 424w, https://substackcdn.com/image/fetch/$s_!2Fvd!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png 848w, https://substackcdn.com/image/fetch/$s_!2Fvd!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png 1272w, https://substackcdn.com/image/fetch/$s_!2Fvd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">by Tushar-aggarwal.com</figcaption></figure></div><p>With the <code>re</code> module imported, you can now use its functions to perform various RegEx operations in Python.</p><h1><strong>3. Basic RegEx Patterns</strong></h1><p>RegEx patterns are composed of ordinary characters (such as letters or digits) and special characters (called meta-characters), which have a special meaning. Here are some basic RegEx patterns:</p><ul><li><p><code>a</code>: Matches the character 'a'</p></li><li><p><code>123</code>: Matches the sequence of characters '123'</p></li></ul><p>These basic patterns can be combined to form more complex patterns. For example, the pattern <code>abc123</code> will match the string 'abc123'.</p><h1><strong>4. Meta-characters and Special Sequences</strong></h1><p>RegEx meta-characters are characters that have special meanings when used in a pattern. They allow you to create more complex search patterns. Here are some common meta-characters and their meanings:</p><ul><li><p><code>.</code>: Matches any character (except a newline)</p></li><li><p><code>^</code>: Matches the start of the string</p></li><li><p><code>$</code>: Matches the end of the string</p></li><li><p><code>*</code>: Matches zero or more repetitions of the preceding character</p></li><li><p><code>+</code>: Matches one or more repetitions of the preceding character</p></li><li><p><code>?</code>: Matches zero or one occurrence of the preceding character</p></li><li><p><code>{m,n}</code>: Matches at least 'm' and at most 'n' repetitions of the preceding character</p></li><li><p><code>|</code>: Acts as an OR operator, matching either the expression before or after it</p></li><li><p><code>()</code>: Defines a group, which can be used for capturing and applying quantifiers</p></li><li><p><code>[]</code>: Specifies a character set, allowing you to match any character within the brackets</p></li></ul><p>Special sequences are character combinations that have special meanings in a RegEx pattern. Here are some common special sequences:</p><ul><li><p><code>\d</code>: Matches any decimal digit (0-9)</p></li><li><p><code>\D</code>: Matches any non-digit character</p></li><li><p><code>\s</code>: Matches any whitespace character (space, tab, newline, etc.)</p></li><li><p><code>\S</code>: Matches any non-whitespace character</p></li><li><p><code>\w</code>: Matches any alphanumeric character (letters and digits)</p></li><li><p><code>\W</code>: Matches any non-alphanumeric character</p></li></ul><h1><strong>5. RegEx Functions in Python</strong></h1><p>Python&#8217;s <code>re</code> the module provides several functions for working with RegEx. Here are some commonly used functions:</p><ul><li><p><code>re.search(pattern, string)</code>: Searches the string for a match to the pattern, returning a match object if a match is found, or None otherwise.</p></li><li><p><code>re.match(pattern, string)</code>: Determines if the pattern matches at the beginning of the string, returning a match object if a match is found, or None otherwise.</p></li><li><p><code>re.findall(pattern, string)</code>: Returns all non-overlapping matches of the pattern in the string, as a list of strings.</p></li><li><p><code>re.finditer(pattern, string)</code>: Returns an iterator yielding match objects for all non-overlapping matches of the pattern in the string.</p></li><li><p><code>re.sub(pattern, replacement, string)</code>: Replaces all occurrences of the pattern in the string with the given replacement, returning the modified string.</p></li><li><p><code>re.split(pattern, string)</code>: Splits the string by the occurrences of the pattern, returning a list of strings.</p></li></ul><h1><strong>6. Grouping and Capturing</strong></h1><p>Grouping allows you to apply quantifiers to a set of characters or to capture portions of the matched string. To create a group, use parentheses <code>()</code> around the pattern you want to group. For example, the pattern <code>(ab)+</code> matches one or more repetitions of the string 'ab'.</p><p>Capturing refers to the process of extracting the matched portions of a string. In Python, you can use the <code>group()</code> method of the match object to access the captured groups. The <code>group(0)</code> method returns the entire match, while <code>group(n)</code> returning the nth captured group.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!2Fvd!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!2Fvd!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png 424w, https://substackcdn.com/image/fetch/$s_!2Fvd!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png 848w, https://substackcdn.com/image/fetch/$s_!2Fvd!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png 1272w, https://substackcdn.com/image/fetch/$s_!2Fvd!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!2Fvd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png" width="882" height="192" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:192,&quot;width&quot;:882,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&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="" title="" srcset="https://substackcdn.com/image/fetch/$s_!2Fvd!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png 424w, https://substackcdn.com/image/fetch/$s_!2Fvd!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png 848w, https://substackcdn.com/image/fetch/$s_!2Fvd!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png 1272w, https://substackcdn.com/image/fetch/$s_!2Fvd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">by Tushar-aggarwal.com</figcaption></figure></div><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!s47b!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27aa2200-f783-4f2d-9083-37c30f7985a0_1238x262.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!s47b!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27aa2200-f783-4f2d-9083-37c30f7985a0_1238x262.png 424w, https://substackcdn.com/image/fetch/$s_!s47b!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27aa2200-f783-4f2d-9083-37c30f7985a0_1238x262.png 848w, https://substackcdn.com/image/fetch/$s_!s47b!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27aa2200-f783-4f2d-9083-37c30f7985a0_1238x262.png 1272w, https://substackcdn.com/image/fetch/$s_!s47b!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27aa2200-f783-4f2d-9083-37c30f7985a0_1238x262.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!s47b!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27aa2200-f783-4f2d-9083-37c30f7985a0_1238x262.png" width="1238" height="262" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/27aa2200-f783-4f2d-9083-37c30f7985a0_1238x262.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:262,&quot;width&quot;:1238,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:38223,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!s47b!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27aa2200-f783-4f2d-9083-37c30f7985a0_1238x262.png 424w, https://substackcdn.com/image/fetch/$s_!s47b!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27aa2200-f783-4f2d-9083-37c30f7985a0_1238x262.png 848w, https://substackcdn.com/image/fetch/$s_!s47b!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27aa2200-f783-4f2d-9083-37c30f7985a0_1238x262.png 1272w, https://substackcdn.com/image/fetch/$s_!s47b!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F27aa2200-f783-4f2d-9083-37c30f7985a0_1238x262.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!BYJi!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F774b4218-0a16-43b9-a424-a7e82dda34b0_1238x262.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!BYJi!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F774b4218-0a16-43b9-a424-a7e82dda34b0_1238x262.png 424w, https://substackcdn.com/image/fetch/$s_!BYJi!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F774b4218-0a16-43b9-a424-a7e82dda34b0_1238x262.png 848w, https://substackcdn.com/image/fetch/$s_!BYJi!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F774b4218-0a16-43b9-a424-a7e82dda34b0_1238x262.png 1272w, https://substackcdn.com/image/fetch/$s_!BYJi!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F774b4218-0a16-43b9-a424-a7e82dda34b0_1238x262.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!BYJi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F774b4218-0a16-43b9-a424-a7e82dda34b0_1238x262.png" width="1238" height="262" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/774b4218-0a16-43b9-a424-a7e82dda34b0_1238x262.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:262,&quot;width&quot;:1238,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:46458,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!BYJi!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F774b4218-0a16-43b9-a424-a7e82dda34b0_1238x262.png 424w, https://substackcdn.com/image/fetch/$s_!BYJi!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F774b4218-0a16-43b9-a424-a7e82dda34b0_1238x262.png 848w, https://substackcdn.com/image/fetch/$s_!BYJi!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F774b4218-0a16-43b9-a424-a7e82dda34b0_1238x262.png 1272w, https://substackcdn.com/image/fetch/$s_!BYJi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F774b4218-0a16-43b9-a424-a7e82dda34b0_1238x262.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p></p><p></p><h1><strong>7. Lookahead and Lookbehind Assertions</strong></h1><p>Lookahead and lookbehind assertions are used to match a pattern only if it is followed (lookahead) or preceded (lookbehind) by another pattern, without consuming any characters from the string. These assertions are written as:</p><ul><li><p>Positive lookahead: <code>(?=pattern)</code></p></li><li><p>Negative lookahead: <code>(?!pattern)</code></p></li><li><p>Positive lookbehind: <code>(?&lt;=pattern)</code></p></li><li><p>Negative lookbehind: <code>(?&lt;!pattern)</code></p></li></ul><p>For example, the pattern <code>a(?=b)</code> matches the character 'a' only if it is followed by the character 'b'.</p><h1><strong>8. Flags in RegEx</strong></h1><p>Flags are used to modify the behaviour of RegEx functions. Python&#8217;s <code>re</code> the module provides several flags, such as:</p><ul><li><p><code>re.IGNORECASE</code> or <code>re.I</code>: Makes the pattern case-insensitive</p></li><li><p><code>re.MULTILINE</code> or <code>re.M</code>: Allows start and end meta-characters (<code>^</code> and <code>$</code>) to match at the beginning and end of each line in the string</p></li><li><p><code>re.DOTALL</code> or <code>re.S</code>: Makes the dot <code>.</code> meta-character matches any character, including a new line</p></li></ul><p>Flags can be passed as an optional argument to the RegEx functions:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!2Fvd!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!2Fvd!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png 424w, https://substackcdn.com/image/fetch/$s_!2Fvd!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png 848w, https://substackcdn.com/image/fetch/$s_!2Fvd!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png 1272w, https://substackcdn.com/image/fetch/$s_!2Fvd!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!2Fvd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png" width="882" height="192" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:192,&quot;width&quot;:882,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&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="" title="" srcset="https://substackcdn.com/image/fetch/$s_!2Fvd!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png 424w, https://substackcdn.com/image/fetch/$s_!2Fvd!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png 848w, https://substackcdn.com/image/fetch/$s_!2Fvd!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png 1272w, https://substackcdn.com/image/fetch/$s_!2Fvd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F91f711e3-f7a6-4ecc-b796-550667a21248_882x192.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">by Tushar-aggarwal.com</figcaption></figure></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!N7lO!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b4a9fb6-bb2b-4e9e-8710-7c2cb82fa90b_894x268.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!N7lO!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b4a9fb6-bb2b-4e9e-8710-7c2cb82fa90b_894x268.png 424w, https://substackcdn.com/image/fetch/$s_!N7lO!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b4a9fb6-bb2b-4e9e-8710-7c2cb82fa90b_894x268.png 848w, https://substackcdn.com/image/fetch/$s_!N7lO!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b4a9fb6-bb2b-4e9e-8710-7c2cb82fa90b_894x268.png 1272w, https://substackcdn.com/image/fetch/$s_!N7lO!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b4a9fb6-bb2b-4e9e-8710-7c2cb82fa90b_894x268.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!N7lO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b4a9fb6-bb2b-4e9e-8710-7c2cb82fa90b_894x268.png" width="894" height="268" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9b4a9fb6-bb2b-4e9e-8710-7c2cb82fa90b_894x268.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:268,&quot;width&quot;:894,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:31222,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!N7lO!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b4a9fb6-bb2b-4e9e-8710-7c2cb82fa90b_894x268.png 424w, https://substackcdn.com/image/fetch/$s_!N7lO!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b4a9fb6-bb2b-4e9e-8710-7c2cb82fa90b_894x268.png 848w, https://substackcdn.com/image/fetch/$s_!N7lO!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b4a9fb6-bb2b-4e9e-8710-7c2cb82fa90b_894x268.png 1272w, https://substackcdn.com/image/fetch/$s_!N7lO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b4a9fb6-bb2b-4e9e-8710-7c2cb82fa90b_894x268.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 role="img" 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><title></title><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 class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!wBB5!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa6aacee-5c61-4a43-a028-0d5252fe9d04_894x268.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!wBB5!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa6aacee-5c61-4a43-a028-0d5252fe9d04_894x268.png 424w, https://substackcdn.com/image/fetch/$s_!wBB5!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa6aacee-5c61-4a43-a028-0d5252fe9d04_894x268.png 848w, https://substackcdn.com/image/fetch/$s_!wBB5!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa6aacee-5c61-4a43-a028-0d5252fe9d04_894x268.png 1272w, https://substackcdn.com/image/fetch/$s_!wBB5!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa6aacee-5c61-4a43-a028-0d5252fe9d04_894x268.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!wBB5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa6aacee-5c61-4a43-a028-0d5252fe9d04_894x268.png" width="894" height="268" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/aa6aacee-5c61-4a43-a028-0d5252fe9d04_894x268.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:268,&quot;width&quot;:894,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:28904,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!wBB5!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa6aacee-5c61-4a43-a028-0d5252fe9d04_894x268.png 424w, https://substackcdn.com/image/fetch/$s_!wBB5!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa6aacee-5c61-4a43-a028-0d5252fe9d04_894x268.png 848w, https://substackcdn.com/image/fetch/$s_!wBB5!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa6aacee-5c61-4a43-a028-0d5252fe9d04_894x268.png 1272w, https://substackcdn.com/image/fetch/$s_!wBB5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa6aacee-5c61-4a43-a028-0d5252fe9d04_894x268.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 role="img" 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><title></title><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><strong>9. Practical Applications of RegEx for Python</strong></h1><p>RegEx can be used in various text processing tasks in Python, such as:</p><ul><li><p>Data extraction (e.g., extracting dates or URLs from a text)</p></li><li><p>String manipulation (e.g., removing unwanted characters or formatting text)</p></li><li><p>Pattern matching (e.g., finding specific words or phrases in a text)</p></li></ul><p>Here are some examples:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!t0Jd!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0d5749d-f3ba-4326-b012-d89080918932_962x410.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!t0Jd!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0d5749d-f3ba-4326-b012-d89080918932_962x410.png 424w, https://substackcdn.com/image/fetch/$s_!t0Jd!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0d5749d-f3ba-4326-b012-d89080918932_962x410.png 848w, https://substackcdn.com/image/fetch/$s_!t0Jd!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0d5749d-f3ba-4326-b012-d89080918932_962x410.png 1272w, https://substackcdn.com/image/fetch/$s_!t0Jd!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0d5749d-f3ba-4326-b012-d89080918932_962x410.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!t0Jd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0d5749d-f3ba-4326-b012-d89080918932_962x410.png" width="962" height="410" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b0d5749d-f3ba-4326-b012-d89080918932_962x410.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:410,&quot;width&quot;:962,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:57031,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!t0Jd!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0d5749d-f3ba-4326-b012-d89080918932_962x410.png 424w, https://substackcdn.com/image/fetch/$s_!t0Jd!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0d5749d-f3ba-4326-b012-d89080918932_962x410.png 848w, https://substackcdn.com/image/fetch/$s_!t0Jd!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0d5749d-f3ba-4326-b012-d89080918932_962x410.png 1272w, https://substackcdn.com/image/fetch/$s_!t0Jd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0d5749d-f3ba-4326-b012-d89080918932_962x410.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 role="img" 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><title></title><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 class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!zKKO!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feeb17e1d-6cbe-4559-9f10-33ef405cc414_1542x368.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!zKKO!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feeb17e1d-6cbe-4559-9f10-33ef405cc414_1542x368.png 424w, https://substackcdn.com/image/fetch/$s_!zKKO!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feeb17e1d-6cbe-4559-9f10-33ef405cc414_1542x368.png 848w, https://substackcdn.com/image/fetch/$s_!zKKO!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feeb17e1d-6cbe-4559-9f10-33ef405cc414_1542x368.png 1272w, https://substackcdn.com/image/fetch/$s_!zKKO!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feeb17e1d-6cbe-4559-9f10-33ef405cc414_1542x368.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!zKKO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feeb17e1d-6cbe-4559-9f10-33ef405cc414_1542x368.png" width="1456" height="347" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/eeb17e1d-6cbe-4559-9f10-33ef405cc414_1542x368.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:347,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:70296,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!zKKO!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feeb17e1d-6cbe-4559-9f10-33ef405cc414_1542x368.png 424w, https://substackcdn.com/image/fetch/$s_!zKKO!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feeb17e1d-6cbe-4559-9f10-33ef405cc414_1542x368.png 848w, https://substackcdn.com/image/fetch/$s_!zKKO!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feeb17e1d-6cbe-4559-9f10-33ef405cc414_1542x368.png 1272w, https://substackcdn.com/image/fetch/$s_!zKKO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feeb17e1d-6cbe-4559-9f10-33ef405cc414_1542x368.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Pi9I!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6eb01596-24d9-43b4-b876-d5d95bfc8d48_1542x368.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Pi9I!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6eb01596-24d9-43b4-b876-d5d95bfc8d48_1542x368.png 424w, https://substackcdn.com/image/fetch/$s_!Pi9I!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6eb01596-24d9-43b4-b876-d5d95bfc8d48_1542x368.png 848w, https://substackcdn.com/image/fetch/$s_!Pi9I!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6eb01596-24d9-43b4-b876-d5d95bfc8d48_1542x368.png 1272w, https://substackcdn.com/image/fetch/$s_!Pi9I!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6eb01596-24d9-43b4-b876-d5d95bfc8d48_1542x368.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Pi9I!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6eb01596-24d9-43b4-b876-d5d95bfc8d48_1542x368.png" width="1456" height="347" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6eb01596-24d9-43b4-b876-d5d95bfc8d48_1542x368.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:347,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:58319,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Pi9I!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6eb01596-24d9-43b4-b876-d5d95bfc8d48_1542x368.png 424w, https://substackcdn.com/image/fetch/$s_!Pi9I!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6eb01596-24d9-43b4-b876-d5d95bfc8d48_1542x368.png 848w, https://substackcdn.com/image/fetch/$s_!Pi9I!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6eb01596-24d9-43b4-b876-d5d95bfc8d48_1542x368.png 1272w, https://substackcdn.com/image/fetch/$s_!Pi9I!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6eb01596-24d9-43b4-b876-d5d95bfc8d48_1542x368.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p></p><h1><strong>10. Tips and Resources for Mastering RegEx</strong></h1><p>Mastering RegEx takes time and practice. Here are some tips and resources to help you improve your RegEx skills:</p><ul><li><p>Practice writing RegEx patterns for various text-processing tasks.</p></li><li><p>Use online RegEx tools, such as <a href="https://regex101.com/">regex101</a>, to test and debug your patterns.</p></li><li><p>Read the <a href="https://docs.python.org/3/library/re.html">Python </a><code>re</code><a href="https://docs.python.org/3/library/re.html"> module documentation</a> to learn more about its functions and features.</p></li><li><p>Consult RegEx tutorials and guides, such as <a href="https://www.regular-expressions.info/">Regular-Expressions.info</a>, to deepen your understanding of RegEx concepts.</p></li></ul><p>By following this step-by-step guide and utilizing the provided resources, you can now harness the power of RegEx for Python to solve complex text-processing tasks and enhance your programming skills.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.buymeacoffee.com/TAggData&quot;,&quot;text&quot;:&quot;Buy me a Beer&#127867;&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.buymeacoffee.com/TAggData"><span>Buy me a Beer&#127867;</span></a></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://tadata.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Data Unboxed! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item></channel></rss>