How to Predict Stock Market Trends with Python and Machine Learning