Used VS Code to write this. If you're running this on VS Code, right click on the file and click on Run Current File in Interactive Window
pip install yfinance
pip install plotly
pip install nbformat
import numpy as np
import pandas as pd
import plotly.io as pio
import yfinance as yf
import plotly.graph_objs as go
If the Interactive window doesn't work at first, reinstall the Notebooks extension and reload VS Code.