mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-19 23:09:59 +00:00
Update README to use DateFreq instead of BDateFreq for consistency
This commit is contained in:
parent
d8239114cf
commit
e5d8f4386c
@ -44,7 +44,7 @@ use chrono::NaiveDate;
|
||||
use rustframe::{
|
||||
frame::{Frame, RowIndex},
|
||||
matrix::{BoolOps, Matrix, SeriesOps},
|
||||
utils::{BDateFreq, BDatesList},
|
||||
utils::{DateFreq, BDatesList},
|
||||
};
|
||||
|
||||
let n_periods = 4;
|
||||
@ -53,8 +53,7 @@ let n_periods = 4;
|
||||
let dates: Vec<NaiveDate> =
|
||||
BDatesList::from_n_periods("2024-01-02".to_string(), BDateFreq::Daily, n_periods)
|
||||
.unwrap()
|
||||
.list()
|
||||
.unwrap();
|
||||
.list().unwrap();
|
||||
|
||||
let col_names: Vec<String> = vec!["a".to_string(), "b".to_string()];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user