Skip to content

Commit 37f996f

Browse files
committed
Fix parameter reference
1 parent cac0aac commit 37f996f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -523,11 +523,11 @@ pd_df = download(
523523
)
524524

525525
# Calculate peaks and lows for Polars DataFrame, with a neighbour comparison of 4 and minimum of 2 consecutive peaks
526-
pl_df = detect_peaks(pl_df, column="Close", number_of_neighbors_to_compare=4, min_consecutive=2)
526+
pl_df = detect_peaks(pl_df, source_column="Close", number_of_neighbors_to_compare=4, min_consecutive=2)
527527
pl_df.show(10)
528528

529529
# Calculate peaks and lows for Pandas DataFrame, with a neighbour comparison of 4 and minimum of 2 consecutive peaks
530-
pd_df = detect_peaks(pd_df, column="Close", number_of_neighbors_to_compare=4, min_consecutive=2)
530+
pd_df = detect_peaks(pd_df, source_column="Close", number_of_neighbors_to_compare=4, min_consecutive=2)
531531
pd_df.tail(10)
532532
```
533533

0 commit comments

Comments
 (0)