Python

Pandas iloc – How to select rows using index in DataFrames?

Pandas iloc is a method for integer-based indexing, which is used for selecting specific rows and subsetting pandas DataFrames and Series. The command to use this method is pandas.DataFrame.iloc() The iloc method accepts only integer-value arguments. However, these arguments can be passed in different ways. In this article, you will understand different methods of subsetting …

Pandas iloc – How to select rows using index in DataFrames? Read More »

Pandas drop columns using dataframe.drop and all other methods

To drop a single column or multiple columns from pandas dataframe in Python, you can use `df.drop` and other different methods. Columns from a DataFrame are dropped if they are not relevant to your analysis or problem you are trying to solve. When building a machine learning models, they are removed if it is redundant …

Pandas drop columns using dataframe.drop and all other methods Read More »

matplotlib feature image

Matplotlib Plotting Tutorial – Complete overview of Matplotlib library

Matplotlib is the most popular Python library to plot beautiful graphs. This tutorial guides you to grasp fundamental plotting through reproducible examples. Useful Posts: 1. Matplotlib Beginners Tutorial 2. Top 50 Matplotlib Plots for Data Analysis Overview This tutorial takes you through the following well-rounded concepts: 1. Plotting your first graph 2. Line style and …

Matplotlib Plotting Tutorial – Complete overview of Matplotlib library Read More »

dask parallel computing in python

Dask – How to handle large dataframes in python using parallel computing

Dask provides efficient parallelization for data analytics in python. Dask Dataframes allows you to work with large datasets for both data manipulation and building ML models with only minimal code changes. It is open source and works well with python libraries like NumPy, scikit-learn, etc. Let’s understand how to use Dask with hands-on examples. Dask …

Dask – How to handle large dataframes in python using parallel computing Read More »

Gradient Boosting – A Concise Introduction from Scratch

Gradient Boosting is a machine learning algorithm, used for both classification and regression problems. It works on the principle that many weak learners (eg: shallow trees) can together make a more accurate predictor. A Concise Introduction to Gradient Boosting. Photo by Zibik How does Gradient Boosting Works? Gradient boosting works by building simpler (weak) prediction …

Gradient Boosting – A Concise Introduction from Scratch Read More »

Complete Guide to Natural Language Processing (NLP) – with Practical Examples

Natural language processing (NLP) is the technique by which computers understand the human language. NLP allows you to perform a wide range of tasks such as classification, summarization, text-generation, translation and more. NLP has advanced so much in recent times that AI can write its own movie scripts, create poetry, summarize text and answer questions …

Complete Guide to Natural Language Processing (NLP) – with Practical Examples Read More »

Feature image for Portfolio optimization

Portfolio Optimization with Python using Efficient Frontier with Practical Examples

Portfolio optimization in finance is the technique of creating a portfolio of assets, for which your investment has the maximum return and minimum risk. Investor’s Portfolio Optimization using Python with Practical Examples. Photo by Markus In this tutorial you will learn: What is portfolio optimization? What does a portfolio mean? What are assets, returns and …

Portfolio Optimization with Python using Efficient Frontier with Practical Examples Read More »

How to use tf.function to speed up Python code in Tensorflow

tf.function is a decorator function provided by Tensorflow 2.0 that converts regular python code to a callable Tensorflow graph function, which is usually more performant and python independent. It is used to create portable Tensorflow models. Introduction Tensorflow released the second version of the library in September 2019. This version, popularly called Tensorflow2.0 marked significant …

How to use tf.function to speed up Python code in Tensorflow Read More »

Tensorflow

TensorFlow vs PyTorch – A Detailed Comparison

Compare the popular deep learning frameworks: Tensorflow vs Pytorch. We will go into the details behind how TensorFlow 1.x, TensorFlow 2.0 and PyTorch compare against eachother. And how does keras fit in here. Table of Contents: Introduction Tensorflow: 1.x vs 2 Difference between static and dynamic computation graph Keras integration or rather centralization What is …

TensorFlow vs PyTorch – A Detailed Comparison Read More »

spaCy Tutorial – Complete Writeup

spaCy is an advanced modern library for Natural Language Processing developed by Matthew Honnibal and Ines Montani. This tutorial is a complete guide to learn how to use spaCy for various tasks. Overview 1. Introduction The Doc object 2. Tokenization with spaCy 3. Text-Preprocessing with spaCy 4. Lemmatization 5. Strings to Hashes 6. Lexical attributes …

spaCy Tutorial – Complete Writeup Read More »

Waterfall Plot in Python

Waterfall Plot in Python

Waterfall chart is a 2D plot that is used to understand the effects of adding positive or negative values over time or over multiple steps or a variable. Waterfall chart is frequently used in financial analysis to understand the gain and loss contributions of multiple factors over a particular asset. Contents Introduction Simple Waterfall Plot …

Waterfall Plot in Python Read More »

Python JSON

Python JSON – Guide

JSON stands for JavaScript Object Notation. JSON is a lightweight data format used for data interchange between multiple different languages. It is easy to read for humans and easily parsed by machines. CONTENTS Brief Overview Purpose of JSON Serializing JSON dumps() function dump() function Deserializing JSON loads() function load() function Complex number encoding Complex JSON …

Python JSON – Guide Read More »

Course Preview

Machine Learning A-Z™: Hands-On Python & R In Data Science

Free Sample Videos:

Machine Learning A-Z™: Hands-On Python & R In Data Science

Machine Learning A-Z™: Hands-On Python & R In Data Science

Machine Learning A-Z™: Hands-On Python & R In Data Science

Machine Learning A-Z™: Hands-On Python & R In Data Science

Machine Learning A-Z™: Hands-On Python & R In Data Science