application_vnd.jupyter.stderr_output_1.png
from statsmodels.graphics.factorplots import interaction_plot

from statsmodels.graphics.factorplots import interaction_plot
categorical_columnss = categorical_columns + counting_columns + bounded_columns
for c in categorical_columnss:
    if c in temporal_columns:
        continue
    num = recent_df['SalePrice']
    c1 = recent_df[c]
    delete = []
    for cc in categorical_columnss:
        if cc in temporal_columns or cc == c or cc in delete:
            continue
        c2 = recent_df[cc]
        c1_classes = len(recent_df[c])
        c2_classes = len(recent_df[cc])
        if c2_classes < c1_classes:
            temp = c1
            c1 = c2
            c2 = temp
        plt.style.use('ggplot')
        fig, ax = plt.subplots(figsize=(9, 6))
        fig = interaction_plot(c2, c1, num, ms=12, ax=ax)
        plt.show()
        delete.append(cc)