Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Row wise mean pandas

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