Month: July 2021

List of Unicode Superscript Characters

Character Description Character U+2070 SUPERSCRIPT ZERO ⁰ U+2071 SUPERSCRIPT LATIN SMALL LETTER I ⁱ U+2074 SUPERSCRIPT FOUR ⁴ U+2075 SUPERSCRIPT FIVE ⁵ U+2076 SUPERSCRIPT SIX ⁶ U+2077 SUPERSCRIPT SEVEN ⁷ U+2078 SUPERSCRIPT EIGHT ⁸ U+2079 SUPERSCRIPT NINE ⁹ U+207A SUPERSCRIPT PLUS SIGN ⁺ U+207B SUPERSCRIPT MINUS ⁻ U+207C SUPERSCRIPT EQUALS SIGN ⁼ U+207D SUPERSCRIPT LEFT …

List of Unicode Superscript Characters Read More »

NumPy Broadcasting – A Simple Tutorial

Broadcasting describes how NumPy automatically brings two arrays with different shapes to a compatible shape during arithmetic operations. Generally, the smaller array is “repeated” multiple times until both arrays have the same shape. Broadcasting is memory-efficient as it doesn’t actually copy the smaller array multiple times. Here’s a minimal example: Let’s have a more gentle …

NumPy Broadcasting – A Simple Tutorial Read More »

An Introduction To Closures and Decorators in Python

Today’s tutorial will introduce two slightly more advanced concepts of closures and decorators in Python. We’ll explain what they are, how each is defined, and where and how they will help in your coding. Nested Functions I’m sure you are all familiar with functions, and some of you may have used, or heard of, nested …

An Introduction To Closures and Decorators in Python Read More »