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 [HLM12].
GeoDataFrame containing gdf to analyse
>>> buildings_df['swr'] = momepy.SharedWalls(buildings_df).series
Series containing resulting values
Initialize self. See help(type(self)) for accurate signature.