Calculating bilateral distances across a large dataframe (>1 mil rows) of longitude and latitude
Hi i’ve attempted this with pandas by creating a distance matrix of all the 1 mil locations (so a symmetric matrix of 1 million by 1 million) needless to say it does not work as it is too big for pandas 🙁
python : Identify areas that are not fully connected in a .gal weights file
I have used GeoDa to create a .gal weights file from a shape file, Queen congruity. In GeoDa there are no disconnected polygons. When I read this into Jupyter Notebook I am informed that there are 6 disconnected components: