## Sentiment Analysis with Python

In this article we are going to learn how to do some basic sentiment analysis with Python, using a wordlist-based approach and the afinn package. First, you will need to install the...

In this article we are going to learn how to do some basic sentiment analysis with Python, using a wordlist-based approach and the afinn package. First, you will need to install the...

In this lesson we are going to learn how to draw circles with Python Turtle Graphics. We will then modify the default circle method so that we can centre our circles at...

In this article we are going to use Python to test whether a coin is fair. We will do this by making use of the statsmodels package to perform a hypothesis test....

Here’s a useful tip for finding the size of a pandas dataframe. It can get a little confusing as len and size usually give different answers. size gives the total number of...

In this post we are going to explore conditional probability with Python. Here’s a fun and potentially tricksome question about probabilities: In a family with two children, what is the probability that,...

Image courtesy of Sheila Sund from Salem, United States, CC BY 2.0, via Wikimedia Commons. This Python programming challenge is adapted from a challenge on HackerRank called Ransom Note, which is part...

In this lesson, we are going to learn how to retrieve and display stock data using the YFinance library, which makes use of Pandas, the famous and powerful Python data processing library....

In this article we are going to explore probability with Python with particular emphasis on discrete random variables. Discrete values are ones which can be counted as opposed to measured. This is...

In this article we are going to learn about Simpson’s Paradox and explore it with Python programming. Simpson’s Paradox is where data appears to tell a different story when treated as a...

In this article, we are going to explore the Gambler’s Fallacy with Python and p5.js by simulating sequences of coin flips. If I flip a coin 4 times, and the probability of...

© 2019 Compucademy™ All Rights Reserved. Terms and Conditions