Causal Inference, Machine Learning, Artificial Intelligence, Business.
'got_raise': get_raise_y.astype(int)}) import seaborn as sns import matplotlib.pyplot as plt cross_tab = pd.crosstab(df['got_raise'], df['showed_up']) sns.heatmap(cross_tab, annot=True, cmap="YlGnBu", fmt="d") plt.xlabel('got_raise') plt.ylabel('showed_up') plt.title('One-to-One Mapping between