<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Souh🦋</title>
    <description>The latest articles on DEV Community by Souh🦋 (@soukon).</description>
    <link>https://dev.to/soukon</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1276446%2F28e6c2a1-d528-494f-99bc-f0192afa5d29.jpg</url>
      <title>DEV Community: Souh🦋</title>
      <link>https://dev.to/soukon</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/soukon"/>
    <language>en</language>
    <item>
      <title>🪐Jupyter Notebook Cells: Shortcuts🎹</title>
      <dc:creator>Souh🦋</dc:creator>
      <pubDate>Mon, 12 Feb 2024 18:15:33 +0000</pubDate>
      <link>https://dev.to/soukon/jupyter-notebook-cells-shortcuts-2pca</link>
      <guid>https://dev.to/soukon/jupyter-notebook-cells-shortcuts-2pca</guid>
      <description>&lt;p&gt;Every data geek and python programmer knows and uses Jupyter notebooks this day and age, as it is a very crucial tool and one of the most important skills every Data related role person needs in his carrer .&lt;/p&gt;

&lt;p&gt;In this article i'll be sharing the most common and useful shortcuts that you need in your everyday coding life to be more productive, save time, or just to get rid of the mouse and impress people with your keyboard skills 🤷‍♀️.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cell type:
&lt;/h2&gt;

&lt;p&gt;There are three main types of cells on Jupyter : Code cells, Markdown cells, and Raw cells.&lt;br&gt;
By default any new cell is a code cell, but it can be changed either with the dropdown on the toolbar or using shortcuts.&lt;/p&gt;

&lt;p&gt;For a &lt;strong&gt;code cell&lt;/strong&gt; to run python code:&lt;br&gt;
 Press &lt;code&gt;y&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;For a &lt;strong&gt;Markdown cell&lt;/strong&gt; to display formatted text and media:&lt;br&gt;
 Press &lt;code&gt;M&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Cell mode:
&lt;/h2&gt;

&lt;p&gt;There are two modes in jupyter notebook, Edit mode and Command mode.&lt;/p&gt;

&lt;p&gt;For &lt;strong&gt;Edit mode&lt;/strong&gt; to type code or text in the cell :&lt;br&gt;
Press &lt;code&gt;return&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;For the &lt;strong&gt;command mode&lt;/strong&gt; to perform general actions on the cells in the notebook:&lt;br&gt;
Press &lt;code&gt;ESC&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Add/Delete Cells:
&lt;/h2&gt;

&lt;p&gt;To &lt;strong&gt;add&lt;/strong&gt; a cell above the selected cell : Press &lt;code&gt;a&lt;/code&gt;&lt;br&gt;
To &lt;strong&gt;add&lt;/strong&gt; a cell bellow the selected cell: Press &lt;code&gt;b&lt;/code&gt;&lt;br&gt;
To &lt;strong&gt;delete&lt;/strong&gt; the selected cell: Press &lt;code&gt;dd&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Run Cells:
&lt;/h2&gt;

&lt;p&gt;To &lt;strong&gt;Run/Execute&lt;/strong&gt; the selected cells: &lt;br&gt;
Press &lt;code&gt;cltr&lt;/code&gt;+&lt;code&gt;Enter&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;To &lt;strong&gt;Run&lt;/strong&gt; the selected cell + &lt;strong&gt;select&lt;/strong&gt; below : &lt;br&gt;
Press &lt;code&gt;Shift&lt;/code&gt;+&lt;code&gt;Enter&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;To &lt;strong&gt;Run&lt;/strong&gt; the selected cells + &lt;strong&gt;add&lt;/strong&gt; cell below: &lt;br&gt;
Press &lt;code&gt;alt&lt;/code&gt;+&lt;code&gt;Enter&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;To &lt;strong&gt;Run all&lt;/strong&gt; cells: &lt;br&gt;
Press &lt;code&gt;cltr&lt;/code&gt;+&lt;code&gt;A&lt;/code&gt; &lt;br&gt;
Press &lt;code&gt;cltr&lt;/code&gt;+&lt;code&gt;Enter&lt;/code&gt; &lt;/p&gt;

&lt;h2&gt;
  
  
  Modify Cells:
&lt;/h2&gt;

&lt;p&gt;To Undo : Press &lt;code&gt;Z&lt;/code&gt; &lt;br&gt;
To copy : Press &lt;code&gt;C&lt;/code&gt;&lt;br&gt;
To cut : Press &lt;code&gt;X&lt;/code&gt;&lt;br&gt;
To paste : Press &lt;code&gt;V&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;There you go! try it out, Increase your efficiency and productivity when using Jupyter Notebook.&lt;/p&gt;

&lt;p&gt;Happy coding!🏃‍♀️&lt;/p&gt;

</description>
      <category>jupyter</category>
      <category>datascience</category>
      <category>data</category>
      <category>python</category>
    </item>
    <item>
      <title>🐉Mastering Python Data Structures: A Comprehensive Guide🦮</title>
      <dc:creator>Souh🦋</dc:creator>
      <pubDate>Sat, 10 Feb 2024 15:42:45 +0000</pubDate>
      <link>https://dev.to/soukon/mastering-python-data-structures-a-comprehensive-guide-3k18</link>
      <guid>https://dev.to/soukon/mastering-python-data-structures-a-comprehensive-guide-3k18</guid>
      <description>&lt;p&gt;Python, known for its ease of use and adaptability, provides a wide range of data structures that enable programmers to effectively arrange and work with data. Anyone wishing to fully utilize Python for data manipulation, algorithm design, and software development must have a solid understanding of these data structures. We'll look at the main Python data structures in this article, along with their features and applications.&lt;/p&gt;

&lt;h2&gt;
  
  
  Lists:
&lt;/h2&gt;

&lt;p&gt;Lists are one of the most versatile and commonly used data structures in Python. They are ordered collections of items, allowing for easy indexing, slicing, and modification. Lists can contain elements of different types and can be dynamically resized.&lt;/p&gt;

&lt;p&gt;Example:&lt;br&gt;
&lt;code&gt;my_list = [1, 2, 3, 'a', 'b', 'c']&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Tuples:
&lt;/h2&gt;

&lt;p&gt;Tuples are similar to lists but are immutable, meaning their elements cannot be modified after creation. They are often used to store collections of heterogeneous data and are particularly useful for returning multiple values from a function.&lt;/p&gt;

&lt;p&gt;Example:&lt;br&gt;
&lt;code&gt;my_tuple = (1, 2, 'hello')&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Dictionaries:
&lt;/h2&gt;

&lt;p&gt;Dictionaries are unordered collections of key-value pairs, providing fast lookup and retrieval of values based on keys. They are highly efficient for mapping relationships between objects and are commonly used for data storage and retrieval.&lt;/p&gt;

&lt;p&gt;Example:&lt;br&gt;
&lt;code&gt;my_dict = {'name': 'John', 'age': 30, 'city': 'New York'}&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Sets:
&lt;/h2&gt;

&lt;p&gt;Sets are unordered collections of unique elements, allowing for fast membership tests and set operations such as union, intersection, and difference. They are particularly useful for eliminating duplicate values and performing mathematical operations on collections.&lt;/p&gt;

&lt;p&gt;Example:&lt;br&gt;
&lt;code&gt;my_set = {1, 2, 3, 4, 5}&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Arrays:
&lt;/h2&gt;

&lt;p&gt;While lists and arrays are comparable in Python, arrays are made to hold elements of the same data type, which allows for faster operations for numerical computations and more memory-efficient storage. Numerical analysis and scientific computing both frequently employ them.&lt;/p&gt;

&lt;p&gt;Example:&lt;br&gt;
&lt;code&gt;import array&lt;br&gt;
 my_array = array.array('i', [1, 2, 3, 4, 5])&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Deque:
&lt;/h2&gt;

&lt;p&gt;A flexible data structure that facilitates effective insertion and deletion operations from both ends is the deque (double-ended queue). When implementing queues, stacks, and other dynamic data structures, it is especially helpful.&lt;/p&gt;

&lt;p&gt;Example:&lt;br&gt;
&lt;code&gt;from collections import deque&lt;br&gt;
 my_deque = deque([1, 2, 3, 4, 5])&lt;/code&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Mastering Python data structures is essential for becoming a proficient Python programmer. Each data structure offers unique advantages and is suited for different use cases.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;🐉Whether you're manipulating lists, mapping relationships with dictionaries, or performing numerical computations with arrays, Python provides powerful data structures that enable you to tackle diverse programming challenges with ease and elegance.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Mastering CSS: How to Center a Div</title>
      <dc:creator>Souh🦋</dc:creator>
      <pubDate>Fri, 09 Feb 2024 17:34:34 +0000</pubDate>
      <link>https://dev.to/soukon/mastering-css-how-to-center-a-div-3i26</link>
      <guid>https://dev.to/soukon/mastering-css-how-to-center-a-div-3i26</guid>
      <description>&lt;p&gt;Although it might appear easy, centering a div element using CSS can occasionally be difficult, particularly when working with various layout conditions. Learning how to center divs is essential for all developers, regardless of expertise level. We'll look at several methods and best practices for centering a div element both vertically and horizontally in this article.&lt;/p&gt;

&lt;h2&gt;
  
  
  Horizontal Centering:
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Using Margin:&lt;/strong&gt;&lt;br&gt;
One of the simplest ways to horizontally center a div is by setting its left and right margins to "auto" and specifying a width. This technique works well for block-level elements.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;.centered-div {&lt;br&gt;
    width: 300px;&lt;br&gt;
    margin-left: auto;&lt;br&gt;
    margin-right: auto;&lt;br&gt;
}&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Using Flexbox:&lt;/strong&gt;&lt;br&gt;
Flexbox provides a powerful way to create flexible layouts, including centering elements. By setting the parent container's display property to "flex" and using the "justify-content" property with the value "center," you can easily center the child div horizontally.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;.parent-container {&lt;br&gt;
    display: flex;&lt;br&gt;
    justify-content: center;&lt;br&gt;
}&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Vertical Centering:
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Using Flexbox:&lt;/strong&gt;&lt;br&gt;
Flexbox also makes vertical centering straightforward. By combining the "align-items" property with the value "center" in the parent container, you can vertically center the child div.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;.parent-container {&lt;br&gt;
    display: flex;&lt;br&gt;
    align-items: center;&lt;br&gt;
}&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Using CSS Grid:&lt;/strong&gt;&lt;br&gt;
CSS Grid Layout offers another approach to vertical centering. By setting the parent container's display property to "grid" and using the "align-items" property with the value "center," you can achieve vertical centering.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;.parent-container {&lt;br&gt;
    display: grid;&lt;br&gt;
    place-items: center;&lt;br&gt;
}&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Horizontal and Vertical Centering:
&lt;/h2&gt;

&lt;p&gt;A div may occasionally need to be centered inside its parent container in both the horizontal and vertical directions. Here's how to make this happen:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Using Flexbox:&lt;/strong&gt;&lt;br&gt;
By combining the "justify-content" and "align-items" properties with the value "center" in the parent container, you can center the child div both horizontally and vertically.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;.parent-container {&lt;br&gt;
    display: flex;&lt;br&gt;
    justify-content: center;&lt;br&gt;
    align-items: center;&lt;br&gt;
}&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Using Absolute Positioning:&lt;/strong&gt;&lt;br&gt;
If you know the dimensions of the div you want to center, you can use absolute positioning with the following CSS:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;.centered-div {&lt;br&gt;
    position: absolute;&lt;br&gt;
    top: 50%;&lt;br&gt;
    left: 50%;&lt;br&gt;
    transform: translate(-50%, -50%);&lt;br&gt;
}&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;In summary, learning how to center div elements using CSS entails comprehending a variety of methods and selecting the best one for your particular layout needs. Whether you're centering vertically, horizontally, or both, CSS offers a number of strong features to help you quickly and effectively get the desired outcome. You'll get skilled at centering div elements and designing elegantly balanced layouts for your web projects with practice and experimentation.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>css</category>
      <category>frontend</category>
      <category>scss</category>
    </item>
    <item>
      <title>The Significance of Data Scientists in Today's World🔬🌍</title>
      <dc:creator>Souh🦋</dc:creator>
      <pubDate>Fri, 09 Feb 2024 00:26:10 +0000</pubDate>
      <link>https://dev.to/soukon/the-significance-of-data-scientists-in-todays-world-4g2</link>
      <guid>https://dev.to/soukon/the-significance-of-data-scientists-in-todays-world-4g2</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi45gulz661ny05hw3vbd.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi45gulz661ny05hw3vbd.jpg" alt="Image of a data scientist computer" width="474" height="474"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;With technology and industry always changing, data scientists are becoming more and more important. Data scientists are becoming increasingly essential to businesses in a variety of industries as we move through the digital age, where information is power. Here's why data scientists are more important now than ever before and Why I want to be one in the future:&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Data-Driven Decision Making:
&lt;/h2&gt;

&lt;p&gt;Decisions must be made quickly, precisely, and in the context of evidence in the fast-paced world of today. The ability to evaluate huge amounts of data, derive insightful conclusions, and convert those conclusions into workable plans is possessed by &lt;strong&gt;data scientists&lt;/strong&gt;. Organizations may make well-informed decisions that promote success and innovation by utilizing data.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Uncovering Patterns and Trends:
&lt;/h2&gt;

&lt;p&gt;Data scientists possess the necessary skills to find hidden patterns and trends in intricate datasets. &lt;strong&gt;Data scientists&lt;/strong&gt; are essential in obtaining important insights that might influence how businesses operate in the future, whether they are forecasting customer behavior, streamlining corporate processes, or identifying abnormalities.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Driving Innovation and Growth:
&lt;/h2&gt;

&lt;p&gt;In a competitive marketplace, innovation is key to staying ahead of the curve. &lt;strong&gt;Data scientists&lt;/strong&gt; leverage advanced analytical techniques, including machine learning and artificial intelligence. By analyzing market trends, customer preferences, and competitor strategies, data scientists help organizations innovate and adapt to changing market dynamics.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Personalized Customer Experiences:
&lt;/h2&gt;

&lt;p&gt;When it comes to audience segmentation, customer data analysis, and developing focused marketing strategies, &lt;strong&gt;data scientists&lt;/strong&gt; are essential. Organizations may boost customer satisfaction and foster loyalty by providing tailored experiences that are driven by an understanding of customer behavior and preferences.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Mitigating Risks and Fraud:
&lt;/h2&gt;

&lt;p&gt;With the increasing prevalence of cyber threats and fraud, organizations need to be vigilant in protecting their assets and data. &lt;strong&gt;Data scientists&lt;/strong&gt; use advanced analytics and predictive modeling to detect anomalies and identify potential risks. By implementing robust risk management strategies, organizations can safeguard against fraud and minimize financial losses.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Improving Healthcare Outcomes:
&lt;/h2&gt;

&lt;p&gt;By leveraging big data and predictive analytics, data scientists help healthcare professionals make informed decisions that improve patient outcomes and save lives.&lt;br&gt;
In the healthcare sector, &lt;strong&gt;data scientists&lt;/strong&gt; are instrumental in analyzing medical data, predicting disease outbreaks, and identifying effective treatments&lt;/p&gt;

&lt;p&gt;To sum up, data scientists are essential in today's data-driven society. Organizations in a variety of industries can benefit greatly from the knowledge of data scientists since they can enhance consumer experiences, drive innovation and growth, and reduce risks. The need for qualified data scientists will only increase as we manage the complexity of the digital era, highlighting their importance in influencing business and technology in the future.&lt;/p&gt;

</description>
      <category>datascience</category>
      <category>data</category>
      <category>ai</category>
      <category>machinelearning</category>
    </item>
  </channel>
</rss>
