aboutsummaryrefslogtreecommitdiff
path: root/solver2.py
diff options
context:
space:
mode:
authorTa180m2020-04-29 17:07:28 -0500
committerTa180m2020-04-29 17:07:28 -0500
commite2b184de35e6a82755455425127419da06556a96 (patch)
tree50e4a67f6fdf0cb66564c5a130b5398ea8de4f90 /solver2.py
parent89400085a70cb28562abe93a2bb2445bd912692f (diff)
tried to fix some things, script is still broken
Diffstat (limited to 'solver2.py')
-rw-r--r--solver2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/solver2.py b/solver2.py
index ae2403a..906673c 100644
--- a/solver2.py
+++ b/solver2.py
@@ -45,7 +45,7 @@ class Learner(object):
if args.end != None:
confirmed_sums = np.sum([reg.loc[args.start:args.end].values for reg in country_df.iloc], axis = 0)
else:
- confirmed_sums = np.sum([reg.loc[[args.start:]].values for reg in country_df.iloc], axis = 0)
+ confirmed_sums = np.sum([reg.loc[args.start:].values for reg in country_df.iloc], axis = 0)
if args.end != None:
new_data = pd.DataFrame(confirmed_sums, country_df.iloc[0].loc[args.start:args.end].index.tolist())