Explicitly cast tid to int

This commit is contained in:
Christophe Bedard 2019-12-27 15:59:31 -05:00
parent 8d3f842518
commit 4207732ff0

View file

@ -47,7 +47,7 @@ class MemoryUsageDataModelUtil(DataModelUtil):
data = defaultdict(list)
for index, row in self.data.memory_diff.iterrows():
timestamp = row['timestamp']
tid = row['tid']
tid = int(row['tid'])
diff = row['memory_diff']
previous_value = previous[tid]
next_value = previous_value + diff