Drop It Like It’s Hot

I have a recurring dream where my instructor from a coding boot camp would constantly beat my head with a ruler telling me to read a package or library’s documentation. Hence, as a past time, I would find myself digging into Python or Panda’s documentation. Today, I found myself wandering into pandas’ .drop() function. So, … Continue reading Drop It Like It’s Hot

Selecting Rows with .loc

As data scientists, we spent most of our time wrangling knee-deep in manipulating data using Pandas. In this post, we’ll be looking at the .loc property of Pandas to select rows based on some predefined conditions. Let’s open up a Jupyter notebook, and let’s get wrangling! The Data We will be using the 311 Service … Continue reading Selecting Rows with .loc

Into the Heart of Darkness - Pt. 2

Exploring the Trump Twitter Archive with spaCy. In a previous post, we set out to explore the dataset provided by the Trump Twitter Archive. My initial goal was to do something fun by using a very interesting dataset. However, it didn’t quite turn out that way. On this post, we’ll continue our journey but this time … Continue reading Into the Heart of Darkness - Pt. 2

Into the Heart of Darkness - Pt. 1

Exploring the Trump Twitter Archive with Python. For beginners. In this post, we’ll explore the dataset provided by the Trump Twitter Archive. My goal was to do something fun by using a very interesting dataset. However, as it turned out, exposure to Trump’s narcissism and shenanigans were quite depressing — if not traumatic. You’d been warned! For … Continue reading Into the Heart of Darkness - Pt. 1