Replaced the inefficient `iterrows()` loop with vectorized operations:
`df.set_index("Date")[indicator].fillna("N/A").astype(str).to_dict()`
This change improves performance while maintaining the exact original behavior for NaN values and string conversion.
Co-authored-by: aguzererler <6199053+aguzererler@users.noreply.github.com>
|
||
|---|---|---|
| .. | ||
| agents | ||
| dataflows | ||
| graph | ||
| llm_clients | ||
| pipeline | ||
| portfolio | ||
| __init__.py | ||
| daily_digest.py | ||
| default_config.py | ||
| notebook_sync.py | ||
| observability.py | ||
| report_paths.py | ||