## What Does ‘i’ Mean In Python (Beginner Explained)

One of the most common things you’ll run into in python programming is the i variable in statements such as “for i in range“. To keep it simple, this i variable is used as a temporary variable, iterator or filler variable to be used as an increment counter, in doing so we can use it…

## How To Create A Pie Chart Using Categorical Data In Matplotlib (Python)

If you only have categorical data and want to create a pie chart matplotlib, you’ll need to convert and summarise your data into a “percentage distribution” or a summary of the data. By doing so you can create a percentage distribution that can be plotted by matplotlib. Below we’ll show you an example of how…

## How To Annotate The Arrow Position In Matplotlib Using Python

To annotate the arrow position in matplotlib using python we can use the function plt.annotate from matplotlib, more specifically we can use the attribute text to write our text and xytext to declare the position of our text within the plt.anntoate function. Below, we’ll show you a simple annotation that we did on our arrow….

## How To Get Silver Price Data In Python Using Yfinance

There are several ways to get silver prices data in python, such as using an API, doing web scraping and many more. This can be tedious, can cost you money (depending on the API) and, most importantly, is very time-consuming. However, the simplest and free solution to get silver prices is by retrieving them straight…

## How To Round A Float To 2 Decimal Places In Python

To round a float or decimal number to 2 decimal places in python, we can use it’s pre-built function “Round()”. The way this function works is we can input our decimal number in the first instance separated by a comma and the number of decimal places we want our float to stop, in our case,…

## How To Ignore Exceptions And Proceed In Python

Whenever you run into exceptions in python, this causes errors and most of the time, python will stop the code altogether. To avoid situations like this, you can use proper ignore exceptions techniques such as the try and except statement. For example: Basically, in the try section, we run the code that may cause an…

## How To Check If Current Day Is Weekday Or Weekend In Python

To check if the current day is a weekday or weekend in python we need to import the datetime() package and use an if-else statement to classify the days. Step 1: Import datetime package and date The date time package supplies us with the tools to manipulate and grab the current day’s value. Step 2:…

## Is Python Crash Course Worth it? (An Honest Review)

Python crash course is one of the highest recommended books for beginners to start programming in python. If you’re like most beginners, you’re probably wondering if this book is worth investing your time and money into. So to make your lives a bit easier, in this article, we provide an honest review of the entire…

## Top 10 Python Books With Coding Exercises And Projects

Learning Python through coding exercises and projects is a great way to get started with python programming by doing and progressing outside the realms of a beginner tutorial loop. If you’re having trouble with finding the right exercises or projects, then using a book dedicated to providing python coding exercises and projects can definitely help….

## How To Get A Certificate In Python (5 Easy Steps)

To get a certificate in python you will need to find an institute that provides python certificates, finish their course and then receive the dedicated certificate. A Certificate in python programming can show employers that you have a fundamental understanding of using python. One of the added benefits of having a certificate in python is…