Hello,
I have a dataframe which consists of lat, lon, location. Since I have other big data sets with another kind of data I will use plotly go to add different data. Many files have always the same structure and I often need to copy paste, is there a way to add traces in a go.scattermapbox with a loop?
This is the method I use right now where I have to copy paste it for every entry.
fig = go.Figure(go.Scattermapbox(
mode = "markers+lines",
lon = [lon],
lat = [lat],
marker = {'size': 10}))
fig.show()
My data: