update example

pull/35/head
Cullen Watson 2023-09-03 09:44:26 -05:00 committed by GitHub
parent 153ac35248
commit 998b1033d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -26,7 +26,6 @@ jobs: pd.DataFrame = scrape_jobs(
if jobs.empty:
print("No jobs found.")
else:
#1 print
pd.set_option('display.max_columns', None)
pd.set_option('display.max_rows', None)
@ -35,10 +34,10 @@ else:
print(jobs)
#2 display in Jupyter Notebook
display(jobs)
# display(jobs)
#3 output to csv
jobs.to_csv('jobs.csv', index=False)
# jobs.to_csv('jobs.csv', index=False)
```
### Output