added a log for start and end of base processing

This commit is contained in:
Jake Pullen
2024-08-11 10:44:30 +01:00
parent f06ce9999f
commit e54d48de5d
2 changed files with 19 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
import polars as pl
df = pl.read_parquet('data/warehouse/transactions.parquet')
print("Data loaded from Parquet file:")
print(df)
relevant_data = df.sql('''
SELECT
date,
sum(transaction_amount) as total
FROM self
GROUP BY date
ORDER BY date DESC
'''
)
print("Data after SQL query:")
print(relevant_data)