Skip to content

Commit

Permalink
fix proper boundary
Browse files Browse the repository at this point in the history
  • Loading branch information
snehakumari321 committed Mar 5, 2023
1 parent d7c443d commit a3633c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/basic_cleaning/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ def go(args):
# Convert last_review to datetime
df["last_review"] = pd.to_datetime(df["last_review"])

# # Filter proper boundary
# idx = df["longitude"].between(-74.25, -73.50) & df["latitude"].between(40.5, 41.2)
# df = df[idx].copy()
# Filter proper boundary
idx = df["longitude"].between(-74.25, -73.50) & df["latitude"].between(40.5, 41.2)
df = df[idx].copy()

df.to_csv(args.output_artifact, index=False)

Expand Down

0 comments on commit a3633c9

Please sign in to comment.