Code
import warnings
warnings.filterwarnings('ignore')
import pandas as pd
import numpy as np
from matplotlib import style
from matplotlib import pyplot as plt
import seaborn as sns
import statsmodels.formula.api as smf
#if 'ipykernel' in sys.modules:
# %matplotlib inline
pd.set_option("display.max_columns", 20)
style.use("fivethirtyeight")