python - Deleting DataFrame row in Pandas based on column value - Stack Overflow

PHOTO EMBED

Mon Nov 16 2020 13:03:48 GMT+0000 (Coordinated Universal Time)

Saved by @arielvol #python

df = df[df.line_race != 0]
content_copyCOPY

https://stackoverflow.com/questions/18172851/deleting-dataframe-row-in-pandas-based-on-column-value