Skip to content

Commit

Permalink
fixed naming bug in apple watch
Browse files Browse the repository at this point in the history
  • Loading branch information
bc299 committed Jan 8, 2024
1 parent 1186cee commit 3480576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbdpy/apple_watch.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def read_file(cls, filepath: str, device_brand: str="Apple Watch"):
record_df["sourceName"] = record_df["sourceName"].apply(
lambda x: unicodedata.normalize("NFKC", x)
)
record_df = record_df[record_df["sourceName"].str.contains(device_name)]
record_df = record_df[record_df["sourceName"].str.contains(device_brand)]

# Drop columns that will not be used
drop_cols = ["sourceName", "sourceVersion", "unit", "creationDate", "device"]
Expand Down

0 comments on commit 3480576

Please sign in to comment.