transbigdata.clean_outofshape
- transbigdata.clean_outofshape(data, shape, col=['Lng', 'Lat'], accuracy=500)
Input the GeoDataFrame of the study area and exclude the data beyond the study area
- 参数:
data (DataFrame) – 数据
shape (GeoDataFrame) – The GeoDataFrame of the study area
col (List) – Column name of longitude and latitude
accuracy (number) – The size of grid. The principle is to do the data gridding first and then do the data cleaning. The smaller the size is, the higher accuracy it has
- 返回:
data1 – Data within the scope of the study
- 返回类型:
DataFrame