Finish saving & loading projects-clients mapping from Harvest API and document
This commit is contained in:
parent
e1a2b0cd8b
commit
6aaaffd45b
4 changed files with 26 additions and 6 deletions
|
@ -177,9 +177,7 @@ harvest = hrvst.rename(columns = {'date': 'Date', 'project': 'Project', 'subproj
|
|||
harvest["Hours"] = harvest["time"]/60
|
||||
harvest["First name"] = "Benjamin"
|
||||
harvest["Last name"] = "Melançon"
|
||||
project_client_mapping = {
|
||||
"": "",
|
||||
}
|
||||
project_client_mapping = settings.harvest_get_projects_clients_map()
|
||||
harvest["Client"] = harvest["Project"].map(project_client_mapping)
|
||||
harvest.drop(columns = ['started', 'recorded', 'time'], inplace=True)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue