from sedona.spark import *
gi_df = g_local(
add_binary_distance_band_column(
hexes_df,
neighbor_search_radius_degrees,
include_self=True,
),
"num_places",
"weights",
star=True
).cache()
gi_df.drop("weights", "h3Cell", "geometry").orderBy(f.col("P").asc()).show()