BUG: "ValueError: The truth value ... is ambiguous" when using .loc setitem #48614
Closed
2 of 3 tasks
Labels
Indexing
Related to indexing on series/frames, not to indexes themselves
Nested Data
Data where the values are collections (lists, sets, dicts, objects, etc.).
Regression
Functionality that used to work in a prior pandas version
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Pandas version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
Issue Description
The offending line
isna(value)
was added in bd9a6f0#diff-07282871a235456baecd3a55a43339b0da374ca270228b5530f5449aabdca2e1R2099 by @phofl. Would love to seemilestone:1.5
on this regression. 😅Thanks!
Expected Behavior
No crash.
Installed Versions
pandas-1.5.0rc0
The text was updated successfully, but these errors were encountered: