Skip to content

Instantly share code, notes, and snippets.

@aflansburg
Created September 15, 2021 14:07
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 aflansburg/e76755b60bdebd2b7074716385f6602f to your computer and use it in GitHub Desktop.
Save aflansburg/e76755b60bdebd2b7074716385f6602f to your computer and use it in GitHub Desktop.
standard_jupyter_notebook_imports
# import initial libs to do EDA
import pandas as pd
import numpy as np
import random
# viz libs
import matplotlib.pyplot as plt
import matplotlib.patches as mpatches
%matplotlib inline
import seaborn as sns
# Utility lib imports
pd.set_option("display.max_columns", None) # remove limit on displayed columns/rows
pd.set_option("display.max_rows", 100)
pd.set_option("display.float_format", lambda x: "%.5f" % x)
# suppress warnings
import warnings
warnings.filterwarnings("ignore")
# for Python code beautification
%load_ext nb_black
# for debugging
from IPython.core.debugger import Pdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment