import pandas
df = pandas.read_csv('311_Service_Requests_-_Vacant_and_Abandoned_Buildings_Reported.csv',low_memory=False)
df.head()
%pylab inline
fig = plt.figure()
plot(df['LONGITUDE'],df['LATITUDE'],'.',markersize=1,alpha=0.01)
xlim(-87.9, -87.5)
ylim( 41.6, 42.1)
R = 3959 # Question: What is this number?
fig = plt.figure()
ax = fig.add_subplot(111,aspect=1.0)
plot(R*cos(41.8*pi/180)*df['LONGITUDE']*pi/180,R*df['LATITUDE']*pi/180,
'.',markersize=1,alpha=0.01)
xlim(-4525, -4505)
ylim(2875, 2905)
Compare this to the map of chicago
from IPython.display import Image
Image('abandoned_plot2.png',width=600)