-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
REF: Replace os.path with pathlib.Path in pandas_web.py #61604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but we need to make everything that is a path a pathlib object when it's first created. Not create it as a string and cast it for every operation.
d1a990f
to
9492f87
Compare
Thanks for the review! updated to make sure all paths are created as |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Added few comments, but very nice clean up
9492f87
to
e7a9b44
Compare
Addressed all the latest comments, switched to |
Replaces
os.path
withpathlib.Path
inpandas_web.py
, as suggested by @datapythonista in 61578. No functional changes, verified site generation remains correct