We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bae9089 + 4b874a4 commit a22f908Copy full SHA for a22f908
src/data_utils.py
@@ -93,12 +93,12 @@ def _extract_data(data: list[list]):
93
# first is the Names, with the first column being the date
94
names = data[0][1::]
95
# second is resettable data
96
- # data comes from csv, so it is str, need to convert to int
+ # data comes from csv, so it is str, need to convert to float
97
since_reset = data[1][1::]
98
- since_reset = [int(x) for x in since_reset]
+ since_reset = [float(x) for x in since_reset]
99
# third is life time data
100
all_time = data[2][1::]
101
- all_time = [int(x) for x in all_time]
+ all_time = [float(x) for x in all_time]
102
103
# Extract both into a dict containing name: quant
104
# using only quantities greater than zero
0 commit comments