Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remove rows from pandas

df = df[df["column_name"].isin([0, 1, 3, 4])]
# into isin we put the value we want to mantain
 
PREVIOUS NEXT
Tagged: #remove #rows #pandas
ADD COMMENT
Topic
Name
9+7 =