Tag numpy

Count Rainy Days with Python

Count Rainy Days with Python

In this article, I will walk you through a numerical computational task with Python to count rainy days with python. Imagine you have a data series that represents the amount of precipitation each day for a year in a given…

NumPy Broadcasting in Python

NumPy Broadcasting in Python

In Python, NumPy Broadcasting describes how arithmetic works between arrays of different shapes. This is a very powerful feature, but one that can be easily misunderstood, even by experienced users. In this article, I will introduce you to NumPy Broadcasting…