- Take as input the data set. (For this project we've taken the Netflix data set)
- Then, convert the data set into a dataframe using pandas.
- Our basic focus in this project shall be on the Closing prices of the stock.
- We shall then have a brief look at the shape of the data and the data itself, using pandas.
- Subsequently we shal be visualizing the data using the library Matplotlib.
- Once we've visualized the data, then we can declare another dataframe and initialize that dataframe with just the closing prices of the Netflix stock.
- Then we declare another variable future_days, which shall contain the number of days for which the user wants to predict the stock prices.
- Subsequently, we add the future_days number of indexes into the dataframe & store them into a new column into the same dataframe, say predictions.
- On printing the last few columns of the new column, predictions we can values labeled as NaN, which is expected since we haven't predicted them as yet.