Changes calculation of 5G handover.

This commit is contained in:
2023-04-28 09:00:35 +02:00
parent 5dcb2450b3
commit e5bea755ba

View File

@@ -146,7 +146,7 @@ if __name__ == "__main__":
ax00.axvline(index, ymin=0, ymax=1, color="skyblue")
first = True
nr_handovers = transmission_df["NR5G_Cell_ID"].dropna().diff()
nr_handovers = transmission_df["NR5G_Cell_ID"].replace(0, np.NaN).dropna().diff()
for index, value in nr_handovers.items():
if value > 0:
if first: