transbigdata.clean_outofbounds

transbigdata.clean_outofbounds(data, bounds, col=['Lng', 'Lat'])

The input is the latitude and longitude coordinates of the lower left and upper right of the study area and exclude data that are outside the study area

参数:
  • data (DataFrame) – 数据

  • bounds (List) – Latitude and longitude of the lower left and upper right of the study area, in the order of [lon1, lat1, lon2, lat2]

  • col (List) – Column name of longitude and latitude

返回:

data1 – Data within the scope of the study

返回类型:

DataFrame