Skip to content

Commit

Permalink
minor fix basic cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
oserttas-math committed Nov 3, 2021
1 parent bd87b29 commit c002708
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/basic_cleaning/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ def go(args):
logger.info("Filtering Locational Boundaries of Lat: %s, long: %s", long_values, lat_values
)
idx_two = (
data_frame_processed["longitude"].between(long_values) &
data_frame_processed["latitude"].between(lat_values)
data_frame_processed["longitude"].between(long_values[0], long_values[1]) &
data_frame_processed["latitude"].between(lat_values[0], lat_values[1])
)

data_frame_processed = data_frame_processed[idx_two].copy()
Expand Down

0 comments on commit c002708

Please sign in to comment.