Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

translating the mean of a data to a specific value

#to translate data to a mean of n
new_data = data - np.mean(data) + n
Source by campus.datacamp.com #
 
PREVIOUS NEXT
Tagged: #translating #data #specific
ADD COMMENT
Topic
Name
1+3 =