Load packages
# numerical calculation & data frames
import numpy as np
import pandas as pd
# visualization
import matplotlib.pyplot as plt
import seaborn as sns
import seaborn.objects as so
# statistics
import statsmodels.api as sm
# pandas options
'mode.copy_on_write', True) # pandas 2.0
pd.set_option(= '{:.2f}'.format # pd.reset_option('display.float_format')
pd.options.display.float_format = 7 # max number of rows to display
pd.options.display.max_rows
# NumPy options
= 2, suppress=True) # suppress scientific notation
np.set_printoptions(precision
# For high resolution display
import matplotlib_inline
"retina") matplotlib_inline.backend_inline.set_matplotlib_formats(