For the second requirement did a linear regression on each relationship, only this time separating them into Northern Hemisphere (greater than or equal to 0 degrees latitude) and Southern Hemisphere ...
The expectation is that cities closer to the equator will generally be warmer. To test this, I used Python to generate 1,500 random latitude/longitude pairs and mapped them to real-world cities using ...