This commit is contained in:
Palash Tyagi
2024-11-19 17:27:18 +00:00
parent 1ea698a1e2
commit 7ea8aa6dd8
3 changed files with 254 additions and 35 deletions

View File

@@ -3,6 +3,7 @@ pub mod update_df;
pub mod load;
pub mod reduce_df;
pub mod pivots;
// Re-export submodules for easier access
pub use core::*;
pub use update_df::*;

View File

@@ -79,3 +79,12 @@ fn split_df_by_tickers(df: &DataFrame) -> Result<HashMap<String, DataFrame>, Box
Ok(df_outs)
}
fn single_ticker_qdf_to_timeseries(df: &DataFrame) -> Result<Vec<DataFrame>, Box<dyn Error>> {
let mut df_vec = Vec::new();
// copy the date col
// let date_col =
Ok(vec![df.to_owned()])
}