Blog
August 23, 2019
•
2 min read
Part 2 - Plotting Using Seaborn - Distribution Plot, Facet Grid
Introduction and Data preparation Please follow the folloing links regarding data preparation and previous posts to follow along -
For Data Preparation - Part 0 - Plotting Using Seaborn - Data Preparation{:target="_blank"}
For Part 1 - …
August 23, 2019
•
4 min read
Part 3 - Plotting Using Seaborn - Donut
Introduction and Data preparation Please follow the folloing links regarding data preparation and previous posts to follow along -
For Data Preparation - Part 0 - Plotting Using Seaborn - Data Preparation{:target="_blank"}
For Part 1 - …
August 23, 2019
•
3 min read
Part 4 - Plotting Using Seaborn - Heatmap, Lollipop Plot, Scatter Plot
Introduction and Data preparation Please follow the folloing links regarding data preparation and previous posts to follow along -
For Data Preparation - Part 0 - Plotting Using Seaborn - Data Preparation{:target="_blank"}
For Part 1 - …
August 21, 2019
•
3 min read
Part 1 - Plotting Using Seaborn - Violin, Box and Line Plot
Introduction and Data preparation Please follow the folloing links regarding data preparation and previous posts to follow along -
For Data Preparation - Part 0 - Plotting Using Seaborn - Data Preparation{:target="_blank"} Violin Plot …
August 20, 2019
•
3 min read
Part 0 - Plotting Using Seaborn - Data Preparation
Import Preliminaries and datasets import pandas as pd import seaborn as sns import matplotlib.pyplot as plt import matplotlib.pylab as plb import warnings warnings.filterwarnings('ignore') test_scores = pd.read_csv("Data/Test …
July 20, 2019
•
2 min read
Nearest Neighbors using L2 and L1 Distance
Preliminaries Distance Matrics L2 Norm L1 Norm Nearest Neighbor Using L2 Distance Using L1 Distance Predictions Errors Confusion Matrix Using Pandas From Scratch Preliminaries import numpy as np # Load data set and code labels as 0 = ’NO’, 1 = ’DH’, …
July 10, 2019
•
2 min read
Full Outer Join in DAX in PowerBI
Full Outer Join According to Wikipedia{:target="_blank"} -
“Conceptually, a full outer join combines the effect of applying both left and right outer joins. Where rows in the FULL OUTER JOINed tables do not match, the result set will …
July 8, 2019
•
4 min read
Exception handling in Python
Try and Except Handle Exceptions Exceptions Attributes Handling Multiple Exceptions Else Finally Try and Except Handle Exceptions The following statement will throw an error as string can’t be parsed into integers.
hello = "hello …
June 29, 2019
•
3 min read
Functions in Python - return, scope, args and kwargs
Return in Function Scoping in Function Access global variable in function context Declare a local variable within in a function Declare local variable with same name as in global Using Global Keyword *args and **kwargs in function Return in Function …
June 28, 2019
•
2 min read
Break, Continue and Pass in Python
Continue vs Break Continue print("The loop will skip the value when value of i is 2 and restart from next value of i - ") for i in range(0,4): if i == 2: continue else: print(i+100) Output: The loop will skip the value when value of i is 2 …