You might have already seen articles explaining the ‘secret’ repo with a cool ReadMe feature in GitHub but put off actually creating one. I built an app to do most of the work for you 😃
EDA (Exploratory Data Analysis) is one of the first steps performed on a given dataset. It helps us to understand more about our data and gives us an idea of manipulations and cleaning we might have to do. EDA can take anywhere from a few lines to a few hundred lines. In this tutorial, we will look at libraries which help us perform EDA in a few lines
We will use the Titanic Dataset provide by Kaggle. Using Panda’s describe() method, we get the below output
Using APIs in your React project is a common use case. In this tutorial, we will look at two use cases:
We will use functional components and the useEffect hook. Some familiarity is expected.
We will be looking at some packages to format, lint, test our code and later create a pre-commit hook to automate the process. This article by Dan Root is a well-written overview of the PEP 8 style guide.
Before we talking about the packages we will use, let’s look at the python files we will work with
We have a function called helpers.py
It has simple arithmetic functions. All the functions accept two parameters and perform an arithmetic operation on them.
We have another file called tester_helpers.py
This file simply tests the functions we defined earlier. …
Websites have been floating around us for quite a long time now. The process of web development is quite simple, actually! All you need is some basic knowledge of HTML, CSS and JavScript.
But this isn’t completely true; at some point, you will realize that there are dozens of limitations and restrictions in the traditional web development method.
Let’s assume a situation, you are an ML expert and have built an out of box solution using Linear Regression. Now, you want to showcase your product to the world. Of course, you’ll need a website, and if you research, you’ll find that developing…
Git hooks are basically scripts fired before an important action occurs, e.g., before a commit is made, before code is pushed to a repo after a commit is made, etc. You can learn more about Git Hooks and the different kinds of hooks over here.
A pre-commit hook is a hook that is run before you make a commit.
In this tutorial, we will transcribe a call recording in Twilio using AssemblyAI’s API. We will use Python to write the scripts. We will be discussing the following
You can find the entire source code here
UUIDs are Universally Unique Identifiers. They are also known as GUIDs (Globally Unique Identifier). It is basically unique IDs. Below is an example
This article by Ludi Rehak is a really interesting read talking about the uniqueness of a UUID
First, we will need to install it
npm install uuid
Below is the code-snippet to generate an UUID
const uuid = require('uuid')// Generates a version 4 uuid
// 01a8fc1c-81ff-4337-82af-c4bc64121851// Generates a version 1 uuid
If you have worked with APIs before, you have most likely worked with deeply nested objects. Consider the following object:
Let’s try accessing some values:
This works fine, but what if we try to access the
color property of the second element in the data?
undefined because the
attributes property is empty. Let’s try to access the second element inside the
In the first case,
2 is printed in the console. However, in the second case, we get an error.
This is because
npm install lodash
When dealing with API responses, more often than not, the data you’d like to access will be deeply nested.
Consider the following example.