<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Suraj Bhute on Medium]]></title>
        <description><![CDATA[Stories by Suraj Bhute on Medium]]></description>
        <link>https://medium.com/@surajbhute?source=rss-a034adbb864------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*aOC_enie9ry9ivXFAJE1EA.jpeg</url>
            <title>Stories by Suraj Bhute on Medium</title>
            <link>https://medium.com/@surajbhute?source=rss-a034adbb864------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 22:24:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@surajbhute/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Performing Analysis of Meteorological Data]]></title>
            <link>https://medium.com/analytics-vidhya/performing-analysis-of-meteorological-data-72d55483c8ee?source=rss-a034adbb864------2</link>
            <guid isPermaLink="false">https://medium.com/p/72d55483c8ee</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[online]]></category>
            <category><![CDATA[winter-intenship]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[python3]]></category>
            <dc:creator><![CDATA[Suraj Bhute]]></dc:creator>
            <pubDate>Fri, 15 Jan 2021 13:41:49 GMT</pubDate>
            <atom:updated>2021-01-22T15:48:30.114Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://internship.suvenconsultants.com/">https://internship.suvenconsultants.com </a>for providing awesome problem statements and giving many of us a Coding Internship Experience. <br>@<a href="http://www.suvenconsultants.com/">www.suvenconsultants.com</a>&quot;</p><blockquote>One type of data that’s easier to find on the net is Weather data. Many sites provide historical data on many meteorological parameters such as pressure, temperature, humidity, wind_speed, visibility, etc.</blockquote><blockquote>weather dataset from<a href="https://www.kaggle.com/muthuj7/weather-dataset"> <strong><em>Kaggle</em></strong></a><a href="https://github.com/SB2507/Performing-Analysis-of-Meteorological-Data"><strong><em>,</em></strong></a></blockquote><blockquote><em>Source Code</em><strong><em> </em></strong><a href="https://github.com/SB2507/Performing-Analysis-of-Meteorological-Data"><strong><em>Github</em></strong></a></blockquote><p>Our goal is to transform the raw data into information and then convert that information into knowledge.<br>We will be performing some basic tasks to perform our analysis such as</p><blockquote><strong>Data cleaning</strong></blockquote><blockquote><strong>Data normalizing</strong></blockquote><blockquote><strong>Testing the hypothesis</strong></blockquote><blockquote><strong>The Null Hypothesis H0 is “Has the Apparent temperature and humidity compared monthly across 10 years of the data indicate an increase due to Global warming”</strong></blockquote><blockquote>The H0means we need to find whether the average Apparent temperature for the month of a month say April starting from 2006 to 2016 and the average humidity for the same period have increased or not. This monthly analysis has to be done for all 12 months over the 10 year period. So you are basically resampling your data from hourly to monthly, then comparing the same month over the 10 year period.</blockquote><p><em>So let’s get started</em></p><blockquote>The first thing we’ll need to do is load in the libraries and dataset we’ll be using.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LM9VYUE95vogbduORag4vg.png" /></figure><blockquote>The first thing to do when you get a new dataset takes a look at some of it. This lets you see that it all read incorrectly and gives an idea of what’s going on with the data. In this case, let’s see if there are any missing values, which will be represented with NaN or None.</blockquote><blockquote>How many missing data points do we have?<br>Ok, now we know that we do have some missing values. Let’s see how many we have in each column.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T3itCFfPyQkagS4MQmDWNg.png" /></figure><blockquote>That seems like a lot! It might be helpful to see what percentage of the values in our dataset were missing to give us a better sense of the scale of this problem:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AjiSDtKoCpraAhIDJXSKXg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OAuzTK3qe5c7cr-TxaegpQ.png" /></figure><blockquote>Focus on Important factors and exclude others. Here we need Apparent Temperature ( C ), Humidity &amp; Formatted Date so we can resample our data.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K1yyPgqztcJYe39CZyxy3A.png" /></figure><blockquote>Now we need to normalize the dataset in order to do our analysis so, we need to convert the Formatted Date column to Date Time. It can be easily done using the Pandas function to_datetime().</blockquote><blockquote>preview of how the data looks after resampling :</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kCFw6ZACkWF8dzmx1LHspA.png" /></figure><blockquote><strong>“M” </strong>Month starting We are averaging the apparent temperature and humidity using the mean() function.</blockquote><p>Let’s plot the graph for our data using Matplotlib function plot().</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KNuquKJOi5bpBlFyprs4ZQ.png" /></figure><blockquote>The plot will be displaying variation in Apparent Temperature and Humidity with Time.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jihbLvdXgWw1ojwhJiph9w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fNVxZGKdic-dhqoP2-CM2Q.png" /></figure><blockquote>This method is used to plot data and a linear regression model fit. There are a number of mutually exclusive options for estimating the regression model.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UDvQjgl9J1V_GGqcjalHNA.png" /></figure><blockquote>Now Lets plot another graph to get a better inference. Temperature with humidity of the month of may over 10 yrs.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HBE8HYcsp4przK_wIkU7sQ.png" /></figure><blockquote>It is quite evident that there is a sharp rise in temp past 2010 whereas there is a fall over 2014. But let’s look at some more graphical visualization so get a better belief.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*91ux1Nw1oFvPR3UhCaiIFg.png" /></figure><h3><strong>Conclusion</strong></h3><p>Global warming is deteriorating the climate and is affecting various parameters of the environment. Hence from this analysis, we infer that there is either a sharp rise in temperatures or sharp falls over the 10 yrs. Hence we can conclude that Global Warming has caused a major difference and unreliability in temperature predictability also taking humidity into consideration we can say that it has almost remained the same throughout the past years.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=72d55483c8ee" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/performing-analysis-of-meteorological-data-72d55483c8ee">Performing Analysis of Meteorological Data</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Linear Algebra]]></title>
            <link>https://surajbhute.medium.com/linear-algebra-78bb8971a9?source=rss-a034adbb864------2</link>
            <guid isPermaLink="false">https://medium.com/p/78bb8971a9</guid>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[linear-algebra]]></category>
            <category><![CDATA[datascience-certification]]></category>
            <dc:creator><![CDATA[Suraj Bhute]]></dc:creator>
            <pubDate>Sun, 27 Dec 2020 16:58:54 GMT</pubDate>
            <atom:updated>2020-12-27T16:58:54.324Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is Linear Algebra?</h3><p>Linear algebra is a field of mathematics that is universally agreed to be a prerequisite to a deeper understanding of machine learning.</p><p>Although linear algebra is a large field with many esoteric theories and findings, the nuts and bolts tools, and notations taken from the field are practical for machine learning practitioners. With a solid foundation of what linear algebra is, it is possible to focus on just the good or relevant parts.</p><p>In this tutorial, you will discover what exactly linear algebra is from a machine learning perspective.</p><p>After completing this tutorial, you will know:</p><ul><li>Linear algebra is the mathematics of data.</li><li>Linear algebra has had a marked impact on the field of statistics.</li><li>Linear algebra underlies many practical mathematical tools, such as the Fourier series and computer graphics.</li></ul><h3>Tutorial Overview</h3><p>This tutorial is divided into 4 parts; they are:</p><ol><li>Linear Algebra</li><li>Numerical Linear Algebra</li><li>Linear Algebra and Statistics</li><li>Applications of Linear Algebra</li></ol><h3>Linear Algebra</h3><p>Linear algebra is a branch of mathematics, but the truth of it is that linear algebra is the mathematics of data. Matrices and vectors are the languages of data.</p><p>Linear algebra is about linear combinations. That is, using arithmetic on columns of numbers called vectors and arrays of numbers called matrices, to create new columns and arrays of numbers. Linear algebra is the study of lines and planes, vector spaces and mappings that are required for linear transforms.</p><p>It is a relatively young field of study, having initially been formalized in the 1800s in order to find unknowns in systems of linear equations. A linear equation is just a series of terms and mathematical operations where some terms are unknown; for example:</p><blockquote>1</blockquote><blockquote>y = 4 * x + 1</blockquote><p>Equations like this are linear in that they describe a line on a two-dimensional graph. The line comes from plugging in different values into the unknown x to find out what the equation or model does to the value of y.</p><p>We can line up a system of equations with the same form with two or more unknowns; for example:</p><blockquote>1</blockquote><blockquote>2</blockquote><blockquote>3</blockquote><blockquote>4</blockquote><blockquote>y = 0.1 * x1 + 0.4 * x2</blockquote><blockquote>y = 0.3 * x1 + 0.9 * x2</blockquote><blockquote>y = 0.2 * x1 + 0.3 * x2</blockquote><blockquote>…</blockquote><p>The column of y values can be taken as a column vector of outputs from the equation. The two columns of floating-point values are the data columns, say a1 and a2, and can be taken as a matrix A. The two unknown values x1 and x2 can be taken as the coefficients of the equation and together form a vector of unknowns b to be solved. We can write this compactly using linear algebra notation as:</p><p>1</p><p>y = A . b</p><p>Problems of this form are generally challenging to solve because there are more unknowns (here we have 2) than there are equations to solve (here we have 3). Further, there is often no single line that can satisfy all of the equations without error. Systems describing problems we are often interested in (such as a linear regression) can have an infinite number of solutions.</p><p>This gives a small taste of the very core of linear algebra that interests us as machine learning practitioners. Much of the rest of the operations are about making this problem and problems like it easier to understand and solve.</p><h3>Numerical Linear Algebra</h3><p>The application of linear algebra in computers is often called numerical linear algebra.</p><blockquote><em>“numerical” linear algebra is really applied linear algebra.</em></blockquote><p>— Page ix, <a href="http://amzn.to/2kjEF4S">Numerical Linear Algebra</a>, 1997.</p><p>It is more than just the implementation of linear algebra operations in code libraries; it also includes the careful handling of the problems of applied mathematics, such as working with the limited floating point precision of digital computers.</p><p>Computers are good at performing linear algebra calculations, and much of the dependence on Graphical Processing Units (GPUs) by modern machine learning methods such as deep learning is because of their ability to compute linear algebra operations fast.</p><p>Efficient implementations of vector and matrix operations were originally implemented in the FORTRAN programming language in the 1970s and 1980s and a lot of code, or code ported from those implementations, underlies much of the linear algebra performed using modern programming languages, such as Python.</p><p>Three popular open source numerical linear algebra libraries that implement these functions are:</p><ul><li>Linear Algebra Package, or LAPACK.</li><li>Basic Linear Algebra Subprograms, or BLAS (a standard for linear algebra libraries).</li><li>Automatically Tuned Linear Algebra Software, or ATLAS.</li></ul><p>Often, when you are calculating linear algebra operations directly or indirectly via higher-order algorithms, your code is very likely dipping down to use one of these, or similar linear algebra libraries. The name of one of more of these underlying libraries may be familiar to you if you have installed or compiled any of Python’s numerical libraries such as SciPy and NumPy.</p><h3>Linear Algebra and Statistics</h3><p>Linear algebra is a valuable tool in other branches of mathematics, especially statistics.</p><blockquote><em>Usually students studying statistics are expected to have seen at least one semester of linear algebra (or applied algebra) at the undergraduate level.</em></blockquote><p>— Page xv, <a href="http://amzn.to/2A9ceNv">Linear Algebra and Matrix Analysis for Statistics</a>, 2014.</p><p>The impact of linear algebra is important to consider, given the foundational relationship both fields have with the field of applied machine learning.</p><p>Some clear fingerprints of linear algebra on statistics and statistical methods include:</p><ul><li>Use of vector and matrix notation, especially with multivariate statistics.</li><li>Solutions to least squares and weighted least squares, such as for linear regression.</li><li>Estimates of mean and variance of data matrices.</li><li>The covariance matrix that plays a key role in multinomial Gaussian distributions.</li><li>Principal component analysis for data reduction that draws many of these elements together.</li></ul><p>As you can see, modern statistics and data analysis, at least as far as the interests of a machine learning practitioner are concerned, depend on the understanding and tools of linear algebra.</p><h3>Applications of Linear Algebra</h3><p>As linear algebra is the mathematics of data, the tools of linear algebra are used in many domains.</p><p>In his classical book on the topic titled “<a href="http://amzn.to/2j2J0g4">Introduction to Linear Algebra</a>“, Gilbert Strang provides a chapter dedicated to the applications of linear algebra. In it, he demonstrates specific mathematical tools rooted in linear algebra. Briefly they are:</p><ul><li>Matrices in Engineering, such as a line of springs.</li><li>Graphs and Networks, such as analyzing networks.</li><li>Markov Matrices, Population, and Economics, such as population growth.</li><li>Linear Programming, the simplex optimization method.</li><li>Fourier Series: Linear Algebra for functions, used widely in signal processing.</li><li>Linear Algebra for statistics and probability, such as least squares for regression.</li><li>Computer Graphics, such as the various translation, rescaling and rotation of images.</li></ul><p>Another interesting application of linear algebra is that it is the type of mathematics used by Albert Einstein in parts of his theory of relativity. Specifically tensors and tensor calculus. He also introduced a new type of linear algebra notation to physics called Einstein notation, or the Einstein summation convention.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=78bb8971a9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Structured Query Language]]></title>
            <link>https://surajbhute.medium.com/structured-query-language-4aefb7689604?source=rss-a034adbb864------2</link>
            <guid isPermaLink="false">https://medium.com/p/4aefb7689604</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[database]]></category>
            <category><![CDATA[structured-query-language]]></category>
            <dc:creator><![CDATA[Suraj Bhute]]></dc:creator>
            <pubDate>Mon, 14 Dec 2020 16:10:04 GMT</pubDate>
            <atom:updated>2020-12-14T16:10:04.008Z</atom:updated>
            <content:encoded><![CDATA[<h3>Finding Data Queries</h3><h4>SELECT: used to select data from a database</h4><blockquote>SELECT * FROM table_name;</blockquote><h4>DISTINCT: filters away duplicate values and returns rows of the specified column</h4><blockquote>SELECT DISTINCT column_name;</blockquote><h4>WHERE: used to filter records/rows</h4><blockquote>SELECT column1, column2 FROM table_name WHERE condition;</blockquote><blockquote>SELECT * FROM table_name WHERE condition1 AND condition2;</blockquote><blockquote>SELECT * FROM table_name WHERE condition1 OR condition2;</blockquote><blockquote>SELECT * FROM table_name WHERE NOT condition;</blockquote><blockquote>SELECT * FROM table_name WHERE condition1 AND (condition2 OR condition3);</blockquote><blockquote>SELECT * FROM table_name WHERE EXISTS (SELECT column_name FROM table_name WHERE condition);</blockquote><h4>ORDER BY: used to sort the result-set in ascending or descending order</h4><blockquote>SELECT * FROM table_name ORDER BY column;</blockquote><blockquote>SELECT * FROM table_name ORDER BY column DESC;</blockquote><blockquote>SELECT * FROM table_name ORDER BY column1 ASC, column2 DESC;</blockquote><h4>SELECT TOP: used to specify the number of records to return from the top of the table</h4><blockquote>SELECT TOP number columns_names FROM table_name WHERE condition;</blockquote><blockquote>SELECT TOP percent columns_names FROM table_name WHERE condition;</blockquote><blockquote>Not all database systems support SELECT TOP. The MySQL equivalent is the LIMIT clause</blockquote><blockquote>SELECT column_names FROM table_name LIMIT offset, count;</blockquote><h4>LIKE: operator used in a WHERE clause to search for a specific pattern in a column</h4><blockquote>% (percent sign) is a wildcard character that represents zero, one, or multiple characters</blockquote><blockquote>_ (underscore) is a wildcard character that represents a single character</blockquote><blockquote>SELECT column_names FROM table_name WHERE column_name LIKE pattern;</blockquote><blockquote>LIKE ‘a%’ (find any values that start with “a”)</blockquote><blockquote>LIKE ‘%a’ (find any values that end with “a”)</blockquote><blockquote>LIKE ‘%or%’ (find any values that have “or” in any position)</blockquote><blockquote>LIKE ‘_r%’ (find any values that have “r” in the second position)</blockquote><blockquote>LIKE ‘a_%_%’ (find any values that start with “a” and are at least 3 characters in length)</blockquote><blockquote>LIKE ‘[a-c]%’ (find any values starting with “a”, “b”, or “c”</blockquote><h4>IN: operator that allows you to specify multiple values in a WHERE clause</h4><blockquote>essentially the IN operator is shorthand for multiple OR conditions</blockquote><blockquote>SELECT column_names FROM table_name WHERE column_name IN (value1, value2, …);</blockquote><blockquote>SELECT column_names FROM table_name WHERE column_name IN (SELECT STATEMENT);</blockquote><h4>BETWEEN: operator selects values within a given range inclusive</h4><blockquote>SELECT column_names FROM table_name WHERE column_name BETWEEN value1 AND value2;</blockquote><blockquote>SELECT * FROM Products WHERE (column_name BETWEEN value1 AND value2) AND NOT column_name2 IN (value3, value4);</blockquote><blockquote>SELECT * FROM Products WHERE column_name BETWEEN #01/07/1999# AND #03/12/1999#;</blockquote><h4>NULL: values in a field with no value</h4><blockquote>SELECT * FROM table_name WHERE column_name IS NULL;</blockquote><blockquote>SELECT * FROM table_name WHERE column_name IS NOT NULL;</blockquote><h4>AS: aliases are used to assign a temporary name to a table or column</h4><blockquote>SELECT column_name AS alias_name FROM table_name;</blockquote><blockquote>SELECT column_name FROM table_name AS alias_name;</blockquote><blockquote>SELECT column_name AS alias_name1, column_name2 AS alias_name2;</blockquote><blockquote>SELECT column_name1, column_name2 + ‘, ‘ + column_name3 AS alias_name;</blockquote><h4>UNION: set operator used to combine the result-set of two or more SELECT statements</h4><blockquote>Each SELECT statement within UNION must have the same number of columns</blockquote><blockquote>The columns must have similar data types</blockquote><blockquote>The columns in each SELECT statement must also be in the same order</blockquote><blockquote>SELECT columns_names FROM table1 UNION SELECT column_name FROM table2;</blockquote><blockquote>UNION the operator only selects distinct values, UNION ALL will allow duplicates</blockquote><h4>INTERSECT: set operator which is used to return the records that two SELECT statements have in common</h4><blockquote>Generally used the same way as UNION above</blockquote><blockquote>SELECT columns_names FROM table1 INTERSECT SELECT column_name FROM table2;</blockquote><h4>EXCEPT: set operator used to return all the records in the first SELECT statement that are not found in the second SELECT statement</h4><blockquote>Generally used the same way as UNION above</blockquote><blockquote>SELECT columns_names FROM table1 EXCEPT SELECT column_name FROM table2;</blockquote><h4>ANY|ALL: operator used to check subquery conditions used within a WHERE or HAVING clauses</h4><blockquote>The ANY the operator returns true if any subquery values meet the condition</blockquote><blockquote>The ALL the operator returns true if all subquery values meet the condition</blockquote><blockquote>SELECT columns_names FROM table1 WHERE column_name operator (ANY|ALL) (SELECT column_name FROM table_name WHERE condition);</blockquote><h4>GROUP BY: statement often used with aggregate functions (COUNT, MAX, MIN, SUM, AVG) to group the result-set by one or more columns</h4><blockquote>SELECT column_name1, COUNT(column_name2) FROM table_name WHERE condition GROUP BY column_name1 ORDER BY COUNT(column_name2) DESC;</blockquote><h4>HAVING: this clause was added to SQL because the WHERE keyword could not be used with aggregate functions</h4><blockquote>SELECT COUNT(column_name1), column_name2 FROM table GROUP BY column_name2 HAVING COUNT(column_name1) &gt; 5;</blockquote><h4>WITH: often used for retrieving hierarchical data or re-using temp result set several times in a query. Also referred to as “Common Table Expression”</h4><blockquote>WITH RECURSIVE cte AS (<br> SELECT c0.* FROM categories AS c0 WHERE id = 1 # Starting point<br> UNION ALL<br> SELECT c1.* FROM categories AS c1 JOIN cte ON c1.parent_category_id = cte.id<br>)<br>SELECT *<br>FROM etc</blockquote><h3>Data Modification Queries</h3><h4>INSERT INTO: used to insert new records/rows in a table</h4><blockquote>INSERT INTO table_name (column1, column2) VALUES (value1, value2);</blockquote><blockquote>INSERT INTO table_name VALUES (value1, value2 …);</blockquote><h4>UPDATE: used to modify the existing records in a table</h4><blockquote>UPDATE table_name SET column1 = value1, column2 = value2 WHERE condition;</blockquote><blockquote>UPDATE table_name SET column_name = value;</blockquote><h4>DELETE: used to delete existing records/rows in a table</h4><blockquote>DELETE FROM table_name WHERE condition;</blockquote><blockquote>DELETE * FROM table_name;</blockquote><h3>Reporting Queries</h3><h4>COUNT: returns the # of occurrences</h4><blockquote>SELECT COUNT (DISTINCT column_name);</blockquote><h4>MIN() and MAX(): returns the smallest/largest value of the selected column</h4><blockquote>SELECT MIN (column_names) FROM table_name WHERE condition;</blockquote><blockquote>SELECT MAX (column_names) FROM table_name WHERE condition;</blockquote><h4>AVG(): returns the average value of a numeric column</h4><blockquote>SELECT AVG (column_name) FROM table_name WHERE condition;</blockquote><h4>SUM(): returns the total sum of a numeric column</h4><blockquote>SELECT SUM (column_name) FROM table_name WHERE condition;</blockquote><h3>Join Queries</h3><h4>INNER JOIN: returns records that have a matching value in both tables</h4><blockquote>SELECT column_names FROM table1 INNER JOIN table2 ON table1.column_name=table2.column_name;</blockquote><blockquote>SELECT table1.column_name1, table2.column_name2, table3.column_name3 FROM ((table1 INNER JOIN table2 ON relationship) INNER JOIN table3 ON relationship);</blockquote><h4>LEFT (OUTER) JOIN: returns all records from the left table (table1), and the matched records from the right table (table2)</h4><blockquote>SELECT column_names FROM table1 LEFT JOIN table2 ON table1.column_name=table2.column_name;</blockquote><h4>RIGHT (OUTER) JOIN: returns all records from the right table (table2), and the matched records from the left table (table1)</h4><blockquote>SELECT column_names FROM table1 RIGHT JOIN table2 ON table1.column_name=table2.column_name;</blockquote><h4>FULL (OUTER) JOIN: returns all records when there is a match in either left or right table</h4><blockquote>SELECT column_names FROM table1 FULL OUTER JOIN table2 ON table1.column_name=table2.column_name;</blockquote><h4>Self JOIN a regular join, but the table is joined with itself</h4><blockquote>SELECT column_names FROM table1 T1, table1 T2 WHERE condition;</blockquote><h3>View Queries</h3><h4>CREATE: create a view</h4><blockquote>CREATE VIEW view_name AS SELECT column1, column2 FROM table_name WHERE condition;</blockquote><h4>SELECT: retrieve a view</h4><blockquote>SELECT * FROM view_name;</blockquote><h4>DROP: drop a view</h4><blockquote>DROP VIEW view_name;</blockquote><h3>Altering Table Queries</h3><h4>ADD: add a column</h4><blockquote>ALTER TABLE table_name ADD column_name column_definition;</blockquote><h4>MODIFY: change the data type of the column</h4><blockquote>ALTER TABLE table_name MODIFY column_name column_type;</blockquote><h4>DROP: delete a column</h4><blockquote>ALTER TABLE table_name DROP COLUMN column_name;</blockquote><h4>Creating Table Query</h4><blockquote>CREATE: create a table</blockquote><blockquote>CREATE TABLE table_name (<br>column1 datatype,<br>column2 datatype,<br>column3 datatype,<br>column4 datatype,<br>);</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4aefb7689604" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Storytelling-Basic Data Visualization in Excel]]></title>
            <link>https://surajbhute.medium.com/data-storytelling-basic-data-visualization-in-excel-d9c971f24541?source=rss-a034adbb864------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9c971f24541</guid>
            <dc:creator><![CDATA[Suraj Bhute]]></dc:creator>
            <pubDate>Mon, 23 Nov 2020 15:49:01 GMT</pubDate>
            <atom:updated>2020-11-23T15:49:01.022Z</atom:updated>
            <content:encoded><![CDATA[<p>Learning Objectives:</p><ul><li>Learn to create well-designed graphs in Excel</li><li>Learn how to format graphs beyond the default settings in Excel</li><li>Learn how to create graph-worthy data</li><li>Use V lookups and Pivot Tables to summarize data prior to graphing</li><li>Design graphs in Excel similar to the ones in today’s most respected publications</li></ul><p>Data storytelling comes from the Data visualization field. Data visualization is the art of telling numbers in a clear and pedagogical way, where Excel cannot. It allows you to communicate complex figures and information by transforming them into visual objects: graphs, diagrams, curves, maps, rankings, etc.</p><p>Data Storytelling is a relatively new concept. The idea is to be able to go further in data visualization by understanding the data, to make it accessible to users not familiar with data. The data will tell a story based on the needs of the business. We then <a href="https://toucantoco.com/blog/en/data-storytelling-dataviz/">go beyond the simple fact of presenting series of figures in a table.</a></p><p>A)Learn to create well-designed graphs in excel</p><p>To ensure you’re making your data as convincing as possible, you should always customize your graphs in Excel. And by customization, we’re not talking about big sweeping changes. Below are some quick tips for <a href="https://blog.hubspot.com/marketing/how-to-use-excel-tips?hubs_signup-url=blog.hubspot.com/marketing/excel-graph-tricks-list&amp;hubs_signup-cta=null">how to use Excel</a> to make your graphs convincing, easy-to-read, and beautiful.</p><h3><strong>1) Pick the right graph</strong>.</h3><p>Before you start tweaking design elements, you need to know that your data is displayed in the optimal format. Bar, pie, and line charts all tell different stories about your data — you need to choose the best one to tell the story you want. Bar graphs and pie graphs help you compare categories. Pie graphs usually compare parts of a whole, while bar graphs can compare pretty much anything … which means it’s often best to just use a bar graph. Bar graphs are easier to read and highlight incremental differences between categories, so they’re a good go-to. Pie graphs are best used when one of the categories is way larger than the other.</p><p>Want to see the difference? Here’s an example of the same data set displayed as a pie graph and a bar graph:</p><p>Line charts, which look kind of like a horizontal version of bar charts, help you display a changing trend over time. You can track multiple values over that time, but the key to a line chart is the time component.</p><p>To turn your data into one of these charts in Excel, highlight the data you want to morph into a chart, then choose “Charts” in the top navigation (or select “Insert” &gt; “Charts” if you have a different version). Then choose the chart most appropriate for your data.</p><h3>2) Sort bar graph data so it’s intuitive.</h3><p>If you’re using a bar graph to display your data, this tip can make a big difference. Most bar graphs look like this</p><p>They’re kind of random. You spend just a fraction of a second too long figuring out which ones are outliers. Instead, you should reorder your data points to go from largest to smallest. Here’s what that looks like:</p><p>If your bar graph is horizontal, larger values should be at the top. If your bar graph is vertical, order them from left to right. Why? That’s how people read English. (If you’re presenting this data in another language where that isn’t true, change up your order to better reflect reading patterns.)</p><p>To order the graphs in Excel, you’ll need to sort the data from largest to smallest. Click ‘Data,’ choose ‘Sort,’ and select how you’d like to sort everything.</p><h3>3) Shorten Y-axis labels.</h3><p>Long Y-axis labels, like large number values, take up a lot of space and can look a little messy, like the chart below: in the</p><p>To shorten them, right-click one of the labels on the Y-axis and choose “Format Axis” from the menu that appears. Choose “Number” from the lefthand side, then “Custom” from the Category list. (De-select “Linked to Source” if it’s selected, otherwise you won’t be able to click “Custom.”)</p><p>Enter the custom format code \$0, \m (as shown below) and click “OK” to close.</p><p>The resulting graph will look much cleaner:</p><h3>4) Remove background lines.</h3><p>Graphs allow you to roughly compare data within a set, not dig into it. No one’s looking at your graph to see incremental differences between data points — they want to see general, overarching trends.</p><p>To help people focus on those trends, remove the lines in the background of your graph or chart. These lines are superfluous, unhelpful, and distracting — cut them from your graph to help people focus on the big takeaways.</p><p>To remove background lines, choose “Chart Layout” &gt; “Gridlines,” then choose “No Gridlines” under “Horizontal” and “Vertical” options.</p><h3>5) Remove default line margins.</h3><p>Unless you remove them from your line charts, Excel will automatically add margins before the first data point and after the last data point, as you can see on the left in the image below. But, as you can see on the right, line charts often look better without these margins:</p><p>To remove these margins, double-click on the date axis, and the “Format Axis” window will pop up. Under “Axis Options,” change “Position Axis” to “On Tick Marks.”</p><h3>6) Remove unnecessary styling.</h3><p>Most standard Excel graphs come pre-styled — but these styles will often get in the way of communicating information. Shadows? Outlines? Rotations? Get rid of them all. They don’t add to the data’s story.</p><p>To fix the styling in Excel, right-click on the graph and choose “Format Chart Area.” Remove all extra and unnecessary effects on your data:</p><h3>7) Stay away from 3D effects.</h3><p>This falls under the previous bullet point, but I wanted to include it as its own point because it’s one of the most overused data visualization effects.</p><p>To make data look <em>extra</em> fancy, people will often make the bar, line, and pie graphs 3D — but it actually just makes the data harder to read. Because of the way the data is tilted, it gives the reader a skewed sense of what the data actually means. Since you’re using data to tell a broad story, you don’t want to weaken your argument due to poor design. See how different a pie chart looks when it’s in 2D versus 3D</p><p>And if you actually look at the area each section takes up on the screen, you’ll see why it’s easy to misinterpret 3D graphs:</p><p>To remove the 3D styling from your graphs, double-click on the bars, lines, or pie sections you’d like to change, choose “3D Format” and set “Top’” and “Bottom” to “None.”</p><h3>8) Delete the legend if it’s not necessary.</h3><p>Legends tell you the information you can read easily on the graph. If you have a ton of X-axis categories or multiple data points per category, then using legends makes sense. But if you’re only comparing a few data points, they can be pretty useless. So if that’s the case, just delete the legend altogether.</p><p>To delete a legend in Excel, you can just double-click on the legend text box, then hit “Delete” on your keyboard:</p><h3>9) Include branded colors.</h3><p>The colors that come preset in Excel are pretty drab. One quick way to spruce them up is to make them your brand’s colors. It’s a little detail that’ll make your charts look slick and clean.</p><p>To ensure you’re always using the proper brand colors, you’ll need to grab the <a href="https://blog.hubspot.com/marketing/non-designers-web-design-glossary?hubs_signup-url=blog.hubspot.com/marketing/excel-graph-tricks-list&amp;hubs_signup-cta=null">HEX color code</a> of your brand’s colors. Then, plop that code into <a href="http://www.yellowpipe.com/yis/tools/hex-to-rgb/color-converter.php">this HEX → RBG color converter</a>. In Excel, double-click on the parts of your graph you’d like to change the color of. Under “File,” choose “Color” &gt; “More Colors.”</p><p>In the popup window, select the second icon from the left with the sliders. See that little dropdown? Choose “RGB Sliders,” then input the RGB numbers you found in the beginning. Voila! Perfectly on-brand colors and a gorgeous graph.</p><h3>10) Add a shaded area to a line chart.</h3><p>Ever seen a line chart with a shaded area below the line? They can make your line chart stand out.</p><p>To add in that shaded area, you have to trick Excel by adding another data series. To do it, go back to the table in Excel you used to create the line chart, and highlight the data points that make up the Y-axis (in this case, the dollar amount). Then, copy it and paste it to the row below so there are two identical data series.</p><p>Next, highlight the data values only of the two identical data series — not including the labels. Below, this area is highlighted in blue.</p><p>A line of a different color (in this case, red) will appear on top of our original line on the chart. Click the line to select it, then right-click and choose “Change Series Chart Type” from the drop-down menu.</p><p>In the menu that appears, choose the first type under the “Area” category.</p><p>Your new line chart will look something like this</p><p>Next, double-click the shaded area on the chart (in this case, the red area), and a “Format Data Series” menu will appear. Click on “Fill” from the lefthand side, and choose “Solid Fill.” Under “Fill Color,” choose the same color as the line in the chart. You can change the transparency to whatever you’d like — transparency of 66% looks good.</p><p>Then, under “Border Color,” choose “Solid Fill.” Under “Fill Color,” choose the same color as the line in the chart. Change your transparency to the same transparency as the border color’s transparency.</p><h3>How to use Excel’s VLOOKUP function</h3><p>Many of our learners have told us they want to learn how to use Excel’s VLOOKUP function. VLOOKUP is an extremely useful tool, and learning how to use it is easier than you think!</p><p>Before you start, you should understand the basics of functions. Check out our Functions lesson from our Excel Formulas tutorial (or select a specific version of Excel). VLOOKUP works the same in all versions of Excel, and it even works in other spreadsheet applications like Google Sheets. You can <a href="https://media.gcflearnfree.org/content/55e0927524929be027950a91_02_16_2015/vlookup_practice.xls">download the example</a> if you’d like to work along with this article.</p><h3>What exactly is VLOOKUP?</h3><p>Basically, VLOOKUP lets you search for specific information in your spreadsheet. For example, if you have a list of products with prices, you could search for the price of a specific item.</p><p>We’re going to use VLOOKUP to find the price of the Photo frame. You can probably already see that the price is $9.99, but that’s because this is a simple example. Once you learn how to use VLOOKUP, you’ll be able to use it with larger, more complex spreadsheets, and that’s when it will become truly useful.</p><p>We’ll add our formula to cell F2, but you can add it to any blank cell. As with any formula, you’ll start with an equals sign (=). Then type the formula name. Our arguments will need to be in parentheses, so type an open parenthesis. So far, it should look like this:</p><p>=VLOOKUP(</p><h3>Adding the arguments</h3><p>Now, we’ll add our arguments. The arguments will tell VLOOKUP what to search for and where to search.</p><p>The first argument is the name of the item you’re searching for, which in this case is a Photo frame. Because the argument is text, we’ll need to put it in double-quotes:</p><p>=VLOOKUP (“Photo frame”</p><p>The second argument is the cell range that contains the data. In this example, our data is in A2:B16. As with any function, you’ll need to use a comma to separate each argument:</p><p>=VLOOKUP (“Photo frame”, A2:B16</p><p>It’s important to know that VLOOKUP will always search the first column in this range. In this example, it will search column A for “Photo frame”. The value that it returns (in this case, the price) will always need to be to the right of that column.</p><p>The third argument is the column index number. It’s simpler than it sounds: The first column in the range is 1, the second column is 2, etc. In this case, we are trying to find the price of the item, and the prices are contained in the second column. This means our third argument will be 2:</p><p>=VLOOKUP (“Photo frame”, A2:B16, 2</p><p>The fourth argument tells VLOOKUP whether to look for approximate matches, and it can be either TRUE or FALSE. If it is TRUE, it will look for approximate matches. Generally, this is only useful if the first column has numerical values that have been sorted. Because we’re only looking for exact matches, the fourth argument should be FALSE. This is our last argument, so go ahead and close the parentheses:</p><p>=VLOOKUP(“Photo frame”, A2:B16, 2, FALSE)</p><p>That’s it! When you press Enter, it should give you the answer, which is 9.99.</p><h3>How it works</h3><p>Let’s take a look at how this formula works. It first searches vertically down the first column (VLOOKUP is short for vertical lookup). When it finds “Photo frame”, it moves to the second column to find the price.</p><p>As we mentioned earlier, the price needs to be to the right of the item name. VLOOKUP cannot look to the left of the column that it’s searching.</p><p>If we want to find the price of a different item, we can just change the first argument:</p><p>=VLOOKUP (“T-shirt”, A2:B16, 2, FALSE)</p><p>or:</p><p>=VLOOKUP (“Gift basket”, A2:B16, 2, FALSE</p><p>It would be very tedious to edit your VLOOKUP formula whenever you want to find the price of a different item. In the next example, we’ll show how to avoid this by using a cell reference.</p><p>Pivot Table in Excel</p><p>Pivot tables are one of Excel’s most powerful features. A pivot table allows you to extract the significance from a large, detailed data set.</p><p>Our data set consists of 213 records and 6 fields. Order ID, Product, Category, Amount, Date, and Country.</p><h3>Insert a Pivot Table</h3><p>To insert a pivot table, execute the following steps.</p><p>1. Click any single cell inside the data set.</p><p>2. On the Insert tab, in the Tables group, click PivotTable.The following dialog box appears. Excel automatically selects the data for you. The default location for a new pivot table is New Worksheet.</p><p>3. Click OK.</p><h3>Drag fields</h3><p>The Pivot Table Fields pane appears. To get the total amount exported of each product, drag the following fields to the different areas.</p><p>1. Product field to the Rows area.</p><p>2. Amount field to the Values area.</p><p>3. Country field to the Filters area.</p><p>Below you can find the pivot table. Bananas are our main export product. That’s how easily pivot tables can be!</p><h3>Sort</h3><p>To get Banana at the top of the list, sort the pivot table.</p><p>1. Click any cell inside the Sum of Amount column.</p><p>2. Right-click and click on Sort, Sort Largest to Smallest.</p><h3>Filter</h3><p>Because we added the Country field to the Filters area, we can filter this pivot table by Country. For example, which products do we export the most to France?</p><p>1. Click the filter drop-down and select France.</p><p>Result. Apples are our main export product to France.</p><p>Note: you can use the standard filter (triangle next to Row Labels) to only show the amounts of specific products.</p><h3>Change Summary Calculation</h3><p>By default, Excel summarizes your data by either summing or counting the items. To change the type of calculation that you want to use, execute the following steps.</p><p>1. Click any cell inside the Sum of Amount column.</p><p>2. Right-click and click on Value Field Settings.</p><p>3. Choose the type of calculation you want to use. For example, click Count.</p><p>4. Click OK.</p><h3>Two-dimensional Pivot Table</h3><p>If you drag a field to the Rows area and Columns area, you can create a two-dimensional pivot table. First, <a href="https://www.excel-easy.com/data-analysis/pivot-tables.html#insert-pivot-table">insert a pivot table</a>. Next, to get the total amount exported to each country, of each product, drag the following fields to the different areas.</p><p>1. Country field to the Rows area.</p><p>2. Product field to the Columns area.</p><p>3. Amount field to the Values area.</p><p>4. Category field to the Filters area.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9c971f24541" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Storytelling]]></title>
            <link>https://medium.com/analytics-vidhya/data-storytelling-71c9b2bbcd8b?source=rss-a034adbb864------2</link>
            <guid isPermaLink="false">https://medium.com/p/71c9b2bbcd8b</guid>
            <category><![CDATA[excel]]></category>
            <category><![CDATA[plotting]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[power-bi]]></category>
            <category><![CDATA[data-storytelling]]></category>
            <dc:creator><![CDATA[Suraj Bhute]]></dc:creator>
            <pubDate>Sun, 22 Nov 2020 12:54:14 GMT</pubDate>
            <atom:updated>2020-12-17T16:13:52.299Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><strong>How to Choose the Right Chart or Graph for Your Data</strong></blockquote><blockquote>“The greatest value of a picture is when it forces us to notice what we never expected to see.” — <a href="http://www-history.mcs.st-and.ac.uk/Biographies/Tukey.html">John Tukey</a></blockquote><p>When business analysts and data scientists aren’t busy slicings, dicing, and modeling a huge amount of knowledge, they’re busy trying to effectively communicate their findings to decision-makers. — <a href="https://www.linkedin.com/in/abeeraulakh/"><em>Abeer Aulakh</em></a></p><p>And that last part is the hardest!</p><p>In order to effectively communicate relevant information extracted from data, there has got to be an ideal combination of the proper charts and therefore the right story. This is where most analysts get it wrong. Either there’s an excessive amount of data within the presentation to return to any conclusion, or the findings are misaligned from the business.<br>This two-part series will explore different charts and graphs that analysts can use, and how they can develop storytelling as a skill.</p><p>In this part, we’ll specialize in charts which will be used for analyzing and presenting data. Let’s take a glance at what charts you’ll use to present your findings in an efficient way</p><h3>Column</h3><p>One of the most common types, column charts are used to show a comparison of items over a period of time or even a comparison among different items.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*StmeGAdlM38bhQpUQaTWLw.png" /></figure><blockquote>When creating column charts:<br> • Add color to bars to increase the impact. Overlying colors provide immediate insight and allow the viewer to quickly compare information<br> • Use these charts only when you have data that can be split into different categories</blockquote><h3>Bar</h3><p>A bar chart is simply a horizontal column chart that should be used when the data label is long or you have a lot of items to compare.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*oW8TfWwmp06TQ2VQ10gVzw.png" /></figure><blockquote>When creating bar charts, follow the same tips as mentioned for column charts.</blockquote><h3>Line</h3><p>Line charts, along with bar charts, are one of the most frequently used charts. They help connect individual data points and reveal trends over time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*869lxG-_JqAKTDWVlR4tyQ.png" /></figure><blockquote>When creating line charts:<br> • Use only solid lines</blockquote><h3>Dual Axis</h3><p>A dual-axis chart contains a shared X-axis and two Y-axes. These charts are useful when you want to visualize a correlation between three data sets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*emr73k7A5Gb2u8NCPyuhEQ.png" /><figcaption>Source:<a href="http://www.tableauexpert.co.in/"> Tableau Expert</a></figcaption></figure><blockquote>When creating dual-axis charts:<br> • Primary variable should be on the left side because we are naturally inclined to look to the left<br> • Use contrasting colors for the data sets</blockquote><h3>Pie</h3><p>Pie charts are used to show the numeric proportion of information, which is represented in percentage. The sum of all segments in a pie chart equals 100%.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*_JByknaFWrEVoVX3Hv1MSg.png" /></figure><blockquote>When creating pie charts:<br> • Use them only to show proportions<br> • Make sure that the slice value adds up to 100%<br> • Limit the number of slices to single digits. If you have more proportions, consider using a bar chart instead</blockquote><h3>Map</h3><p>When you have location data, maps are a great way to chart out that data. Maps can be used to show geocoded data like the number of accidents by zip code, sales, and export-import by country, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*_eTcQabbIHbTzoMgrHXWHw.png" /><figcaption>Source: <a href="https://apandre.wordpress.com/home/">Apandre</a></figcaption></figure><blockquote>When creating maps:<br> • Use maps as a filter by combining them with other relevant data and then use it to drill down further into your data<br> • Layer maps with bubble charts to show the concentration of data. This helps measure and interpret the geographical impact of different data points</blockquote><h3>Scatter Plot</h3><p>Scatter plots are a great way to uncover how different pieces of information relate to each other. They can also be used to show distribution trends, and are effective when looking for outliers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*XyfgnQ_0uk7CrBbAbvp6aw.png" /><figcaption>Source: <a href="https://plot.ly/">Plotly</a></figcaption></figure><blockquote>When creating scatter plots:<br> • Add a trend line to make the correlation in your data stronger, but limit the number to two so that the data is easy to understand<br> • Add filters so that you can drill down into your data</blockquote><h3>Area</h3><p>Simply put, an area chart is a line chart with the space between the x-axis and the line filled with a color. They are helpful for analyzing overall and individual trends.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*VajNvtD1S1seKaE7dAb_kA.png" /><figcaption>Source: <a href="https://www.interworks.com/">Interworks</a></figcaption></figure><blockquote>When creating area charts:<br> • Make your charts easy to read by not displaying more than four categories<br> • Use transparent color so that the information isn’t cluttered</blockquote><h3>Bubble</h3><p>Bubble charts are similar to scatter plots but contain a third data series which is represented by the size of the bubbles. If your data set contains three data series, consider using a bubble chart instead of a scatter plot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*aTh9vPJbWdx2VwFLqjNNLw.png" /><figcaption>Source: <a href="http://blog.threestory.com/wordpress/topics/graphs-and-charts">Threestory</a></figcaption></figure><blockquote>When creating bubble charts:<br> • Use circular shapes<br> • Size bubbles according to area</blockquote><h3>Stacked Bar</h3><p>Stacked bar charts are great when you have a number of different items that you want to compare.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*RzQJFDVs-UJGB-9db2l0kg.png" /><figcaption>Source: <a href="http://www.vizwiz.com/">VizWiz</a></figcaption></figure><blockquote>When creating stacked bar charts:<br> • Use contrasting colors for clarity</blockquote><h3>Heat Map</h3><p>When you want to compare data across two categories, a heat map is an excellent choice. It lets you compare data using color and lets you see the strongest and weakest categories in your data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*wNvwSJXk7CjaEcZCDXcXpQ.png" /><figcaption>Source: <a href="http://stackoverflow.com/">Stackoverflow</a></figcaption></figure><blockquote>When creating heat maps:<br> • Vary the size of squares to show the third element, like the size of bubbles in a bubble chart<br> • Use a single color and saturate/desaturate to show changes</blockquote><h3>Bullet</h3><p>Bullet charts are great when you have to track progress towards a goal and compare a primary measure to another one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*-SPwKq9GI8ReAUm9DMorNw.png" /><figcaption>Source: <a href="https://www.interworks.com/">Interworks</a></figcaption></figure><blockquote>When creating bullet charts:<br> • Highlight the progress of your data by using contrasting colors<br> • Combine bullets with other charts in your dashboard to show progress</blockquote><h3>Histogram</h3><p>Histogram charts are used when you have to see how your data is distributed across groups. By grouping your data and plotting it on vertical stacked bar charts, you can see the distribution according to different categories.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*E3grKR_3Mr7iGnpVypi71w.png" /><figcaption>Source: <a href="http://breaking-bi.blogspot.com/">BreakingBI</a></figcaption></figure><blockquote>When creating histogram charts:<br> • To make sense of different groupings, create a variety of histograms to determine the most useful groupings<br> • let users drill down into different categories and explore the data with a filter</blockquote><h3>Classifying charts to facilitate better chart selection</h3><p>The choice of charts is a function of the questions you’re attempting to answer, the data type, number of variables involved, variable type, the real-estate available, and several other reasons. However, if you intend to show relationships, distribution, comparison or composition here’s a simplified representation of chart types mapped to various conditions.</p><h3>Charts to show Relationships</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*XlZQ4-6RT-qbrNwo9laaDQ.png" /><figcaption>Source <a href="https://www.kdnuggets.com/">kdnuggets</a></figcaption></figure><h3>Charts to show Distribution</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*vcanf4sYP3WQiw-UHMH1fQ.png" /><figcaption>Source <a href="https://www.kdnuggets.com/">kdnuggets</a></figcaption></figure><h3>Charts for data comparison</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*gljT78jHuQC5za8tVVpSVQ.png" /><figcaption>Source <a href="https://www.kdnuggets.com/">kdnuggets</a></figcaption></figure><h3>Charts to represent a composition</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*Qd6Yhd0my-vCu2Ukqm4eWQ.png" /><figcaption>Source <a href="https://www.kdnuggets.com/">kdnuggets</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=71c9b2bbcd8b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/data-storytelling-71c9b2bbcd8b">Data Storytelling</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Computer Science For Business Professionals]]></title>
            <link>https://surajbhute.medium.com/computer-science-for-business-professionals-277b539afea0?source=rss-a034adbb864------2</link>
            <guid isPermaLink="false">https://medium.com/p/277b539afea0</guid>
            <category><![CDATA[bussiness-website]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[bussiness]]></category>
            <dc:creator><![CDATA[Suraj Bhute]]></dc:creator>
            <pubDate>Sun, 15 Nov 2020 17:58:54 GMT</pubDate>
            <atom:updated>2020-11-15T17:58:54.924Z</atom:updated>
            <content:encoded><![CDATA[<p>Computer Science is the professional discipline concerned with the study of everything to do with computers and our relationship with them. Computer scientists are critical to the efficient running of modern societies, dealing with health, security, banking and finance, transportation, and now increasingly our interaction through social networks. The computer science subjects will build upon your problem solving, logical and mathematical skills and challenge you to develop a deep understanding of the science of computers.</p><p>The business subjects will build on your knowledge of businesses and your understanding of the role of business in society. Computer Science and the networked environment are core issues at the forefront of development in many fields of business, and the combination of computer science and business management is designed to produce graduates who not only understand the latest computer science applications but also have general business management skills, including marketing, organizational behavior, human resources, and finance. The government and industry have identified a need for more graduates with Computer Science and Business skills.</p><h3>Programming Languages</h3><h4>What is mean by Programming Language?</h4><p>A programming language is a type of written language that tells computers what to do in order to work. Programming languages are used to make all computer programs and computer software.</p><p>Usually, the programming language uses real words for some of the commands, so that the language is easier for a human to read. A programmer writes source code text in the programming language to create programs. Usually, the programming language uses real words for some of the commands, so that the language is easier for a human to read. Many programming languages use punctuation just like a normal language. Many programs now are “compiled”. This means that the computer translates the source code into another language (such as assembly language), which is much faster and easier for the computer to read, but much harder for a person to read.</p><p>Computer programs must be written very carefully. If the programmer makes mistakes, or the program tries to do something the programmer did not design it to do, the program might then “crash” or stop working. When a program has a problem because of how the code was written, this is called a “bug”. A very small mistake can cause a very big problem.</p><h3>Internet Technologies</h3><p>The Internet is an increasingly important part of everyday life for people around the world. But if you’ve never used the Internet before, all of this new information might feel a bit confusing at first.</p><p>Throughout this tutorial, we’ll try to answer some basic questions you may have about the Internet and how it’s used. When you’re done, you’ll have a good understanding of how the Internet works, how to connect to the Internet, and how to browse the Web.</p><h3>What is the Internet?</h3><p>The Internet is a global network of billions of computers and other electronic devices. With the Internet, it’s possible to access almost any information, communicate with anyone else in the world, and do much more.</p><p>You can do all of this by connecting a computer to the Internet, which is also called going online. When someone says a computer is online, it’s just another way of saying it’s connected to the Internet.</p><h3>What is the Web?</h3><p>The World Wide Web usually called the Web for short is a collection of different websites you can access through the Internet. A website is made up of related text images, and other resources. Websites can resemble other forms of media like newspaper articles or television programs or they can be interactive in a way that’s unique to computers.</p><p>The purpose of a website can be almost anything: a news platform, an advertisement, an online library, a forum for sharing images, or an educational site like us! Once you are connected to the Internet, you can access and view websites using a type of application called a web browser. Just keep in mind that the web browser itself is not the Internet; it only displays websites that are stored on the Internet.</p><h3>How does the Internet work?</h3><p>At this point you may be wondering, how does the Internet work? The exact answer is pretty complicated and would take a while to explain. Instead, let’s look at some of the most important things you should know.</p><p>It’s important to realize that the Internet is a global network of physical cables, which can include copper telephone wires, TV cables, and fiber optic cables. Even wireless connections like Wi-Fi and 3G/4G rely on these physical cables to access the Internet.</p><p>When you visit a website, your computer sends a request over these wires to a server. A server is where websites are stored, and it works a lot like your computer’s hard drive. Once the request arrives, the server retrieves the website and sends the correct data back to your computer. What’s amazing is that this all happens in just a few seconds!</p><h3>Internet Technology</h3><p>Computer Internet technology refers to devices, software, hardware, and transmission protocols used to connect computers together in order to receive or send data from one computer to another within a small network or as part of a small network within a larger network, such as the Internet. Included are local-area networks (LANs), wide-area networks (WANs), bridging, switching, routing, voice and data integration, wireless integration, dial-up technology, cable access technology, network security, and network management.</p><h3><strong>Web Development</strong></h3><p>Web development refers in general to the tasks associated with developing websites for hosting via intranet or internet. The web development process includes web design, web content development, client-side/server-side scripting, and network security configuration, among other tasks.</p><p>In a broader sense, web development encompasses all the actions, updates, and operations required to build, maintain, and manage a website to ensure its performance, user experience, and speed are optimal. Web development is the coding or programming that enables website functionality, per the owner’s requirements. It mainly deals with the non-design aspect of building websites, which includes coding and writing markup.</p><p>Web development ranges from creating plain text pages to complex web-based applications, social network applications, and electronic business applications.</p><h3><strong>Technology Stacks</strong></h3><p>A technology stack is a set of tools for implementing some intended IT ideas. As a rule, a tech stack consists of programming languages, frameworks, libraries, various development tools, and programming approaches themselves. The synthesis of all of the above determines the viability and competitiveness of the application, its functionality, scalability, and further maintenance.</p><p>That stack can be formally divided into 2 parts, i.e. the client-side and the server-side. The client-side or front-end provides interaction between the user and the server-side, that is, back-end. Front-end technologies are responsible for everything the user sees on the screen. Front-end development provides configuration, optimization, and operation of all interface elements. The Back-end is the server part of the application with which the user does not contact directly. Back-end stores and manages data, and is also responsible for the correct operation of the client-side.</p><p><strong>Front-end technologies include:</strong></p><blockquote>HTML/HTML5;</blockquote><blockquote>CSS;</blockquote><blockquote>JavaScript;</blockquote><blockquote>UI-frameworks and libraries: ReactJS, AngularJS, React, Node.js, jQuery and others.</blockquote><p><strong>Back-end technologies include:</strong></p><blockquote>Operating system;</blockquote><blockquote>Web server: Nginx, Apache;</blockquote><blockquote>Programming languages: C#, Java, PHP, Python, Objective-C and others;</blockquote><blockquote>Various frameworks build over programming languages: Node.js, .NET, Django, and others;</blockquote><blockquote>Databases: Microsoft SQL Server, MySQL, PostgreSQL, Oracle, Neo4j, and others;</blockquote><blockquote>Cloud infrastructures and services: AWS, Microsoft Azure, Google Cloud, Heroku, and others.</blockquote><h3>Cloud Computing</h3><p>Cloud computing is the delivery of on-demand computing services — from applications to storage and processing power — typically over the internet and on a pay-as-you-go basis.</p><p><strong>How does cloud computing work?</strong></p><p>Rather than owning their own computing infrastructure or data centers, companies can rent access to anything from applications to storage from a cloud service provider.</p><p>One benefit of using cloud computing services is that firms can avoid the upfront cost and complexity of owning and maintaining their own IT infrastructure, and instead simply pay for what they use, when they use it.</p><p>In turn, providers of cloud computing services can benefit from significant economies of scale by delivering the same services to a wide range of customers.</p><p><strong>What cloud computing services are available?</strong></p><p>Cloud computing services cover a vast range of options now, from the basics of storage, networking, and processing power through to natural language processing and artificial intelligence as well as standard office applications. Pretty much any service that doesn’t require you to be physically close to the computer hardware that you are using can now be delivered via the cloud.</p><p><strong>Computer Science and Business is a powerful combination in today’s world, where no business can compete without digitalization</strong></p><p><strong>Computers have dramatically changed the way people live their lives. They have also had a big impact on the way businesses are operated. In fact, if you have a degree in computer science, you will be ready to work in almost any industry. However, if you have an entrepreneurial mindset, a degree in computer science can also be a great tool for a business of your own.</strong></p><h3>1. Software Development</h3><p>Computers run on software, and a large part of any computer science degree is understanding that software. The software includes everything from a massive operating system to a small game application on a mobile device. This range means there are many opportunities to start your own software company with great success. Maybe you want to write practical software that helps other businesses with their daily operations. Maybe you want to develop games or useful applications. You could even work with clients to create customized content for specific business needs. All in all, a software development company can fill many needs in the market.</p><h3>2. Web Development</h3><p>Everyone wants to make themselves available online, which is why web development is a booming industry. A web development company can create, upload, and maintain websites for clients. To expand your services, you could even include upgrade options with search engine optimization and other online marketing tactics to make a website more popular. The demand for websites is still growing, which makes a web development company a lucrative possibility for any enterprising computer science major. Many people have the basic skills necessary to put up a website, but computer science majors have advanced knowledge of coding to take design and implementation to the next level.</p><h3>3. IT Support</h3><p>The more people use computers and mobile devices as part of their daily lives, the more they need help maintaining those devices. As useful as computers are, they are a real headache when they stop working. Some companies have various IT staff on hand, but smaller companies will often outsource their needs. The pool of potential clients is even bigger when you start to think about all the personal devices people have. An independent IT support business can work with specific types of technology or brands, or it can provide more widespread support options depending on your personal interests and background.</p><h3>4. Marketing</h3><p>Most people think of marketing as an area of business, but computer science can be a huge asset for new marketing businesses. After all, the vast majority of new marketing tactics rely on electronic media and online platforms. With a computer science degree, you can help clients take their marketing online with powerful electronic tools to help develop their brand. Email marketing, web development, social media campaigns, and more are all extremely important in modern marketing.</p><h3>5. Internet Marketplace</h3><p>A computer science degree can also help you build an online store. No matter what you want to sell, your computer science degree can help you set up an appealing and functional website that supports a profitable online store. The technical demands for an online store are more pressing than most people realize, and if you have the power to maintain such a website with minimal third party support, then you can save on costs and streamline your entire operation. Your technical skills can be a real asset to get your store up and running quickly.</p><p>These five careers are just the start. With a degree in computer science, you will have the skills to pursue your business dreams in any direction you choose.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=277b539afea0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction of Computer Science]]></title>
            <link>https://surajbhute.medium.com/introduction-of-computer-science-8f0aa56fdbbe?source=rss-a034adbb864------2</link>
            <guid isPermaLink="false">https://medium.com/p/8f0aa56fdbbe</guid>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[introduction]]></category>
            <category><![CDATA[compter-learning]]></category>
            <dc:creator><![CDATA[Suraj Bhute]]></dc:creator>
            <pubDate>Sun, 15 Nov 2020 17:16:35 GMT</pubDate>
            <atom:updated>2020-11-15T17:16:35.508Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>What is Computer Science?</blockquote><h3>Introduction of <strong>Computer Science</strong></h3><ul><li>The study of computers and computing, hardware, including their theoretical and algorithmic foundations, and software, and their uses for processing information.</li><li>Computer science draws a number of its foundations from mathematics and engineering and thus incorporates techniques from areas like queueing theory, statistics and probability, and electronic circuit design.</li><li>The discipline of computing includes the study of algorithms and data structures, modeling data and knowledge processes, computer and network design, and ai.</li><li>computing also makes the design, heavy use of hypothesis testing, and experimentation during the conceptualization, measurement, information structures, and refinement of the newest algorithms, and computer architectures.</li></ul><blockquote>Computer science is taken into account as a part of a family of 5 separate yet interrelated disciplines:<br><strong>Computer Science<br>Software Engineering<br>Information Systems<br>Computer Engineering<br>Information Technology</strong></blockquote><h3>Computational Thinking</h3><p>Computational thinking is an approach to solving problems using concepts and ideas from computer science and expressing solutions to those problems so that they can be run on a computer. As computing becomes more and more prevalent in all aspects of modern society not just in software development and engineering, but in business, the humanities, and even everyday life understanding how to use computational thinking to solve real-world problems is a key skill in the 21st century.</p><p>Computational thinking is built on five pillars:</p><blockquote>Decomposition</blockquote><blockquote>Pattern Recognition</blockquote><blockquote>Data Representation</blockquote><blockquote>Abstraction</blockquote><blockquote>Algorithms</blockquote><h3><strong>Understanding the differences between Binary vs ASCII formats</strong></h3><ul><li><strong>ASCII Data Format:</strong><br> ASCII stands for “American Standard Code for Information Interchange. The ASCII protocol is made up of data that is encoded in ASCII values with minimal control codes added. The control codes that are added are interpreted by the printer. Parallel, Serial, and Ethernet medium all support ASCII communication and consider it to be the standard.</li><li><strong>Binary Format:</strong><br> Binary encoding more commonly known as BCP (Binary Communications Protocol), is made up of values in the range of 0–255. Binary encoding emphasizes compactness over the efficiency of generation or interpretation. Most elements of the language, such as integers, real numbers, and operator names, are represented by fewer characters in binary encoding than in the ASCII encoding. Binary encoding is generally used in environments in which communication bandwidth or storage space is minimal. Communication media such as Appletalk and Ethertalk support the binary protocol.</li></ul><h3>What is Algorithms and its Complexity?</h3><p>An algorithm is a specific procedure for solving a well-defined computational problem.</p><p>Algorithm development is more than just programming. It requires an understanding of the alternatives available for solving a computational problem, including the hardware, networking, programming language, and performance constraints that accompany any particular solution. It also requires understanding what it means for an algorithm to be “correct” in the sense that it fully and efficiently solves the problem at hand.</p><p>The time complexity of an algorithm signifies the total time required by the program to run till its completion.</p><p>The time complexity of algorithms is most commonly expressed using the <strong>big O notation</strong>. It’s an asymptotic notation to represent the time complexity. We will study it in detail in the next tutorial.</p><p>Time Complexity is most commonly estimated by counting the number of elementary steps performed by an algorithm to finish execution.</p><h3><strong>What is pseudocode?</strong></h3><p>In computer science, a <strong>pseudocode</strong> is a plain language description of the steps in an algorithm or another system. Pseudocode often uses structural conventions of a normal programming language but is intended for human reading rather than machine reading.</p><h3>Storing Data in Memory</h3><p>Computer memory is technically any type of electronic storage. Without it and without access to it, a computer is just a useless box. At the core of the computer is the central processing unit or CPU, the source of control that runs all programs and instructions. In order to function, computers use two types of memory: primary and secondary. The main storage is the primary memory, and data and programs are stored in secondary memory. However, memory is not stored in the CPU, but the CPU would only be a Memory and Storage.</p><p>While the terms ‘primary memory’, ‘main storage’, ‘primary storage’, ‘internal storage’, ‘main memory’, and ‘RAM’ are used interchangeably, the most common term used is random access memory or RAM, which is the data that contains instructions for processing computer operations: like the hapless gardener, the memory is used only for as long as the program needing it is running. Some of the reasons that a computer only needs memory for processing include:</p><ul><li>The computer needs to be powered on for most programs to run; once the power is off, the memory storage is wiped out.</li><li>No single program can use all the memory. Programs running simultaneously need to share a memory, meaning it is split among those program</li><li>The memory storage may not be big enough to hold the processing data, so it is released when it’s done.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/280/1*1OXQp3jbpyUJHYMX5rrJOQ.gif" /></figure><h3>Datatypes to Store Data</h3><p>In computer science and computer programming, a data type or simply type is an attribute of data that tells the compiler or interpreter how the programmer intends to use the data. Most programming languages support basic data types of integer numbers (of varying sizes), floating-point numbers (which approximate real numbers), characters, and Boolean. A data type constrains the values that an expression, such as a variable or a function, might take. This data type defines the operations that can be done on the data, the meaning of the data, and the way values of that type can be stored. A data type provides a set of values from which an expression (i.e. variable, function, etc.) may take its values.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8f0aa56fdbbe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Basic Python for Data Science]]></title>
            <link>https://surajbhute.medium.com/basic-python-for-data-science-e91a2507e052?source=rss-a034adbb864------2</link>
            <guid isPermaLink="false">https://medium.com/p/e91a2507e052</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[lists]]></category>
            <category><![CDATA[dictionary]]></category>
            <category><![CDATA[tuples-in-python]]></category>
            <category><![CDATA[python-programming]]></category>
            <dc:creator><![CDATA[Suraj Bhute]]></dc:creator>
            <pubDate>Wed, 28 Oct 2020 18:45:11 GMT</pubDate>
            <atom:updated>2020-10-28T18:45:11.221Z</atom:updated>
            <content:encoded><![CDATA[<ul><li><a href="https://en.wikipedia.org/wiki/Python_(programming_language)"><em>Python</em></a><em> is an </em><strong><em>interpreted</em></strong><em>, </em><strong><em>high-level</em></strong><em>, and general-purpose programming language.</em></li><li><em>Its language constructs and object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects.</em></li><li><em>Python is dynamically typed and </em><strong><em>garbage-collected</em></strong><em>. It supports multiple programming paradigms, including structured (particularly, procedural), object-oriented, and functional programming.</em></li><li><em>Python is often described as a “</em><strong><em>batteries included</em></strong><em>” language due to its comprehensive standard library.</em></li></ul><h3>Basic Commands</h3><p>Now let us take a look at the most useful commands that you require everyday while coding in the Jupyter notebook.</p><h4><strong>Command Mode Shortcuts</strong></h4><blockquote>Esc: To go into command mode</blockquote><blockquote>Enter: To go back to edit mode</blockquote><blockquote>M: To convert a cell to a markdown cell</blockquote><blockquote>Y: To convert a cell back to a code cell</blockquote><blockquote>A: To insert new cell above</blockquote><blockquote>B: To insert new cell below</blockquote><blockquote>D + D: To delete cell</blockquote><blockquote>Z: Undo last operation</blockquote><blockquote>F: To find and replace on your code</blockquote><blockquote>Shift + Up/Down: To select multiple cells</blockquote><blockquote>Space: Scroll notebook downwards</blockquote><blockquote>Shift + Space: Scroll notebook upwards</blockquote><h4>Edit Mode Shortcuts</h4><blockquote>Shift + Enter: To execute the code in the current cell and go to the next cell</blockquote><blockquote>Alt + Enter: To execute the code in the current cell and insert new cell below</blockquote><blockquote>Shift + Tab: To get a brief documentation of the object that you have just typed in the coding cell</blockquote><blockquote>Ctrl + Shift + -: To split the cell at cursor</blockquote><blockquote>Shift + M: To merge selected cells</blockquote><p>You can also use H to open the list of keyboard shortcuts and even add new shortcuts or customize the existing shorcuts according to your personal requirements.</p><h3>“Hello world” in Python</h3><p>A one-line program that prints some version of the message “Hello world!” this is a simple program</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3OhFX5lmFLWWw_OOTrhwqA.png" /></figure><h3>Variables</h3><p>A variable holds a value.</p><p>In python, variables can be declared and values can be assigned to it as follows,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dw9bIgu4BFPMk2TefkQw8g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lRi4jpe0uDFLz5KXyWVhrA.png" /></figure><h3><strong>Strings</strong></h3><p>Strings are sets of characters.</p><h4>Single and Double quotes</h4><p>Strings are contained by either single or double quotes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3wYIeD5M92Ym30mFBzC_Ow.png" /></figure><h3>Combining strings (concatenation)</h3><blockquote>It is often very useful to be able to combine strings into a message or page element that we want to display.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CVZPE7Fno3IcJlB3H5VMIQ.png" /></figure><h3>List Slicing</h3><p>Indexing was only limited to accessing a single element, Slicing on the other hand is accessing a sequence of data inside the list. In other words “slicing” the list.</p><p>Slicing is done by defining the index values of the first element and the last element from the parent list that is required in the sliced list. It is written as parentlist[ a : b ] where a,b are the index values from the parent list.</p><h4>List Slicing</h4><p>Given a non-empty list ‘names correct.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pFV0hgNewFRSFfCfAW0jbw.png" /></figure><h3>Copying a list</h3><p>Most of the new python programmers commit this mistake. Consider the following,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*suYOlQKXFXYBpBeNxDrerQ.png" /></figure><p>Here, We have declared a list, lista = [2,1,4,3]. This list is copied to listb by assigning it’s value and it get’s copied as seen. Now we perform some random operations on lists.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QDiN2XputfPQb_ZMtyOaRQ.png" /></figure><h4>List Casting</h4><p>word[ : ] = [ ] print(word)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wihAi3iEQ4PxtRQN127JyQ.png" /></figure><p>We are indexing all the elements of the list word to an empty list hence the final output will be an empty list. So this method can also be used to delete all the items from a list.</p><h3>List Indexing</h3><ul><li>Lists can be indexed using square brackets to retrieve the element stored in a particular position.</li><li>Indexing is exactly similar to indexing in strings except that indexing in lists returns the entire item at that position whereas in strings, the character at that position is returned</li></ul><h3>negative indexing</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/795/0*otYeMR2thuMuHQ8A" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j6SYqkKBunbwbE6xhXjqlQ.png" /></figure><h3>Tuples</h3><p>Tuples are data structures that are similar to lists in all aspects except in the way they are declared and how much they allow themselves to be modified. A tuple once created cannot be modified.</p><ul><li>Tuples are another way to combine different values.</li><li>The combined values can be of different types.</li><li>Like lists, they have a well-defined ordering and can be indexed.</li><li>To create a tuple in Python, use round brackets instead of square brackets</li></ul><p>As you saw in the previous segment, lists can be changed, and sometimes when you’re storing important information in a list and using it somewhere else in your code, you run the risk of accidentally modifying the list and losing data or corrupting it. Tuples help you solve this problem.</p><p>A tuple is a fixed-length, immutable sequence of Python objects. The easiest way to create one is with a comma-separated sequence of values:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/622/0*t83-ocWakZDAL__I" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RgCxMmDHr3JsY7Ucq8kOeQ.png" /></figure><h3>Tuples are immutable</h3><ul><li>Unlike lists, tuples are <strong><em>immutable</em></strong>. Once we have created a tuple we cannot add values to it.</li></ul><p>Tuples are similar to lists but only big difference is the elements inside a list can be changed but in tuple it cannot be changed. Think of tuples as something which has to be True for a particular something and cannot be True for no other values.</p><h3>Built In Tuple functions</h3><p>count() function counts the number of specified element that is present in the tuple.<br>index() function returns the index of the specified element. If the elements are more than one then the index of the first element of that specified element is returned</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*25bW5tWpHLEypxdZ1fqUCw.png" /></figure><h3>Dictionaries</h3><p>A dictionary is a collection of words along with their meanings or simpler explanations.The first thing that comes to mind when you hear about dictionaries is the Oxford dictionary, where you can look up meanings of words. So, you can imagine how dictionaries work.</p><p>Dictionaries are more used like a database because here you can index a particular sequence with your user defined string. To define a dictionary, equate a variable to { } or dict()</p><p>It is a flexibly sized collection of key-value pairs, where key and value are Python objects. One approach for creating one is to use curly braces {} and colons to separate keys and values:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vXoTlK_v-mAE7SfM-XI5iA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/814/0*9Ig7KYlA8448RnqP" /></figure><p>Dictionary works somewhat like a list but with an added capability of assigning it’s own index style.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x5qTj1LlkL8KE8JaMg_Yuw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/0*VHRPWLPVwcbm3dhR" /></figure><h3>Getting a Value from a Dictionary.</h3><p>Extract the company headed by Tim Cook from the dictionary</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZnasjYO4j0LTH3QE0g37Qg.png" /></figure><h3>List of Values in a Dictionary.</h3><p>Create a SORTED list of all values from the dictionary</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OPZAz5hsG4eGdVtt3SuKJg.png" /></figure><h3>Sets</h3><p>Unordered collection of unique elements</p><p>Sets are a good way to get the unique elements out of a collection or to find common elements in various collections. Using sets is quick and can help solve tasks requiring deduplication.</p><p>Sets are mainly used to eliminate repeated numbers in a sequence/list. It is also used to perform some standard set operations.</p><p>A set can be created in two ways: via the set function or via a set literal with curly braces{} Sets are declared as set() which will initialize a empty set. Also set([sequence]) can be executed to declare a set with elements</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/0*ccDY_uwfZiAkfeoh" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/846/0*QVYRQpy-60Hj9GHF" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/643/0*IAHVBLA3U02A6da7" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/654/0*rdMtYhjxpyn1LkvY" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/0*eOGrYnutvMyerWgB" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uWhsLOFwkL7skv3J_KKeUw.png" /></figure><p>symmetric_difference( ) function ouputs a function which contains elements that are in one of the sets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/538/0*4G3D0tLRxi8fhH1Z" /></figure><h3>Conclusion</h3><p><a href="https://en.wikipedia.org/wiki/Python_(programming_language)"><em>Python</em></a><em> is an </em><strong><em>interpreted</em></strong><em>, </em><strong><em>high-level</em></strong><em>, and general-purpose programming language. In this blog, I have tried to give you the basic idea about Python &amp; Basic Command used in jupyter Notebook for better understanding . Yes, there is much more to be explored &amp; coming soon with next blog.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e91a2507e052" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Importance of Statistics and Probability in Data Science]]></title>
            <link>https://surajbhute.medium.com/importance-of-statistics-and-probability-in-data-science-bb1051abdd56?source=rss-a034adbb864------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb1051abdd56</guid>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[statistical-learning]]></category>
            <category><![CDATA[probability]]></category>
            <category><![CDATA[statistical-analysis]]></category>
            <dc:creator><![CDATA[Suraj Bhute]]></dc:creator>
            <pubDate>Mon, 26 Oct 2020 18:56:17 GMT</pubDate>
            <atom:updated>2020-10-26T18:56:17.014Z</atom:updated>
            <content:encoded><![CDATA[<p><em>They are essentials for getting into Data Science. It is said that you cannot learn data science without having knowledge of statistics and probability. People usually don’t get much interest in these topics.</em></p><p><em>However, I would change this thing for you today and will introduce you to explain the basics of statistics and probability with respect to data science.</em></p><blockquote><strong>“Data Scientist is a person who is better at statistics than any programmer and better at programming than any statistician.” — </strong><a href="https://www.crunchbase.com/person/josh-wills"><strong>Josh Wills</strong></a></blockquote><p><em>Therefore, statistics are a group of principles that are used to attain information about the data so as to make decisions. It unveils the secret hidden in the data.</em></p><p><em>Probability and Statistics are involved in different predictive algorithms that are there in Machine Learning. They help in deciding how much data is reliable, etc.</em></p><h3><strong>Different terms used in Statistics?</strong></h3><p><em>A person should have knowledge about often-used terminologies, broadly practiced in Statistics for data science. Let us understand the same -</em></p><blockquote><strong>Population — </strong>The place or a source from where the data has to be fetched or collected.</blockquote><blockquote><strong>Sample — </strong>It is defined as a subset of the population.</blockquote><blockquote><strong>Variable — </strong>It<strong> </strong>Data item that can be either a number or thing that can be measured.</blockquote><blockquote><strong>Statistical Parameter — </strong>It is defined as the quantity that leads to probability distribution like mean, median, and mode.</blockquote><h3><strong>What is Statistical Analysis?</strong></h3><p><em>Statistical Analysis is the science of the exploration of the collection of large datasets to find different hidden patterns and trends. These types of analyses are used in every sort of data for example in research and multiple industries, etc so as to come to decisions that are to be modeled. There is mainly two types of Statistical Analysis-</em></p><blockquote>1. <strong>Quantitative Analysis: </strong>The type of analysis is defined as the science of fetching and interpreting the data with graphs and numbers to search for underlying hidden trends.</blockquote><blockquote>2. <strong>Qualitative Analysis: </strong>The type of Statistical analysis that gives the common information by making use of text and other forms of media.</blockquote><h3><strong>Measures of Central Tendency</strong></h3><p><em>It is defined as the single value that aims to explore a set of data by recognizing the central position within the set of data. It is also called a measure of a central location that is also categorized as summary statistics.</em></p><blockquote><strong>Mean </strong>— It is calculated by taking the sum of all the values that are present in the dataset and dividing that by the number of values in the data.</blockquote><blockquote><strong>Median — </strong>It is the middle value in the dataset that gets in order of magnitude. It is considered over mean as it is least influenced by outliers and skewness of the data<strong>.</strong></blockquote><blockquote><strong>Mode </strong>— It is the most occurring value in the dataset.</blockquote><h3><strong>What is Skewness?</strong></h3><p><em>The curve that is distorted or skewed towards left or to the right. </em><strong><em>Asymmetry</em></strong><em> in statistical distribution is known as Skewness that specifies whether the data is intensive on one side. It tells about the distribution of the data.</em></p><p><strong>Skewness is divided into two parts -</strong></p><blockquote><strong>Positive Skewness: </strong>It occurs when the mean&gt;median&lt;mode. The tail is skewed to the right in this case.</blockquote><blockquote><strong>Negative Skewness: </strong>It occurs when the mean&lt;median&lt;mode. The tail is skewed to the left.</blockquote><h3><strong>What is Probability?</strong></h3><p><em>It is the base and language needed for most of the statistics. It is also defined as the phenomenon of a particular outcome by computing its importance in daily life. One cannot do data science problems without the knowledge of probability. It is considered to be an important factor in predictive analytics.</em></p><p><em>The probability is the measure of the likelihood of an event to happen. It measures the certainty of the event. The formula for probability is given by;</em></p><p><strong><em>P(E) = Number of Favourable Outcomes/Number of total outcomes</em></strong></p><blockquote><strong>Null Hypothesis: </strong>Hypothesis where there is no notable difference between the described population.</blockquote><blockquote><strong>Alternative Hypothesis: </strong>Hypothesis where there is a notable difference.</blockquote><p><em>In Statistical hypothesis testing, the probability value is also known as p-value is the probability of getting results at least as utmost as the results actually have been observed, making the assumption that the null hypothesis is correct</em>.</p><blockquote><strong><em>If p value &lt;= 0.05, the null hypothesis is rejected.</em></strong></blockquote><blockquote><strong><em>If p-value &gt;=0.05, the null hypothesis is accepted</em></strong></blockquote><p><strong>But why do we need to accept or reject a hypothesis?</strong></p><p><em>If we accept the null hypothesis, the independent features do not have any influence on the prediction of the target variable. If the null hypothesis is rejected it means that the feature will help in the prediction of the target variable.</em></p><h3><strong>How to calculate p-value?</strong></h3><p><em>The p-value is computed by examining the summary of linear relation formed between the target and features or between the dependent and independent variables.</em></p><p><em>With the help of straight-line linear regression will help in building the relationship between these variables by making use of the formula</em><strong><em> </em></strong><em>y=mx + B.</em></p><p><em>The points that are closed to the regression line are most important and they have the</em><strong><em> p &lt;=0.05</em></strong><em>, so they are taken in consideration to predict y whereas the points are further from the line are not important, having </em><strong><em>p-value &gt;=0.05</em></strong><em> and are not taken in consideration to predict the target y.</em></p><h3><strong><em>Conclusion</em></strong></h3><p><em>Statistics and probability are the base of data science. One should know the fundamentals and concepts so as to solve the data science problems. It gives you the information about the data, how it is distributed, information about the independent and dependent variable, etc.</em></p><p><em>In this blog, I have tried to give you the basic idea about statistics and probability. Yes, there is much more to be explored when we talk about Statistics and probability in Data Science.</em></p><p><em>We have discussed the important,statistical analysis, measure of central tendency, basic terminologies in statistics, and skewness. Also, I have given you the idea of a Hypothesis done in probability and how we can accept it and reject it on the basis of a p-value.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb1051abdd56" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>