Published
- 1 min read
pd if value delete row
The solution for this is noted below
pd if value delete row
Solution
df.drop(df.loc[df['line_race']==0].index, inplace=True)
Try other methods by searching on the site. That is if this doesn’t work