Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
drop a row with a specific value of a column
animartco
Programming language:
Whatever
2021-07-08 21:15:33
0
Q:
drop a row with a specific value of a column
Frank Allen
Code:
Whatever
2021-03-10 22:58:59
df = df[df.line_race != 0]
1
Tags
value
row
specific
Related
removing rows with specific column values from a dataframe
if a specific column name is present drop tyhe column
dataframe drop rows by column value
New to Communities?
Join the community