Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement error handling for database query in make_targets_yf.py
Enhanced the data retrieval process from 'price_table' by wrapping the pd.read_sql query in a try-except block. This change aims to improve the robustness of the script against potential runtime errors during the database query execution. Additionally, a pylint directive was added to ignore the broad exception warning, acknowledging the intentional catch-all exception handling approach.
- Loading branch information