-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change findpeaks indexing to support pandas 3.0
`df["foo"].iloc[bar] = xyz` is using chained indexing and then setting a value, which is setting the value of a copy (in 3.0) Changing this to use a single index, such as: `df.iloc[bar, df.columns.get_loc("foo")] = xyz`
- Loading branch information
1 parent
b4eff69
commit 5142a46
Showing
1 changed file
with
39 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters