<?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: Jeornee</title>
    <description>The latest articles on DEV Community by Jeornee (@jeornee).</description>
    <link>https://dev.to/jeornee</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%2F1348843%2F1ca01a74-ff43-4774-a14f-b8f43dd2757b.jpeg</url>
      <title>DEV Community: Jeornee</title>
      <link>https://dev.to/jeornee</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jeornee"/>
    <language>en</language>
    <item>
      <title>Measure of center. What is this dataset's typical behavior?</title>
      <dc:creator>Jeornee</dc:creator>
      <pubDate>Tue, 21 Jan 2025 22:56:05 +0000</pubDate>
      <link>https://dev.to/jeornee/measure-of-center-what-is-this-datasets-typical-behavior-4kfa</link>
      <guid>https://dev.to/jeornee/measure-of-center-what-is-this-datasets-typical-behavior-4kfa</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Measure of central tendency is important when working with datasets because it gives us a summary of the data, it provides a single value that is a summarization of the center point of the dataset.&lt;br&gt;
This value gives insight into the dataset as a whole and allows for easier comparison, understanding and decision-making.&lt;/p&gt;

&lt;h2&gt;
  
  
  Measure of center
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Mean(Arithmetic Average)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Mean it the addition/sum of all individual values and divided by the total number&lt;/p&gt;

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

&lt;p&gt;In the case of the scores of 12 students &lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Median(Middle Value)&lt;/strong&gt;&lt;br&gt;
Median is the middle value. 50% above and 50% below after being sorted.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Mode(Most Frequent Value)&lt;/strong&gt;&lt;br&gt;
Mode is the most frequently occurring value in a dataset.&lt;/p&gt;

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

&lt;p&gt;Mean is sensitive to extra values, so, they work well with symmetrical charts, right or left skewed charts wouldn't work well with mean.&lt;br&gt;
However, median would be a better option.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is spreed?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Variance&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Variance is the average distance from each data point from the mean.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Standard deviation&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Standard deviation is the square root of the variance.&lt;br&gt;
Better than variance because you can easily wrap your head around as it is the square root of the variance.&lt;/p&gt;

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

&lt;p&gt;Interquartile Range (IQR)&lt;br&gt;
Measures the spread of the middle 50% of data by subtracting the first quartile (Q1) from the third quartile (Q3).&lt;/p&gt;

&lt;p&gt;(Q1) indicates the boundary for the lower quarter of the dataset, showing where the first 25% of values lie when the data is sorted in ascending order.&lt;/p&gt;

&lt;p&gt;(Q3) is the value below which 75% of the data falls. It represents the 75th percentile of the dataset.&lt;br&gt;
It marks the upper boundary of the third quarter of the data, leaving only the top 25% of values above it.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Range&lt;/strong&gt;&lt;br&gt;
The simplest measure of spread, calculated as the difference between the maximum and minimum values in a dataset.&lt;/p&gt;

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

</description>
    </item>
    <item>
      <title>Introduction to data analysis with Python: Part 2 - Lists, Tuples and Dictionaries</title>
      <dc:creator>Jeornee</dc:creator>
      <pubDate>Mon, 20 Jan 2025 22:59:11 +0000</pubDate>
      <link>https://dev.to/jeornee/introduction-to-data-analysis-with-python-part-2-lists-tuples-and-dictionaries-40ee</link>
      <guid>https://dev.to/jeornee/introduction-to-data-analysis-with-python-part-2-lists-tuples-and-dictionaries-40ee</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;For everything in life, there are building blocks, and to fully understand a concept, we usually have to go down to those basics.&lt;br&gt;
Python has building blocks that we’re going to dive into in this article.&lt;/p&gt;

&lt;h3&gt;
  
  
  Lists
&lt;/h3&gt;

&lt;p&gt;A list is an ordered, mutable collection of items. They can hold different data types.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Characteristics of Lists&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;They are ordered.&lt;/li&gt;
&lt;li&gt;They can be changed (mutable).&lt;/li&gt;
&lt;li&gt;They can hold different data types.&lt;/li&gt;
&lt;li&gt;They can be indexed.&lt;/li&gt;
&lt;li&gt;They are stored in square brackets [ ].&lt;/li&gt;
&lt;li&gt;They accept duplicate elements.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Examples of lists&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh6v3sh8iigrhgkn1hkxw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh6v3sh8iigrhgkn1hkxw.png" alt="Image description" width="800" height="360"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Indexing&lt;/strong&gt;&lt;br&gt;
Items in a list can be accessed using a method called indexing.&lt;br&gt;
Indexes, in this context, are numbers assigned to the items in a list. The items are indexed/numbered starting from 0.&lt;/p&gt;

&lt;p&gt;An example would be:&lt;/p&gt;

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

&lt;p&gt;To fetch items, we write:&lt;/p&gt;

&lt;p&gt;Positive indexing: This is simply calling items with their natural index numbers.&lt;/p&gt;

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

&lt;p&gt;Negative indexing: Negative indexing works backward. If you want to pick the -4 item, you count from right to left starting from 1.&lt;br&gt;
This could be useful when you have a long list and want to access the second-to-last item. For instance, writing -2 would do that.&lt;/p&gt;

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

&lt;p&gt;Slicing indexing: Slicing allows us to pick a group of items. When slicing, you need two indexes—the index to start slicing from and the index to end at. However, the ending index is not included in the result.&lt;br&gt;
As we see in the example below, print(a_list[1:4]) prints items at index 1 to 3. Index 4 (Tolu) is excluded.&lt;br&gt;
We can also slice like this: print(a_list[:3]). This asks Python to return the values from the beginning up to index 2, as index 3 is excluded.&lt;/p&gt;

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

&lt;p&gt;Skipping indexing: As the name implies, skipping indexing allows us to skip items we do not want. In a list of numbers, skip indexing can give us only even numbers.&lt;/p&gt;

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

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

&lt;p&gt;&lt;strong&gt;Mutability of lists&lt;/strong&gt;&lt;br&gt;
As we’ve mentioned earlier, lists are mutable. We can update them and delete items from them.&lt;/p&gt;

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

&lt;h3&gt;
  
  
  Tuples
&lt;/h3&gt;

&lt;p&gt;A tuple is an immutable and ordered collection of elements.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Characteristics of Tuples&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;They are ordered.&lt;/li&gt;
&lt;li&gt;They are unchangeable (immutable).&lt;/li&gt;
&lt;li&gt;They can hold different data types.&lt;/li&gt;
&lt;li&gt;They can be indexed.&lt;/li&gt;
&lt;li&gt;They are stored in curved brackets ().&lt;/li&gt;
&lt;li&gt;They accept duplicate elements.&lt;/li&gt;
&lt;li&gt;They are faster than lists because they are immutable.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Example of Tuples&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;Tuples share the same indexing style as Lists.&lt;/p&gt;

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

&lt;p&gt;Immutability of Tuples: They cannot be deleted or updated.&lt;/p&gt;

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

&lt;h3&gt;
  
  
  Dictionaries
&lt;/h3&gt;

&lt;p&gt;A dictionary is an unordered, mutable collection of key-value pairs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Characteristics of Dictionaries&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;They are unordered.&lt;/li&gt;
&lt;li&gt;They can be changed (mutable).&lt;/li&gt;
&lt;li&gt;They can hold different data types.&lt;/li&gt;
&lt;li&gt;They are indexed not by position but by keys.&lt;/li&gt;
&lt;li&gt;They are stored in curly brackets {}.&lt;/li&gt;
&lt;li&gt;They accept duplicate value elements.&lt;/li&gt;
&lt;li&gt;Keys must be unique.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Example of a dictionary&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;To retrieve values, we use the keys. In this case, the keys are: name, age, gender, country, friend.&lt;/p&gt;

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

&lt;p&gt;To update, you assign a new value using an equals sign (=).&lt;/p&gt;

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

</description>
    </item>
    <item>
      <title>Introduction to data analysis with Python: Part 1 - Data types and Variables</title>
      <dc:creator>Jeornee</dc:creator>
      <pubDate>Sat, 14 Dec 2024 01:15:41 +0000</pubDate>
      <link>https://dev.to/jeornee/introduction-to-data-analysis-with-python-part-1-data-types-and-variables-1jjj</link>
      <guid>https://dev.to/jeornee/introduction-to-data-analysis-with-python-part-1-data-types-and-variables-1jjj</guid>
      <description>&lt;h2&gt;
  
  
  Data Types
&lt;/h2&gt;

&lt;p&gt;Data types are classifications that specify the kind of value/data a variable can hold.&lt;/p&gt;

&lt;p&gt;They include:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Integer or int: Whole numbers (e.g., 1, 43, 78, 100, 34).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;String or str: Text data enclosed in quotes. Depending on the programming language, these can be in single quotes ('') or double quotes (""). (e.g., "Grace", "height", "school")&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Boolean or bool: Represents truth values: True or False.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Float: Decimal numbers (e.g., 2.9, 56.9, 0.0001).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Character or char: A single character (e.g., A, d).&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Variables
&lt;/h2&gt;

&lt;p&gt;Variables help us reference a piece of data for later use. They can hold any data type (e.g., strings, floats, integers, and Booleans).&lt;/p&gt;

&lt;p&gt;Strings must be enclosed in single or double quotes.&lt;/p&gt;

&lt;p&gt;Floats are numbers with a decimal point.&lt;/p&gt;

&lt;p&gt;Examples:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# String
&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Russell&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;  
&lt;span class="c1"&gt;# Integer
&lt;/span&gt;&lt;span class="n"&gt;age&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;45&lt;/span&gt;  
&lt;span class="c1"&gt;# Float
&lt;/span&gt;&lt;span class="n"&gt;height&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;170.8&lt;/span&gt;  
&lt;span class="c1"&gt;# Boolean
&lt;/span&gt;&lt;span class="n"&gt;is_customer&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="bp"&gt;False&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here, name, age, and height are variables. For example, when "name" is called, it references "Russell" because "Russell" has been assigned to name.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Rules for Variables:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Variables are defined with the equals sign (=).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Variables must start with a letter.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Variables can include numbers and underscores, but these cannot come at the beginning.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Variables are case-sensitive (e.g., &lt;em&gt;Name&lt;/em&gt; and &lt;em&gt;name&lt;/em&gt; are two different variables).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Spaces and special characters cannot be used in variable names.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Examples of Valid Variable Names:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;footballers_names&lt;/p&gt;

&lt;p&gt;ages45&lt;/p&gt;

&lt;p&gt;x&lt;/p&gt;

&lt;p&gt;Food&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;Examples of Invalid Variable Names:&lt;br&gt;
*&lt;/em&gt;&lt;br&gt;
footballers-names (hyphen is a special character).&lt;/p&gt;

&lt;p&gt;42age (variables cannot start with a number).&lt;/p&gt;

&lt;p&gt;snow bunny (spaces are not allowed).&lt;/p&gt;

&lt;p&gt;To know the value of a variable, use the print function:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Russell&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;  
&lt;span class="n"&gt;age&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;45&lt;/span&gt;  
&lt;span class="n"&gt;height&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;170&lt;/span&gt;  

&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;height&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  
&lt;span class="c1"&gt;# Output: 170
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Important: A variable itself does not require quotes.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Why is python essential for data analysts?</title>
      <dc:creator>Jeornee</dc:creator>
      <pubDate>Tue, 10 Dec 2024 14:55:33 +0000</pubDate>
      <link>https://dev.to/jeornee/why-python-is-essential-for-data-analysts-164i</link>
      <guid>https://dev.to/jeornee/why-python-is-essential-for-data-analysts-164i</guid>
      <description>&lt;p&gt;Python is a tool you’d love to work with as a data analyst for a variety of reasons: ease of use, extensive ecosystem of libraries and tools designed specifically for data analysis and visualization.&lt;/p&gt;

&lt;p&gt;Let’s delve into the world of Python for a data analyst and why it’s essential.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Ease of learning and use:&lt;/strong&gt;&lt;br&gt;
Python has easy syntax which makes it accessible for beginners and very efficient for experienced analysts. Instead of dealing with difficult syntax, Python’s simplicity makes it easier for its users to focus on solving problems.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Data visualization tools:&lt;/strong&gt;&lt;br&gt;
With libraries such as &lt;br&gt;
Matplotlib &lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F30genlcfjx613ofbqybb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F30genlcfjx613ofbqybb.png" alt="Image description" width="800" height="392"&gt;&lt;/a&gt;&lt;br&gt;
Or&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3roqixcwodimypl02kah.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3roqixcwodimypl02kah.png" alt="Image description" width="800" height="390"&gt;&lt;/a&gt;&lt;br&gt;
 and Seaborn&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffnd21q9tdrcvr54o305a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffnd21q9tdrcvr54o305a.png" alt="Image description" width="800" height="324"&gt;&lt;/a&gt;&lt;br&gt;
in Python’s ecosystem, we have the options for detailed and aesthetically pleasing static visualization.&lt;br&gt;
However, we still need dynamic visualization, and for that, we have &lt;strong&gt;Plotly&lt;/strong&gt; and &lt;strong&gt;Bokeh&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Extensive library for data analysis:&lt;/strong&gt;&lt;br&gt;
As data analysts or aspiring data analysts, you’d agree that data manipulation is very important for analysis.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;• Pandas&lt;/strong&gt;: For data manipulation and analysis, especially with tabular data.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwb1wwn07ew51vlcnlgiv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwb1wwn07ew51vlcnlgiv.png" alt="Image description" width="800" height="336"&gt;&lt;/a&gt;&lt;br&gt;
 &lt;strong&gt;• NumPy&lt;/strong&gt;: For numerical computations and handling multidimensional arrays.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyyw5s78y28ongm1pzbgd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyyw5s78y28ongm1pzbgd.png" alt="Image description" width="604" height="410"&gt;&lt;/a&gt;&lt;br&gt;
 &lt;strong&gt;• SciPy&lt;/strong&gt;: For advanced statistical computations.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fki8x0tqz9j28hmlbanyc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fki8x0tqz9j28hmlbanyc.png" alt="Image description" width="704" height="558"&gt;&lt;/a&gt;&lt;br&gt;
 &lt;strong&gt;4. Large data handling:&lt;/strong&gt;&lt;br&gt;
Python can handle large datasets using frameworks such as &lt;strong&gt;PySpark&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Data cleaning and preparation:&lt;/strong&gt;&lt;br&gt;
Data cleaning is something you’ll have to do over and over again as a data analyst, and Python has tools that make this task faster and more efficient.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Automation:&lt;/strong&gt;&lt;br&gt;
Python supports automation of repetitive tasks, such as data extraction and loading.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;7. Community support:&lt;/strong&gt;&lt;br&gt;
There’s a vast and active community of analysts, and this makes finding tutorials and resources easier for everyone.&lt;/p&gt;

&lt;p&gt;In conclusion, Python is an effective tool for data analysis for its simple syntax, extensive libraries, visualization tools, large data handling capacity, data cleaning, data preparation, and automation of repetitive tasks.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>data</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
