Closed tm-nicco closed 2 years ago
@tm-nicco can you share a gist or a colab notebook to replicate the issue? tia!
@tm-nicco can you share a gist or a colab notebook to replicate the issue? tia!
Attached the link of my colab notebook on the description. Context: I tried visualizing ookla internet speeds on PH tiles. Upon using generate_ookla_features
for my feature engineering process, imputed_mean
produced object type values instead of numerical which triggered the error whenever I'm executing viz_choropleth
.
Hi @tm-nicco I was able to reproduce and find the source of the problem in the colab notebook In the following cell,
Please change the line outlined in RED to the following:
aoi = aoi.fillna(value=0)
to fix the problem.
Best regards, Butch
cc @alronlam - please update the demo integration notebook to fix the issue cc @tm-kah-alforja for issue status update
Got it. Thank you, @butchtm!
[Description] I tried visualizing ookla internet speeds using folium and upon using mean values this error was produced:
[Sample data type output]
[Solution] Cast data into numerical /
float64
due toimputed_mean
setting its type as object:[New data type output]
Link to Colab Notebook: https://colab.research.google.com/drive/1CDqqb5mTNMS3A0MaGkLOcCxqWlzumGDk
cc: @alronlam