polys_to_df()

Contents

polys_to_df()#

liesel_gam.polys_to_df(polys)[source]#

Turns a polys dictionary into a dataframe appropriate for plotting.

Parameters:

polys (Mapping[str, Array | ndarray | bool | number | bool | int | float | complex]) – Dictionary of arrays. The keys of the dict are the region labels. The corresponding values define the region by defining polygons. The neighborhood structure can be inferred from this polygon information.

Return type:

DataFrame