Fix typo in comment
This commit is contained in:
parent
105f2cd185
commit
3c519a8723
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ for preferred, alternatives in compound_project_tasks.items():
|
||||||
timelog.loc[timelog.project.str.lower().isin(alternatives), "project"] = preferred
|
timelog.loc[timelog.project.str.lower().isin(alternatives), "project"] = preferred
|
||||||
|
|
||||||
# If a compound project was specified, break that out into a sub-project (in
|
# If a compound project was specified, break that out into a sub-project (in
|
||||||
# Harvest, we use Task, which is really task type, for this.
|
# Harvest, we use Task, which is really task type, for this).
|
||||||
timelog['subproject'] = (np.where(timelog['project'].str.contains(' — '), timelog['project'].str.split(' — ', 1).str[1], None))
|
timelog['subproject'] = (np.where(timelog['project'].str.contains(' — '), timelog['project'].str.split(' — ', 1).str[1], None))
|
||||||
timelog['project'] = (np.where(timelog['project'].str.contains(' — '), timelog['project'].str.split(' — ', 1).str[0], timelog['project']))
|
timelog['project'] = (np.where(timelog['project'].str.contains(' — '), timelog['project'].str.split(' — ', 1).str[0], timelog['project']))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue