fix csv merge, fix ark europe csv

This commit is contained in:
Elijah McMorris 2024-06-09 16:09:17 -07:00
parent 5575b2c073
commit 4e260f2fa2
Signed by: NexVeridian
SSH key fingerprint: SHA256:bsA1SKZxuEcEVHAy3gY1HUeM5ykRJl0U0kQHQn0hMg8
2 changed files with 38 additions and 3 deletions

View file

@ -33,6 +33,10 @@ fn print_df(ticker: &Ticker, df: &DataFrame) {
fn csv_merge() -> Result<(), Error> {
for ticker in Ticker::iter() {
if !std::path::Path::new(&format!("./data/csv/{}", ticker)).exists() {
continue;
}
let df = Ark::merge_old_csv_to_parquet(ticker, None)?
.format()?
.sort()?