Spaces:
Running
Running
Commit
·
b3128da
1
Parent(s):
737d182
Update pages/1_Executives.py
Browse files- pages/1_Executives.py +5 -2
pages/1_Executives.py
CHANGED
@@ -81,8 +81,11 @@ def main():
|
|
81 |
df = input_data
|
82 |
df = df.drop_duplicates(subset="Person Linkedin Url", keep='first')
|
83 |
df = df.dropna().loc[~(df == '').all(axis=1)]
|
84 |
-
|
85 |
-
|
|
|
|
|
|
|
86 |
# Convert DataFrame to CSV for transmission
|
87 |
csv = df.to_csv(index=False)
|
88 |
|
|
|
81 |
df = input_data
|
82 |
df = df.drop_duplicates(subset="Person Linkedin Url", keep='first')
|
83 |
df = df.dropna().loc[~(df == '').all(axis=1)]
|
84 |
+
if opt_out_scraping:
|
85 |
+
df=df[['First Name', 'Last Name', 'Title', 'Website','Company','Person Linkedin Url','Scrapped Profile']]
|
86 |
+
else:
|
87 |
+
df=df[['First Name', 'Last Name', 'Title', 'Website','Company','Person Linkedin Url']]
|
88 |
+
|
89 |
# Convert DataFrame to CSV for transmission
|
90 |
csv = df.to_csv(index=False)
|
91 |
|