Aggregate by project as well as description now that we have it
This commit is contained in:
parent
796284931e
commit
f51acf4fec
1 changed files with 1 additions and 1 deletions
|
@ -19,4 +19,4 @@ timelog['description'] = (np.where(timelog['description'].str.contains(': '), ti
|
||||||
|
|
||||||
# Condense duplicate entries by date, summing the minutes spent, and listing
|
# Condense duplicate entries by date, summing the minutes spent, and listing
|
||||||
# the first started and last recorded times for each task.
|
# the first started and last recorded times for each task.
|
||||||
tl = timelog.groupby(["date", "description"]).agg({"time": 'sum', "started": 'min', "recorded": 'max'}).reset_index()
|
tl = timelog.groupby(["date", "project", "description"]).agg({"time": 'sum', "started": 'min', "recorded": 'max'}).reset_index()
|
||||||
|
|
Loading…
Reference in a new issue