Random thoughts




A Tutorial with Python, MatPlotLib and GeoPandas

  1. It assumes everyone in a polling division voted for one party. For example, 42.45% of valid votes in the Ratmalana Polling Division were for the NDF. However, on the map it is colored maroon.
  2. It gives more sparsely populated polling divisions disproportionately more visual space. For example, some of the most densely populated polling divisions in the Colombo District are barely visible.


A Solutionist’s Playbook


And how to rescue science

Lies

Statistics

Damn Lies


From pixels to consistent structured information


In under 10 minutes

  1. The COVID-19 Data Repository by the Center for Systems Science and Engineering (CSSE) at Johns Hopkins University, which we can access at https://github.com/CSSEGISandData/COVID-19 and in aggregate at https://pomber.github.io/covid19/timeseries.json.
  2. The Health Promotion Bureau of Sri Lanka, which we can access at https://www.hpb.health.gov.lk/api/get-current-statistical.

Part 1: Getting the data

pip…


A Simple Tutorial

Geo-Spatial Data

pip install geo-nuuuwan

Example 1: Basic Maps


Redesigning a venerable institution

Image Source: https://www.pinterest.com/pin/515380751084218954/

The Problem

Nuwan I. Senaratna

I am a Computer Scientist and Musician by training. A writer with interests in Philosophy, Economics, Technology, Politics, Business, the Arts and Fiction.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store