for i in continuous_data.columns :
plt.figure()
continuous_data.plot(x="Lattitude", y="Longtitude", kind="scatter",alpha=0.4,figsize=(12,10),c="Price",colormap="gist_rainbow",s=continuous_data.i,colorbar=True)
plt.legend()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-8-2489dccddba7> in <module>()
1 for i in continuous_data.columns :
2 plt.figure()
----> 3 continuous_data.plot(x="Lattitude", y="Longtitude", kind="scatter", alpha=0.4,figsize=(12,10),c="Price",colormap="gist_rainbow",s=continuous_data.i,colorbar=True)
4 plt.legend()
/opt/conda/lib/python3.6/site-packages/pandas/core/generic.py in __getattr__(self, name)
3612 if name in self._info_axis:
3613 return self[name]
-> 3614 return object.__getattribute__(self, name)
3615
3616 def __setattr__(self, name, value):
AttributeError: 'DataFrame' object has no attribute 'i'
<matplotlib.figure.Figure at 0x7ff9c144aa58>