-
-
Notifications
You must be signed in to change notification settings - Fork 17.4k
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
BUG: Ensure read_spss accepts pathlib Paths (GH33666) #36174
BUG: Ensure read_spss accepts pathlib Paths (GH33666) #36174
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.
if you can respond (and merge master) soon as tagging 1.12 tomorrow (otherwise pls move the note to 1.2) when you can.
cc @simonjayhawkins possible if can be done before the tag (otherwise nbd) |
3ba49d6
to
de043c2
Compare
de043c2
to
9ff4eaf
Compare
@jreback I addressed the changes you requested earlier this week, and I believe the PR is ready for another round of review. |
thanks @drmrd very nice |
@meeseeksdev backport 1.1.x |
…666) (#36347) Co-authored-by: Dan Moore <9156191+drmrd@users.noreply.github.com>
read_spss
only acceptsstr
, notPath
#33666black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff
Wrapped the
path
passed intopandas.io.spss.read_spss
in apandas.io.common.stringify_path
call prior to passing it topyreadstat.read_sav
. This fixes #33666. I've also included tests validatingpd.read_spss
accepts strings andpathlib.Path
s.