/MultiIndexChart_1.py Secret
Created
January 27, 2021 07:05
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Imports | |
import pandas as pd | |
from ipywidgets import widgets as wg | |
import yfinance as yf | |
import plotly.graph_objects as go | |
from plotly.offline import init_notebook_mode, iplot | |
init_notebook_mode() | |
tickers = ["FB", "AMZN", "DD", "BRK-A"] | |
df = yf.download( | |
tickers=tickers, | |
period="3y", | |
interval="1wk", | |
group_by="column") | |
df.head(5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment