Last active
August 25, 2021 04:02
-
-
Save WillKoehrsen/e9f584287af4451bcd2029f75392b34e to your computer and use it in GitHub Desktop.
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
import pandas as pd | |
import numpy as np | |
# Pandas options | |
pd.options.display.max_columns = 30 | |
pd.options.display.max_rows = 20 | |
from IPython import get_ipython | |
ipython = get_ipython() | |
# If in ipython, load autoreload extension | |
if 'ipython' in globals(): | |
print('\nWelcome to IPython!') | |
ipython.magic('load_ext autoreload') | |
ipython.magic('autoreload 2') | |
# Display all cell outputs in notebook | |
from IPython.core.interactiveshell import InteractiveShell | |
InteractiveShell.ast_node_interactivity = 'all' | |
# Visualization | |
import plotly.plotly as py | |
import plotly.graph_objs as go | |
from plotly.offline import iplot, init_notebook_mode | |
init_notebook_mode(connected=True) | |
import cufflinks as cf | |
cf.go_offline(connected=True) | |
cf.set_config_file(theme='pearl') | |
print('Your favorite libraries have been loaded.') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment