DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
or condition in pandas
df2 = df[(df.a != -1) | (df.b != -1)]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#condition
#pandas
ADD COMMENT
Topic
COMMENT
Name
2+2 =
Submit