Skip to content

Instantly share code, notes, and snippets.

@dyerrington
Created May 6, 2015 22:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dyerrington/45c0654df381117ef49f to your computer and use it in GitHub Desktop.
Save dyerrington/45c0654df381117ef49f to your computer and use it in GitHub Desktop.
Pandas remove +/- 3 std
sql_df[np.abs(sql_df['score'].values - sql_df['score'].values.mean())<=(3*sql_df['score'].values.std())]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment