Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

minimum of two columns in pandas

data['min_c_h'] = data[['flow_h','flow_c']].min(axis=1)
 
PREVIOUS NEXT
Tagged: #minimum #columns #pandas
ADD COMMENT
Topic
Name
6+6 =