Skip to content

Commit

Permalink
Drop the original inferred locaiton column
Browse files Browse the repository at this point in the history
  • Loading branch information
rantahar committed Nov 22, 2023
1 parent 1ba3b4f commit d337d54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion niimpy/reading/google_takeout.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def location_history(
inferred_location = data.loc[row_index, "inferredLocation"].str[0]
data.loc[row_index, "inferred_latitude"] = inferred_location.str["latitudeE7"] / 10000000
data.loc[row_index, "inferred_longitude"] = inferred_location.str["longitudeE7"] / 10000000
#data.drop("inferredLocation", axis=1, inplace=True)
data.drop("inferredLocation", axis=1, inplace=True)

# Format the activity type column into activity type and
# activity inference confidence. The data is nested a few
Expand Down

0 comments on commit d337d54

Please sign in to comment.