Deeptendu Santra

Duck Typing in Python

Duck typing is a variation of Dynamic Programming and uses a form of abductive reasoning for type checking. In this article, we will focus on the main intuition of duck typing and examples of ducking typing in python. What is Duck Typing in Python? – Abductive Reasoning The term duck arguably comes from the popular …

Duck Typing in Python Read More »

Numpy Vectorization

In this article, we’ll learn Numpy Vectorization in Python. Numpy is a C implementation of arrays in Python that is comparatively faster while having the same Python interpreter. In this article, we explore how we can apply a function element-wise to a sequence using numpy.vectorize(). Why for loop isn’t best for Numpy Vectorization? To apply …

Numpy Vectorization Read More »

Deploy ML models using Flask

In this article, we discuss how we can deploy ML models using Flask. This article assumes no prior knowledge of the Flask library. What is Deployment? Deployment in very simplified terms means making your code available for use of end-users. Let us take an example here. You design an app that you believe can be …

Deploy ML models using Flask Read More »

Python vs Julia – Compared

In this article, we’ll compare Python vs Julia. Julia programming developed by MIT has come out as one of the top languages that may go on to replace Python in the long run. Though Julia developers strongly believe that Julia and Python go hand in hand, we try to explore why Julia can a potential …

Python vs Julia – Compared Read More »

Pandas: Conditionally Grouping Values

In this article, we’ll be conditionally grouping values with Pandas. We’ve already covered the Python Pandas groupby in detail. So you can take a look through the article if you’re unsure about how the function works. What is Grouping? Grouping a database/data frame is a common practice in every day data-analysis and data-cleaning. Grouping refers …

Pandas: Conditionally Grouping Values Read More »