Posts by Tag

Python

numpy tile vs repeat

3 minute read

In this post, we will learn what is numpy tile and what’s the difference between numpy tiles and repeat

Vectors, Matrix And Tensors

3 minute read

In this post we will see how large data is stored in multi-dimensional arrays, which is also called as tensors.

Dataframe groupby date and time

3 minute read

In this post we will see how to group a timeseries dataframe by Year,Month, Weeks or days. Additionally, we will also see how to groupby time objects like ho...

Decision Tree in Sklearn

12 minute read

In this post we are going to see how to build a basic decision tree classifier using scikit-learn package and how to use it for doing multi-class classificat...

Sort Pandas Dataframe and Series

7 minute read

Sorting a dataframe by row and column values or by index is easy a task if you know how to do it using the pandas and numpy built-in functions

Concatenating arrays in Numpy

3 minute read

We will be discussing about merging numpy arrays and different functions that are available in the toolbox to perform this job

How to work with JSON in Pandas

5 minute read

JSON is widely used format for storing the data and exchanging. Many of the API’s response are JSON and being light weight it’s used almost everywhere

How to iterate through a python dictionary

9 minute read

A python Dictionary is one of the important data structure which is extensively used in data science and elsewhere when you want to store the data as a key-v...

A primer on Python Regular Expression

7 minute read

Regex is a group of characters which helps to find pattern within a string. Regex is used in lot of applications including the search engines, search and for...

Pandas apply, map and applymap

4 minute read

In this post we will see how to apply a function along the axis of a dataframe using apply and applymap and how to map the values of a Series from one domain...

How to create dataframe for testing?

less than 1 minute read

Did you ever wanted to create dataframes for testing and find it hard to fill the dataframe with dummy values then DO NOT Worry there are functions that are ...

How to use Regex in Pandas

4 minute read

There are several pandas methods which accept the regex in pandas to find the pattern in a String within a Series or Dataframe object. These methods works on...

Python Detect and Translate language

2 minute read

The internet is flooded with articles and posts for translating the language using Machine Learning or Deep Learning LSTM models and building a deep neural n...

Python Logging

11 minute read

Log is an important tool for any developer. it helps in debugging and log important information or exceptions that emits while the code executes

Working with Pandas datetime

7 minute read

In this post we will explore the Pandas datetime methods which can be used instantaneously to work with datetime in Pandas.

How to find Percentage Change in pandas

3 minute read

So you are interested to find the percentage change in your data. Well it is a way to express the change in a variable over the period of time and it is heav...

Dataframe Visualization with Pandas Plot

7 minute read

Visualization has always been challenging task but with the advent of dataframe plot() function it is quite easy to create decent looking plots with your dat...

How to shift a column in Pandas

4 minute read

If you want to shift your columns without re-writing the whole dataframe or you want to subtract the column value with the previous row value or if you want ...

Pandas Groupby Tutorial

7 minute read

Hope if you are reading this post then you know what is groupby in SQL and how it is being used to aggregate the data of the rows with the same value in one ...

Pandas Dataframe Align function

3 minute read

Pandas Align basically helps to align the two dataframes have the same row and/or column configuration and as per their documentation it Align two objects on...

Pandas Transform and Filter

3 minute read

In this blog we will see how to use Transform and filter on a groupby object. We all know about aggregate and apply and their usage in pandas dataframe but h...

How to create Pandas Pivot Table

4 minute read

Pivot table lets you calculate, summarize and aggregate your data. MS Excel has this feature built-in and provides an elegant way to create the pivot table f...

Pandas Difference Between two Dataframes

4 minute read

There are often cases where we need to find out the common rows between the two dataframes or find the rows which are in one dataframe and missing from secon...

Text Data Visualization in Python

3 minute read

The best way to understand any data is by visualizing it. if I give you a table load of data and Charts then the latter is more easier way to get insight fro...

How to Tame a Python

7 minute read

All of those out there who claim that you can learn python in 3,6 or 9 days or 1 month are just fooling around and f** up with your mind. Get it straight you...

How to Optimize your Pandas Code

8 minute read

Working with large dataset has always been a challenging and daunting task. The data is growing everyday but the resources and computational power required t...

Text Matching: Cosine Similarity

4 minute read

Recently I was working on a project where I have to cluster all the words which have a similar name. For a novice it looks a pretty simple job of using some ...

Draw Pencil Sketches and Play with Photos

1 minute read

During my childhood, I was always fascinated to have my Pencil sketch and impress my school mates. However at that time it wasn’t an easy job for school goer...

Exploratory Analysis of H1B Visa

1 minute read

The H-1B is a non-immigrant visa in the United States, it is designed to bring foreign professionals with college degrees and specialized skills to fill jobs...

Back to top ↑

python

pandas count duplicate rows

7 minute read

DataFrames are a powerful tool for working with data in Python, and Pandas provides a number of ways to count duplicate rows in a DataFrame. In this article...

Pandas combine two text columns

7 minute read

In this post we will learn how to concatenate two or more string columns of a dataframe. You can use either + operator or the str.cat() function to combine t...

Python Dictionary Append

2 minute read

In this post we will discuss how to append a new key-value pair or update an existing key value in a dictionary. There are two ways you can append or update ...

Excel Libraries in Python

4 minute read

There are so many libraries available in Python language that could help to handle the spreadsheets and let you edit, modify, run formulas and help in data a...

Tensorflow available GPU and it’s details

2 minute read

In this post we will see how to find all the available CPU and GPU devices on the host machine and get the device details and other info like it’s Memory usa...

Pandas compare columns in two data frames

2 minute read

We have two dataframes and a common column that we want to compare and find out the matching, missing values and sometimes the difference between the values ...

Pandas sort dataframe by month name

3 minute read

In this post we will see how to sort a dataframe by month name(string) column. It’s bit straight forward to sort a number or string alphabetically using sort...

Back to top ↑

Pandas

Dataframe groupby date and time

3 minute read

In this post we will see how to group a timeseries dataframe by Year,Month, Weeks or days. Additionally, we will also see how to groupby time objects like ho...

Sort Pandas Dataframe and Series

7 minute read

Sorting a dataframe by row and column values or by index is easy a task if you know how to do it using the pandas and numpy built-in functions

How to work with JSON in Pandas

5 minute read

JSON is widely used format for storing the data and exchanging. Many of the API’s response are JSON and being light weight it’s used almost everywhere

Pandas apply, map and applymap

4 minute read

In this post we will see how to apply a function along the axis of a dataframe using apply and applymap and how to map the values of a Series from one domain...

How to create dataframe for testing?

less than 1 minute read

Did you ever wanted to create dataframes for testing and find it hard to fill the dataframe with dummy values then DO NOT Worry there are functions that are ...

How to use Regex in Pandas

4 minute read

There are several pandas methods which accept the regex in pandas to find the pattern in a String within a Series or Dataframe object. These methods works on...

Working with Pandas datetime

7 minute read

In this post we will explore the Pandas datetime methods which can be used instantaneously to work with datetime in Pandas.

How to find Percentage Change in pandas

3 minute read

So you are interested to find the percentage change in your data. Well it is a way to express the change in a variable over the period of time and it is heav...

Dataframe Visualization with Pandas Plot

7 minute read

Visualization has always been challenging task but with the advent of dataframe plot() function it is quite easy to create decent looking plots with your dat...

How to shift a column in Pandas

4 minute read

If you want to shift your columns without re-writing the whole dataframe or you want to subtract the column value with the previous row value or if you want ...

Pandas Groupby Tutorial

7 minute read

Hope if you are reading this post then you know what is groupby in SQL and how it is being used to aggregate the data of the rows with the same value in one ...

Pandas Dataframe Align function

3 minute read

Pandas Align basically helps to align the two dataframes have the same row and/or column configuration and as per their documentation it Align two objects on...

Pandas Transform and Filter

3 minute read

In this blog we will see how to use Transform and filter on a groupby object. We all know about aggregate and apply and their usage in pandas dataframe but h...

How to create Pandas Pivot Table

4 minute read

Pivot table lets you calculate, summarize and aggregate your data. MS Excel has this feature built-in and provides an elegant way to create the pivot table f...

Pandas Difference Between two Dataframes

4 minute read

There are often cases where we need to find out the common rows between the two dataframes or find the rows which are in one dataframe and missing from secon...

Text Data Visualization in Python

3 minute read

The best way to understand any data is by visualizing it. if I give you a table load of data and Charts then the latter is more easier way to get insight fro...

How to Tame a Python

7 minute read

All of those out there who claim that you can learn python in 3,6 or 9 days or 1 month are just fooling around and f** up with your mind. Get it straight you...

How to Optimize your Pandas Code

8 minute read

Working with large dataset has always been a challenging and daunting task. The data is growing everyday but the resources and computational power required t...

Back to top ↑

DataScience

Dataframe groupby date and time

3 minute read

In this post we will see how to group a timeseries dataframe by Year,Month, Weeks or days. Additionally, we will also see how to groupby time objects like ho...

Decision Tree in Sklearn

12 minute read

In this post we are going to see how to build a basic decision tree classifier using scikit-learn package and how to use it for doing multi-class classificat...

How to work with JSON in Pandas

5 minute read

JSON is widely used format for storing the data and exchanging. Many of the API’s response are JSON and being light weight it’s used almost everywhere

Pandas apply, map and applymap

4 minute read

In this post we will see how to apply a function along the axis of a dataframe using apply and applymap and how to map the values of a Series from one domain...

How to create dataframe for testing?

less than 1 minute read

Did you ever wanted to create dataframes for testing and find it hard to fill the dataframe with dummy values then DO NOT Worry there are functions that are ...

How to use Regex in Pandas

4 minute read

There are several pandas methods which accept the regex in pandas to find the pattern in a String within a Series or Dataframe object. These methods works on...

Python Detect and Translate language

2 minute read

The internet is flooded with articles and posts for translating the language using Machine Learning or Deep Learning LSTM models and building a deep neural n...

Working with Pandas datetime

7 minute read

In this post we will explore the Pandas datetime methods which can be used instantaneously to work with datetime in Pandas.

How to find Percentage Change in pandas

3 minute read

So you are interested to find the percentage change in your data. Well it is a way to express the change in a variable over the period of time and it is heav...

Dataframe Visualization with Pandas Plot

7 minute read

Visualization has always been challenging task but with the advent of dataframe plot() function it is quite easy to create decent looking plots with your dat...

How to shift a column in Pandas

4 minute read

If you want to shift your columns without re-writing the whole dataframe or you want to subtract the column value with the previous row value or if you want ...

Pandas Groupby Tutorial

7 minute read

Hope if you are reading this post then you know what is groupby in SQL and how it is being used to aggregate the data of the rows with the same value in one ...

Pandas Dataframe Align function

3 minute read

Pandas Align basically helps to align the two dataframes have the same row and/or column configuration and as per their documentation it Align two objects on...

Pandas Transform and Filter

3 minute read

In this blog we will see how to use Transform and filter on a groupby object. We all know about aggregate and apply and their usage in pandas dataframe but h...

How to create Pandas Pivot Table

4 minute read

Pivot table lets you calculate, summarize and aggregate your data. MS Excel has this feature built-in and provides an elegant way to create the pivot table f...

Text Data Visualization in Python

3 minute read

The best way to understand any data is by visualizing it. if I give you a table load of data and Charts then the latter is more easier way to get insight fro...

Learn SQL for Data Science

8 minute read

SQL is important as it is generally one of the first step needed to get your data from a database or data warehouse. SQL is how you query data from databases...

How to Tame a Python

7 minute read

All of those out there who claim that you can learn python in 3,6 or 9 days or 1 month are just fooling around and f** up with your mind. Get it straight you...

Text Matching: Cosine Similarity

4 minute read

Recently I was working on a project where I have to cluster all the words which have a similar name. For a novice it looks a pretty simple job of using some ...

Exploratory Analysis of H1B Visa

1 minute read

The H-1B is a non-immigrant visa in the United States, it is designed to bring foreign professionals with college degrees and specialized skills to fill jobs...

Back to top ↑

pandas

Pandas combine two text columns

7 minute read

In this post we will learn how to concatenate two or more string columns of a dataframe. You can use either + operator or the str.cat() function to combine t...

Pandas compare columns in two data frames

2 minute read

We have two dataframes and a common column that we want to compare and find out the matching, missing values and sometimes the difference between the values ...

Pandas sort dataframe by month name

3 minute read

In this post we will see how to sort a dataframe by month name(string) column. It’s bit straight forward to sort a number or string alphabetically using sort...

Back to top ↑

numpy

numpy tile vs repeat

3 minute read

In this post, we will learn what is numpy tile and what’s the difference between numpy tiles and repeat

Concatenating arrays in Numpy

3 minute read

We will be discussing about merging numpy arrays and different functions that are available in the toolbox to perform this job

Back to top ↑

matplotlib

pandas count duplicate rows

7 minute read

DataFrames are a powerful tool for working with data in Python, and Pandas provides a number of ways to count duplicate rows in a DataFrame. In this article...

Back to top ↑

Data Visualization

Dataframe Visualization with Pandas Plot

7 minute read

Visualization has always been challenging task but with the advent of dataframe plot() function it is quite easy to create decent looking plots with your dat...

Data Visualization with Excel - Part 1

1 minute read

There are abundant tool available for Data Analysis & Visualization but we all are using excel before we know what is data analytics & visualization.

Back to top ↑

Matplotlib

Dataframe Visualization with Pandas Plot

7 minute read

Visualization has always been challenging task but with the advent of dataframe plot() function it is quite easy to create decent looking plots with your dat...

Exploratory Analysis of H1B Visa

1 minute read

The H-1B is a non-immigrant visa in the United States, it is designed to bring foreign professionals with college degrees and specialized skills to fill jobs...

Back to top ↑

GoogleSheets

Reading Google Sheets data using Python

2 minute read

Google docs are one of the widely used tools across the industry and the spreadsheets are used to store lot of our data, which we would want to access anytim...

Back to top ↑

tensorflow

Tensorflow available GPU and it’s details

2 minute read

In this post we will see how to find all the available CPU and GPU devices on the host machine and get the device details and other info like it’s Memory usa...

Back to top ↑

Excel

Index & Match Formula in Excel

1 minute read

Index & Match are very powerful lookup formula in Excel. Many of you will be familiar with the vlookup formula but Index & Match beats vlookup in man...

Data Visualization with Excel - Part 1

1 minute read

There are abundant tool available for Data Analysis & Visualization but we all are using excel before we know what is data analytics & visualization.

Back to top ↑

scikit-learn

Compare two Numpy arrays for equality

2 minute read

In this post we will compare elements of two arrays for equality. This would be really helpful when you wanted to compare if two similar arrays coming out th...

How to split Numpy Arrays

6 minute read

In this post we will see how to split a 2D numpy array using split, array_split , hsplit, vsplit and dsplit.

Decision Tree in Sklearn

12 minute read

In this post we are going to see how to build a basic decision tree classifier using scikit-learn package and how to use it for doing multi-class classificat...

Back to top ↑

SQL

Learn SQL for Data Science

8 minute read

SQL is important as it is generally one of the first step needed to get your data from a database or data warehouse. SQL is how you query data from databases...

Back to top ↑

Tutorial

How to use Regex in Pandas

4 minute read

There are several pandas methods which accept the regex in pandas to find the pattern in a String within a Series or Dataframe object. These methods works on...

Working with Pandas datetime

7 minute read

In this post we will explore the Pandas datetime methods which can be used instantaneously to work with datetime in Pandas.

Back to top ↑

Time Series

Back to top ↑

google-colab

Tensorflow available GPU and it’s details

2 minute read

In this post we will see how to find all the available CPU and GPU devices on the host machine and get the device details and other info like it’s Memory usa...

Back to top ↑

numpt

Back to top ↑

Flask

Back to top ↑

Scipy

Back to top ↑

Selenium

Back to top ↑

Data Science

Back to top ↑

CSV

Back to top ↑

Machine Learning

Back to top ↑

Pandas Groupby – Tutorial

Pandas Groupby Tutorial

7 minute read

Hope if you are reading this post then you know what is groupby in SQL and how it is being used to aggregate the data of the rows with the same value in one ...

Back to top ↑

Pandas Plot

Dataframe Visualization with Pandas Plot

7 minute read

Visualization has always been challenging task but with the advent of dataframe plot() function it is quite easy to create decent looking plots with your dat...

Back to top ↑

leafletjs

Back to top ↑

Mongodb

Back to top ↑

logging

Python Logging

11 minute read

Log is an important tool for any developer. it helps in debugging and log important information or exceptions that emits while the code executes

Back to top ↑

Translation

Python Detect and Translate language

2 minute read

The internet is flooded with articles and posts for translating the language using Machine Learning or Deep Learning LSTM models and building a deep neural n...

Back to top ↑

Regex

A primer on Python Regular Expression

7 minute read

Regex is a group of characters which helps to find pattern within a string. Regex is used in lot of applications including the search engines, search and for...

Back to top ↑

Dictionary

How to iterate through a python dictionary

9 minute read

A python Dictionary is one of the important data structure which is extensively used in data science and elsewhere when you want to store the data as a key-v...

Back to top ↑

JSON

How to work with JSON in Pandas

5 minute read

JSON is widely used format for storing the data and exchanging. Many of the API’s response are JSON and being light weight it’s used almost everywhere

Back to top ↑

haversine

Back to top ↑

vectorization

Back to top ↑

Plotly

Back to top ↑

to_dict()

Back to top ↑

DecisionTree

Decision Tree in Sklearn

12 minute read

In this post we are going to see how to build a basic decision tree classifier using scikit-learn package and how to use it for doing multi-class classificat...

Back to top ↑

Groupby

Dataframe groupby date and time

3 minute read

In this post we will see how to group a timeseries dataframe by Year,Month, Weeks or days. Additionally, we will also see how to groupby time objects like ho...

Back to top ↑

resample

Dataframe groupby date and time

3 minute read

In this post we will see how to group a timeseries dataframe by Year,Month, Weeks or days. Additionally, we will also see how to groupby time objects like ho...

Back to top ↑

streamlit

Back to top ↑

Swagger

Back to top ↑

Tensors

Vectors, Matrix And Tensors

3 minute read

In this post we will see how large data is stored in multi-dimensional arrays, which is also called as tensors.

Back to top ↑

NearestNeighbor

Back to top ↑

Algorithm

Back to top ↑

Numpy

Back to top ↑

opencv

Back to top ↑

PIL

Back to top ↑

conda

Back to top ↑

groupby

Back to top ↑

pil

Back to top ↑

seaborn

Back to top ↑