Skip to content

Commit d2698ab

Browse files
committed
Category
1 parent fd32c17 commit d2698ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dump1090-json/dump1090-json_pub_sub.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,8 @@ def _process_response(self) -> None:
216216
#data.loc[data['alt_baro'] == 'ground', 'on_ground'] = True
217217
data.loc[data['alt_baro'] == 'ground', 'alt_baro'] = self.ground_level / 0.3048
218218
data['alt_baro'] = data['alt_baro'].astype(float) * 0.3048
219+
if "category" in data.columns:
220+
data["category"] = data["category"].astype(str)
219221
if "gs" in data.columns:
220222
data['gs'] = data['gs'].astype(float) * 0.5144444
221223
if "squawk" in data.columns:

0 commit comments

Comments
 (0)