Write out all data to one or another CSV
This commit is contained in:
parent
93a7049de5
commit
4106341b92
1 changed files with 3 additions and 2 deletions
|
@ -190,10 +190,11 @@ harvest.drop(columns = ['started', 'recorded', 'time'], inplace=True)
|
||||||
|
|
||||||
if not debug:
|
if not debug:
|
||||||
harvest.to_csv('harvest-timesheets.csv', index=False)
|
harvest.to_csv('harvest-timesheets.csv', index=False)
|
||||||
other.to_csv('not-harvest.csv', index=False)
|
other.to_csv('personal-other.csv', index=False)
|
||||||
|
unknown.to_csv('unknown.csv', index=False)
|
||||||
settings.pomodoro_latest_recorded(latest)
|
settings.pomodoro_latest_recorded(latest)
|
||||||
else:
|
else:
|
||||||
hrvst_grouped = hrvst.groupby("project").agg({"time": "sum"})["time"]/60
|
hrvst_grouped = hrvst.groupby("project").agg({"time": "sum"})["time"]/60
|
||||||
other_grouped = other.groupby("project").agg({"time": "sum"})["time"]/60
|
other_grouped = other.groupby("project").agg({"time": "sum"})["time"]/60
|
||||||
unknown_grouped = unknown.groupby("project").agg({"time": "sum"})["time"]/60
|
unknown_grouped = unknown.groupby("project").agg({"time": "sum"})["time"]/60
|
||||||
print("We do not write to the harvest-ready.csv nor update the latest recorded setting when run interactively in the python shell.")
|
print("We do not write to CSV nor update the latest recorded setting when run interactively in the python shell.")
|
||||||
|
|
Loading…
Reference in a new issue