diff --git a/README.md b/README.md index f31cb9c..35451c6 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ let fb = Frame::new(mb, col_names, Some(RowIndex::Date(dates))); // Math that reads like math let result = &fa * &fb; // element‑wise multiply -let total = result.matrix().sum_vertical().iter().sum::(); +let total = result.sum_vertical().iter().sum::(); assert_eq!(total, 184.0); let result = &ma + 1.0; // add scalar