The shapefile (SHP) format is probably one of the most well-known and most common geospatial data format, but there are also GeoJSON, KML, KMZ, and many others. I'll be showing you some of the ways I have learned to read these files in Python.
This is a pretty straightforward task that can be easy to forget if you don’t use them often enough. So let’s get started. This article will help you on how to get today’s date in Python and how to get
I first used git probably around 5 years ago, maybe sometime during the second or third year of my bachelor’s study. The problem is no matter how many times I use git, I still don’t understand it and end up
A tweet can contain a lot of things, from plain text, mentions, hashtags, links, punctuations to many other things. When you’re working on a data science or machine learning project, you may want to remove these things first before you
Excel format (.xlsx) is one of the most common document formats when you’re dealing with data analysis. I generally prefer CSV document format, but sometimes you have to deal with Excel document too. One of the main differences between an
I love the sci-fi genre, especially in movies. But a sci-fi movie combined with action (and probably some monsters too) just earns itself a place in my interest. My guilty pleasure lately is watching fun and simple, sci-fi, action movies.
One of the most common problem when dealing with Twitter data (such as tweets) is knowing how to extract hashtags and mentions, or in some cases knowing how to remove these hashtags and mentions from a tweet. If you’re like
Oftentimes we run into a problem where we are required to generate a list or series of dates between two available dates. Pandas has provided us with some functionalities that made this possible using date_range() or period_range(). First, let’s define
Extracting data in datetime format can be very tricky and frustrating. I have summed up a few things about datetime in Python that I have learned in the code below. Let’s load the packages that we are going to need,