Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

getting a column that corresponds to the average of two columns in pandas

df_mean = df[["a", "b"]].mean()
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged: #column #corresponds #average #columns #pandas
ADD COMMENT
Topic
Name
2+4 =