The definition of the df variable in code form. You can do this by either reducing your dataset size and including all of the data in the constructor of the DataFrame, or you could upload a csv to a public location (chart studio cloud, github, etc.)
Finally, please include a screenshot of the result you are seeing, and a description of what you would like to accomplish.
Thanks!
-Jon
import plotly.plotly as py
import pandas as pd
import plotly.graph_objs as go
go.Scattergeo
import pandas as pd
import plotly.offline as py_offline
import plotly.graph_objs as go
py_offline.init_notebook_mode()
import pandas as pd
cases = []
cases.append(go.Scattergeo(
lon = df[‘longitude’],
lat = df[‘latitude’],
text = df[‘SAM’]
) )
It looks like you added the imports and included the text of the code. But we still need items (1) and (3) above, along with the description of what behavior you want.