DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
comparing two dataframe columns
comparison_column = np.where(df["col1"] == df["col2"], True, False)
Source by www.kite.com #
PREVIOUS
NEXT
Tagged:
#comparing
#dataframe
#columns
ADD COMMENT
Topic
COMMENT
Name
8+6 =
Submit