Skip to content

Instantly share code, notes, and snippets.

@grahamharrison68
Created October 17, 2020 17:08
Show Gist options
  • Save grahamharrison68/f3ddf32d822ad86365fe2461e50df256 to your computer and use it in GitHub Desktop.
Save grahamharrison68/f3ddf32d822ad86365fe2461e50df256 to your computer and use it in GitHub Desktop.
# %% Plot the graphs
box_and_whisker(df, 'Col0')
box_and_whisker(df, 'Col1')
box_and_whisker(df, 'Col2')
_, _, _, _, minimum_Col1_before, maximum_Col1_before = get_iqr_values(df, 'Col1')
# %% Count the outliers in the original data frame
print(f"Col0 has {count_outliers(df, 'Col0')} outliers")
print(f"Col1 has {count_outliers(df, 'Col1')} outliers")
print(f"Col2 has {count_outliers(df, 'Col2')} outliers")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment