In today’s post, we will cover the basics of the web framework Streamlit. I am especially interested in Streamlit’s focus on data science applications. Therefore, we will build a simple web app with some data visualization on a housing price dataset. Read until the end to see a working example. At the same time, I…
All posts in Tutorial
Data Visualization: Bar Chart Animations With Manim
A few weeks ago, I covered how to install and get started with Manim and Python in a blog post and also made a YouTube video about it: In today’s post, I want to expand on Manim and show how we can use it to create bar chart animations. Previously, I made a YouTube video…
Using Manim and Python to Create Animations Like 3Blue1Brown
If you’ve ever been mesmerized by Grant Sanderson’s fluid and captivating animations on his YouTube channel, 3Blue1Brown, you might be wondering how he creates them. The answer lies in a homemade animation engine called Manim, built with Python. While Grant Sanderson’s original version is available, he recommends beginners start with the community edition. This version…
How to Use Stable Diffusion to Generate Images
I show how to use stable diffusion’s text-to-image script to generate AI images using a text prompt. Learn about basic prompt formation.
How To Build a Feedforward Neural Network In Python
Welcome back to another Python post. Today’s topic is about how to create a feedforward neural network in Python, from scratch. That means, without using Tensorflow, Keras, Pytorch, etc. The main library we’ll be using is numpy, which is the computing library for Python. I usually like to understand the underlying concepts of how things…
How to Implement a FIX Trading Engine in Python
A while ago, I started exploring the world of trading in hopes of building my own trading bots and learning more about this field. While researching, I came across the FIX protocol. In this post, I cover some of the basics of the FIX protocol. More specifically, I’m talking about FIX 4.4. Additionally, I am…
Supercharge Your Python Scripts With Command Line Interfaces
In this post, I’ll be showing you how to create a command-line interface (CLI) for your Python scripts. You will be able to run those scripts from the terminal with arguments. Oftentimes, when you write a script, you need it to perform more than one action at a time. One way to provide this functionality…
How to Do Object-Oriented Programming In Python
Learn how object oriented programming is implemented in Python 3 in just a few lines of code.
How to get started with Python | Basic Programming 1
This is a beginner lesson on how to program with Python, with easy-to-follow examples and clarifications. Get started with Python here.
Interactive Plots With Bokeh And Flask
Adding interactive plots to a Flask application can be a simple process. There are several methods to accomplish this, but today I will focus on a graphical Python library called Bokeh. If you have been following my posts, I wrote an article about creating a Flask web app with a MySQL database in the background.…