Skip to content

Parsing Address strings in Python: structure address text data in python

Getting structured address components (Street name, street number, street direction, city, state/province, etc.) from unstructured text examples of using ez_address_parser and usaddress packages Use-case: Let’s say we want to extract consistent and structured address information from raw text or from… Read More »Parsing Address strings in Python: structure address text data in python

Reverse Geocoding: Find city names from latitude and longitude coordinates

– cross reference and apply shapefile polygons on coordinates in data – Python/GIS | Geopandas & shapley Use-case: Applying reverse-geocoding free of charge using an appropriate shapefile (including polygons data) in Python. Let’s say you have some geographical coordinates in… Read More »Reverse Geocoding: Find city names from latitude and longitude coordinates

How-to: Geographical visualization of a route or road path such as bus transits

This tutorial shows how to visualize an interactive map in python. We visualize a map of polyline or a route or road map in python. We use an example of transit or bus route map to visualize in this blog.… Read More »How-to: Geographical visualization of a route or road path such as bus transits

Sorting spreadsheets based on one or multiple columns – quick solution for slow loading sheets in excel or google sheets

– simple code win in Python GIS tutorial Use-case: Sort a tabular data based on one or multiple columns using a simple and accessible python method. Specially useful for less technical background who may deal with a spreadsheet in excel… Read More »Sorting spreadsheets based on one or multiple columns – quick solution for slow loading sheets in excel or google sheets

How to determine if a coordinate locates within any distance from a reference point such as center of city – Python

Simple code project in Python GIS tutorial Use-Case:  I wanted to create consistency and customization in how geographical units such as city is defined in my data. I have a set of observation with their address coordinates within different cities… Read More »How to determine if a coordinate locates within any distance from a reference point such as center of city – Python

Remove Duplicates from a spreadsheet based on all or subset of columns | Google sheets/Excel | Python/Colab | Data Solution for beginners

– efficient & ready-to-execute for slow loading sheets in Pyhton / Google Colab Goal of this tutorial: efficient and simple removal of duplicates from spreadsheet data! In this tutorial and video, I show you how to remove duplicates such as in this data. Fast and actionable. Specially for bigger data where loading… Read More »Remove Duplicates from a spreadsheet based on all or subset of columns | Google sheets/Excel | Python/Colab | Data Solution for beginners

How to start r coding: packages installation in R, and an interactive chart example

Code available to download. A tutorial for beginners on how to start r coding scripts, installing R packages, and interactive chart visualization examples, Code available to download. Begin all your R scripts with this snippet! Automatically installing and load library… Read More »How to start r coding: packages installation in R, and an interactive chart example