!pip install statsmodels
import statsmodels.api as sm
import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
import matplotlib as mpl
import seaborn as sns
import sqlite3
mpl.rcParams['figure.figsize'] = (15,5)
sns.set()
conn = sqlite3.connect('/work/Property_DB.db')
first_query= 'select * from final_property_table'
df = pd.read_sql(first_query, conn)
df.head(5)