Skip to content

Instantly share code, notes, and snippets.

@eiriks
Created April 14, 2021 12:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eiriks/b8348ace46d5af276a2f96256797ad73 to your computer and use it in GitHub Desktop.
Save eiriks/b8348ace46d5af276a2f96256797ad73 to your computer and use it in GitHub Desktop.
import pandas as pd
import numpy as np
import sys, os
import seaborn as sns
import matplotlib.pyplot as plt
# 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