Spatially stratified sampling partitions the data into a grid and randomly samples each partition independently.Documentation Index
Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
Use this file to discover all available pages before exploring further.
spatially_stratified_sample
Spatially stratified sampling of a DataFrame containing spatial data.
Each dimension will be rounded to the nearest integer.
Parameters
DataFrame containing spatial data to be sampled. Must contain a geometry column.
Sampling rate between 0 and 1
Number of partitions to divide the data into. If not a perfect square, the number of partitions
Column containing the geometry data. Default is “geometry”
Seed for sampling the data

