Giacomo Debidda

Giacomo DebiddaWritten by Giacomo Debidda, Pythonista & JS lover (D3, React). You can find me on Twitter & Github

Reading large Excel files with Pandas

01 September, 2018 | 3 min Read

Last week I took part in a Dataviz Battle on the dataisbeautiful subreddit , where we had to create a visualization from the TSA claims…

12 Years of Fires in Sardinia

22 August, 2018 | 5 min Read

This summer I was looking for some data visualization challenges and I came across this cool project by Mauro Melis. Mauro created it for…

Export a GeoDataFrame to Spatialite

21 August, 2018 | 7 min Read

I have been doing some geospatial analysis in the last few months, and since I came back from GeoPython in Basel (really good conference…

Jupyter notebook on HDF5, h5py, PyTables, Datashader

06 January, 2018 | 1 min Read

Last month at a PyDataMunich meetup I gave a short workshop on HDF5 and the python packages that we can use when dealing with HDF5 files…

Interesting things other people did in 2017

31 December, 2017 | 5 min Read

I like to compile a list of things I stumbled upon during the year and that I found interesting. It’s an idea I adopted from Jeff Leek’s…

Reactive Dashboards with Plotly Dash

10 December, 2017 | 1 min Read

Last month I gave a talk at PyMunich on how to create reactive dashboards with Plotly Dash . I have already written about Dash here…

How to get started with regl and Webpack

31 October, 2017 | 18 min Read

I have been wanting to play around with the regl library since I wathed the talk that Mikola Lysenko gave at PLOTCON 2016 , and this week…

A 5 minute Intro to Hypothesis

14 October, 2017 | 7 min Read

Let’s say you have a Python module called where you have a function called that you want to test. This function adds two numbers, so…

How to import d3 plugins with Webpack

13 October, 2017 | 2 min Read

Last week I started working on a new visualization and I wanted to include a couple of d3 plugins: d3-legend by Susie Lu and d3-line…

A simple git hook for your Python projects

10 September, 2017 | 1 min Read

A git hook is a script that git executes before or after a relevant git event or action is triggered. The hooks are stored in the…

Visualize Earthquakes with Plotly Dash

31 August, 2017 | 9 min Read

Three years ago I followed a few data science courses offered by the Johns Hopkins University on Coursera. Today these courses should be…

A few timeless lessons from Peopleware

29 August, 2017 | 7 min Read

One of the best books I’ve ever read is Peopleware, by Tom DeMarco and Timothy Lister. It’s a well known book in the software development…

sklearn-pandas

20 August, 2017 | 9 min Read

sklearn-pandas is a small library that provides a bridge between scikit-learn ’s machine learning methods and pandas Data Frames. In this…

Quickstart Python projects with Invoke

07 August, 2017 | 6 min Read

Every time I want to try out a new Python library or develop a small weekend project I need to create a git repository and configure a…

How to write a killer README

29 July, 2017 | 9 min Read

A README file is the first thing that someone encounters when he finds your project. It’s a public-facing measure of your work, so it’s…

Pipenv

28 July, 2017 | 8 min Read

When it comes to manage environments and dependencies in Python projects, a very popular combination includes Virtualenvwrapper to manage…

My personal Git Memo

20 July, 2017 | 6 min Read

Here is an unordered list of git commands, configurations, tricks, articles, gotchas that I don’t want to forget. Find out all commit hashes…

Getting started with Webpack and ES6

12 May, 2017 | 8 min Read

Project starters like Angular starter and Cookiecutter-Django are really amazing when you are experienced with the technology they use…

Webpack plugins that I am currently using

11 May, 2017 | 5 min Read

Webpack is probably the most popular module bundler for Javascript applications. Its idea is to have a single tool that manages all the…

Three.js project starter for ES6 and Webpack 2

30 April, 2017 | 5 min Read

Some months ago I came across this hilarious article on HackerNoon: how it feels to learn javascript in 2016 (if you missed it, I suggest…

MVC pattern in Python: Dataset

15 April, 2017 | 12 min Read

This is the third article of a series of blog posts related to the MVC pattern. In the first article we saw how to divide business logic…

MVC pattern in Python: SQLite

10 April, 2017 | 12 min Read

This is the second article of a series of blog posts related to the MVC pattern. Last time we saw how to divide business logic…

MVC pattern in Python: Introduction and BasicModel

02 April, 2017 | 14 min Read

If you have ever worked with Graphical User Interfaces or web frameworks (e.g. Django), chances are that you heard about the Model-View…

Factory Method and Abstract Factory in Python

13 March, 2017 | 6 min Read

Factory Method and Abstract Factory are creational design patterns and allow you to create objects without manually invoking a constructor…

First steps with PostgreSQL

13 March, 2017 | 5 min Read

In a Django project, PostgreSQL is probably the most popular choice when it comes to deploy a database for a production environment. In this…

Multiply your Python Unit Test Cases with DDT

13 March, 2017 | 3 min Read

DDT (Data-Driven Tests) is a small python module that allows you to multiply your unit test cases for free. The idea is pretty simple: you…

Strategy pattern in Python

28 January, 2017 | 4 min Read

Strategy (also known as Policy ) is a behavioral design pattern that enables an algorithm’s behavior to be selected at runtime. All…

Template Method pattern in Python

27 January, 2017 | 5 min Read

Behavioral design patterns are a family of patterns which focus on algorithms and the assignments of responsibilities between objects. They…

Bridge pattern in Python

21 January, 2017 | 5 min Read

I struggled quite a bit with the Bridge pattern. The idea itself is rather simple, decouple an interface from its implementation, but I…

Visualize GML files with D3

12 January, 2017 | 4 min Read

I have recently switched from D3 v3.0 to D3 v4.0, and I have already encountered some important changes. For example, the scaling functions…

Interesting things other people did in 2016

29 December, 2016 | 3 min Read

Some time ago I followed a data science course taught by Jeff Leek on Coursera. The course was so good and thorough that eventually they…

Virtual environments with virtualenvwrapper

11 December, 2016 | 2 min Read

is a set of shell functions built on top of the python module, and make it even easier to create and manage python virtual environments…

Better Git commits

04 December, 2016 | 4 min Read

Knowing what changes to commit and when to commit them is a valuable skill that comes in handy either if you are working in a team or by…

Squashing Git commits

04 December, 2016 | 5 min Read

In Git you can revise your commit history before pushing your changes to a remote repository. This comes in handy whenever you want to group…

Façade pattern in Python

26 November, 2016 | 3 min Read

Let’s continue our journey through the most used design patterns by implementing a Façade pattern in Python. Façade is a structural design…

Adapter pattern in Python

26 November, 2016 | 7 min Read

Some weeks ago I decided to start studying design patterns and implementing them in Python. Design patterns and Head first in design…