You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
df['transmitted_bytes_intervals'] =df.groupby('detail_name')['transmitted_bytes_intervals'].transform(utils.df_fill_mean) # fill first NaN value resulted from diff()
df['received_bytes_intervals'] =df.groupby('detail_name')['received_bytes_intervals'].transform(utils.df_fill_mean) # fill first NaN value resulted from diff()
28
+
29
+
# we checked at ingest if it contains NA values. So NA can only occur if group diff resulted in only one value.
30
+
# Since one value is useless for us we drop the row
31
+
df.dropna(inplace=True)
32
+
33
+
if (df['received_bytes_intervals'] <0).any():
34
+
raiseValueError('NetworkIoCgroupSystemProvider data column received_bytes_intervals had negative values.')
35
+
36
+
if (df['transmitted_bytes_intervals'] <0).any():
37
+
raiseValueError('NetworkIoCgroupSystemProvider data column transmitted_bytes_intervals had negative values.')
0 commit comments