DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
pandas removing outliers from dataframe
df[(df["col"] >= x ) & (df["col"] <= y )] but it's more readable to use: df[df["col"].between(x,y)]
Source by app.dataquest.io #
PREVIOUS
NEXT
Tagged:
#pandas
#removing
#outliers
#dataframe
ADD COMMENT
Topic
COMMENT
Name
8+6 =
Submit