Calculate the length of shared walls of adjacent elements (typically buildings)
Note that data needs to be topologically correct. Overlapping polygons will lead to
Adapted from [Hamaina et al., 2012].
GeoDataFrame containing gdf to analyse
>>> buildings_df['swr'] = momepy.SharedWalls(buildings_df).series
Series containing resulting values