Python

Numpy Feature Image

Numpy Reshape – How to reshape arrays and what does -1 mean?

How to reshape a numpy array? The numpy.reshape() function is used to reshape a numpy array without changing the data in the array. It is a very common practice to reshape arrays to make them compatible for further calculations. In this article, you will learn about the possible use cases of the numpy.reshape function. Announcement: …

Numpy Reshape – How to reshape arrays and what does -1 mean? 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 »

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.     Spacy for NLP course: Master industry level Natural Language Processing using Spacy. Learn how to setup Spacy, …

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 »

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 »

datetime in Python

datetime in Python – Simplified Guide with Clear Examples

datetime is the standard module for working with dates in python. It provides 4 main objects for date and time operations: datetime, date, time and timedelta. In this post you will learn how to do all sorts of operations with these objects and solve date-time related practice problems (easy to hard) in Python. datetime in …

datetime in Python – Simplified Guide with Clear Examples Read More »

Logging in Python

Python Logging – Simplest Guide with Full Code and Examples

The logging module lets you track events when your code runs so that when the code crashes you can check the logs and identify what caused it. Log messages have a built-in hierarchy – starting from debugging, informational, warnings, error and critical messages. You can include traceback information as well. It is designed for small …

Python Logging – Simplest Guide with Full Code and Examples Read More »

Python @Property Explained – How to Use and When? (Full Examples)

A python @property decorator lets a method to be accessed as an attribute instead of as a method with a ‘()’. Today, you will gain an understanding of when it is really needed, in what situations you can use it and how to actually use it. Contents 1. Introduction2. What does @property do?3. When to …

Python @Property Explained – How to Use and When? (Full Examples) Read More »

parallel processing python

Parallel Processing in Python – A Practical Guide with Examples

Parallel processing is a mode of operation where the task is executed simultaneously in multiple processors in the same computer. It is meant to reduce the overall processing time. In this tutorial, you’ll understand the procedure to parallelize any typical logic using python’s multiprocessing module. Contents 1. Introduction 2. How many maximum parallel processes can …

Parallel Processing in Python – A Practical Guide with Examples 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