Skip to content

clip op: TypeError: list indices must be integers or slices, not NoneType #54817

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

Closed
anmyachev opened this issue Aug 28, 2023 · 1 comment · Fixed by #54823
Closed

clip op: TypeError: list indices must be integers or slices, not NoneType #54817

anmyachev opened this issue Aug 28, 2023 · 1 comment · Fixed by #54823
Labels
Regression Functionality that used to work in a prior pandas version
Milestone

Comments

@anmyachev
Copy link
Contributor

Reproducer:

pandas.DataFrame([1, 5]).clip([3])  # <- failed, worked in pandas 2.0
pandas.DataFrame([1, 5]).clip(3)  # <- works

pandas 2.1.0rc0

@Raghav-Bell
Copy link
Contributor

This issue may be due to merge of PR #51472

@phofl phofl added this to the 2.1 milestone Aug 28, 2023
@jorisvandenbossche jorisvandenbossche added the Regression Functionality that used to work in a prior pandas version label Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Regression Functionality that used to work in a prior pandas version
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants