Category: Tutorials

Data Science, Tutorials

Analyzing Senate Stock Trades

Analyzing Stock Market Activity of US Senators with Python¶ In 2012, a law called ” Stop Trading on Congressional Knowledge (STOCK) Act of 2012″ was passed, which prohibits the use of non-public information for private profit, including insider trading by members of Congress and other government employees. This law however did not completely ban stock, […]

Data Science, Tutorials

Visualizing Prediction Markets with Kalshi and Python

Visualizing Prediction Markets with Python and Kalshi¶ In this blog post we’ll explore Prediction Markets using Kalshi. What is Kalshi?¶ Kalshi is a predictions market, regulated by the Commodity Futures Trading Commission (CFTC) where you can buy event contracts based on future outcomes for certain events, such as the number of COVID cases in the […]

Python Basics, Tutorials

How to Convert A .py Script into A .exe File

Picture this: you’ve just finished creating a fantastic Python program and intend to let the world see it. You then send your friend a directory containing all your scripts and encourage them to try it out. Only first, they must install Python and then run the program via the IDLE shell or the command line. […]

Data Science, Tutorials

How to install JupyterLab and Jupyter Notebook

For years, Jupyter Notebook, with its simple-to-use, streamlined, and document-centric interface has been the go-to web application for creating and sharing scientific computational documents. It supports a wide range of programming languages, and it allows users to produce rich and interactive outputs in a range of formats. In turn, JupyterLab is the next generation of […]


Using Python to Solve Wordle

Wordle is a fun puzzle to solve. It’s a word square where you have to fill in the crossword-like grid with words that fit into it. The best way to start is by looking at the grid, thinking about what letters are already there, and finding words that match those letters. You’ll find that some […]

Python Basics, Tutorials

How to perform web scraping with Python!

Guide to Web Scraping with Python¶ In this blog post we’ll get you started with web scraping and Python. Before we begin, here are some important rules to follow and understand: Always be respectful and try to get premission to scrape, do not bombard a website with scraping requests, otherwise your IP address may be […]

Deep Learning, Natural Language Processing, Tensorflow, Tutorials

Using Deep Learning and Tensorflow to generate new song lyrics in the style of Weezer

Welcome to this blog post on Natural Language Processing, specifically generating new text! In this blog post we’ll explore how to gather a bunch of Weezer lyrics and train a Recurrent Neural Network (RNN) to generate new lyrics character by character. Let’s dive in! Gathering the Data¶ Let’s leverage an existing an API to gather […]