Created
June 1, 2022 02:10
-
-
Save DerekHawkins/e61e9f1cd09d2a5414a363900b748d47 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
# Import customer list for company match and employee list for department atribution | |
df_customer_list = pd.read_excel('---.xlsx', skiprows=10) | |
customers = df_customer_list[['Company']]['Company'].to_list() | |
employee_list = pd.read_excel('---.xlsx') | |
employee_list['Full Name'] = [f"{employee_list['First Name'][i]} {employee_list['Last Name'][i]}" for i in range(employee_list.shape[0])] | |
employee_list = employee_list[['Full Name', 'Department']].rename(columns={'Full Name':'Employee (if channel=employee sharing)'}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment