Search
 
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
Name
8+6 =