fastapi pandas matplotlib yfinance datetime xgboost scikit-learn