Last active
May 1, 2020 13:57
-
-
Save qnkhuat/4ac9242d6b8b9d0c7e19fe76c7f4141b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
%load_ext autoreload | |
%autoreload 2 | |
import pandas as pd | |
pd.set_option('display.max_rows', 500) | |
pd.set_option('display.max_columns', 500) | |
pd.set_option('display.width', 1000) | |
import numpy as np | |
from pathlib import Path | |
Path.ls = lambda x : [o.name for o in x.iterdir()] | |
Path.ls_p = lambda x : [str(o) for o in x.iterdir()] | |
Path.str = lambda x : str(x) | |
# Interactive plot | |
from plotly.offline import init_notebook_mode, plot, iplot | |
from plotly.subplots import make_subplots | |
import plotly.io as pio | |
import plotly.graph_objs as go | |
import plotly.express as px | |
init_notebook_mode(connected=False) | |
# Static plot | |
import seaborn as sns | |
import matplotlib.pyplot as plt | |
plt.rcParams['figure.figsize'] = (20, 12) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment