Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Row wise mean pandas

df['mean'] = df.iloc[:, [0,1,2,3,4].mean(axis=1)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Row #wise #pandas
ADD COMMENT
Topic
Name
5+7 =