DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+4 =
Submit