<jupyter_start><jupyter_text>Get Data<jupyter_code># Import
df = pd.read_csv("data/physics.csv")
df = df[["gpa", "gre_verbal", "gre_quantitative", "gre_writing", "gre_subject", "decision"]]<jupyter_output><empty_output><jupyter_text>Plot<jupyter_code># All
sns.pairplot(df, hue = "Decision")
if save:
    plt.savefig("figures/eda/pairplot.png", transparent=True, bbox_inches="tight")
# Perfect GPA
sns.pairplot(df[(df['gpa'] == 4.0)], hue = "decision")
if save:
    plt.savefig("figures/eda/pairplot-perfect-gpa.png", transparent=True, bbox_inches="tight")
# Perfect GRE
sns.pairplot(df[(df['gre_subject'] == 990)], hue = "decision")
if save:
    plt.savefig("figures/eda/pairplot-perfect-gre.png", transparent=True, bbox_inches="tight")
# Perfect GPA and GRE
sns.pairplot(df[(df['gpa'] == 4) & (df['gre_subject'] == 990)], hue = "decision")
if save:
    plt.savefig("figures/eda/pairplot-perfect-gpa-and-gre.png", transparent=True, bbox_inches="tight")<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.19226856561546288, 'fraction_numerical': 0.009155645981688708, 'mean_word_length': 7.2, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '262048', 'license': 'MIT', 'n_tokens_mistral': 410, 'n_tokens_neox': 379, 'n_words': 58, 'path': 'plot-pairgrid.ipynb', 'repo_name': 'harrisonized/predicting-physics-phd-admissions-classification', 'size': '983'}