Picking efficient freight portfolio in Python

In previous posts I have demonstrated how you can query stock price data with e.g. pandas_datareader in Python. In this post I will present an algorithm with which you can construct an efficient portfolio based on any set of stocks…

UPS FedEx stock analysis in pandas_datareader

I have already demonstrated how you can retrieve e.g. GDP data from FRED using pandas_datareader in Python. I have also analyzed stock prices for Procter & Gamble using Yahoo Finance as a source and pulling the data via pandas_datareader. In…

Geocoding with Geopy in Python

I have already demonstrated various possibilities for geocoding spatial data in the form of city or location names in R, using APIs such as the one provided by Open Street Map. In this post I will demonstrate the possibility of…

Folium map-based visualization in Python

Using Folium in Python one can display maps. Folium can be installed using pip install. Folium make use of the leaflet.js library. In a previous post I already demonstrated how to e.g. plot markers and heatmaps onto maps in R,…

Geocoding spatial data with tidygeocoder in R

In previous posts I have demonstrated how to geocode location strings using the Open Street Map API in two different ways. The first approach was to implement a function that sents a string to the OSM API directly, using http.…