Skip to content

Commit

Permalink
Change column header names for data clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
vshie committed Feb 2, 2024
1 parent 8125068 commit eaadd7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def main():
distance_data = distance_response.json()['message'] # Extract the data from the responses
gps_data = gps_response.json()['message']
yaw_data = yaw_response.json()['message']
column_labels = ['Unix Timestamp', 'Date', 'Time','Distance (cm)', 'Confidence (%)', 'Yaw (deg)','Latitude', 'Longitude']
column_labels = ['Unix Timestamp', 'Date', 'Time','Depth (cm)', 'Confidence (%)', 'Vessel heading (deg)','Latitude', 'Longitude']
timestamp = int(time.time() * 1000) # Convert current time to milliseconds
dt = datetime.fromtimestamp(timestamp / 1000) # Convert timestamp to datetime object
unix_timestamp = timestamp
Expand Down

0 comments on commit eaadd7a

Please sign in to comment.