Here in this post, we will see how we can read most common file formats used in Data Science (using Python) with code. When you are working as a Data Scientist or Data Analyst, your most of the time is utilized in reading the dataset from different sources (including data saved in different file formats and […]
Plotting stacked bar graph using Python’s Matplotlib library
In my previous post, we have seen how we can plot multiple bar graph on a single plot. In this post, we will see how we can plot a stacked bar graph using Python’s Matplotlib library. A stacked bar graph also known as a stacked bar chart is a graph that is used to break down and compare parts […]
Plotting multiple bar graph using Python’s Matplotlib library
Here in this post, we will see how to plot a two bar graph on a different axis and multiple bar graph using Python’s Matplotlib library on a single axis. Let’s first understand what is a bar graph. We can use a bar graph to compare numeric values or data of different groups or we can say […]
Setting up Python Development Environment for Data Analysis
Nowadays, you have seen everyone talking about learning python for data science and data analysis. Here in this post, we will see how to set up Python Development Environment and packages especially for Data Analysis. Why Python? Python is an open source, easy to pick up, general programming language and it doesn’t matter whether you’re […]
Creating and Computing over Dictionaries in Python
We can define Dictionary as a collection of keys-values pairs which are unordered, mutable and indexable. Dictionaries in Python are written with the use of curly brackets and between curly brackets, we define our key-value pairs separated with colons : .between each pair. Just like the lists in Python you can manipulate them. A Python dictionary […]
Performing Linear Regression using Least Squares
Linear regression is defined as a linear approach which is used to model the relationship between dependent variable and one or more independent variable(s). When we try to model the relationship between a single feature variable and a single target variable, it is called simple linear regression. But when there is more than one independent […]