llSourcell / predicting_stock_prices

This is the coding challenge for "Predicting Stock Prices" by @Sirajology on Youtube
297 stars 196 forks source link

Python 3? #13

Open lukebarone opened 2 years ago

lukebarone commented 2 years ago

Does this code support Python3? I'm running on WSL (Ubuntu), and it is stalling at the svr_poly.fit(dates,prices) line.

It has been sitting here for 4 hours. I have also tried the other issues here, such as chaning the first line in the predict_prices function to be dates = np.reshape(dates, (-1, 1)). I inserted print statements after each line, and that's how I know which line it's holding up on.

Mohswalm545 commented 1 year ago

yes it works for me on python3 and thats not a good way to know witch line its holding on