parameters: (x, y)
return_statement: return r_value**2
docstring: Return R^2 where x and y are array-like.
docstring_summary: Return R^2 where x and y are array-like.
docstring_tokens: Return R^2 where x and y are array - like .
function: def rsquared(x, y):
      """ Return R^2 where x and y are array-like."""
  
      slope, intercept, r_value, p_value, std_err = scipy.stats.linregress(x, y)
      return r_value**2
function_tokens: def rsquared ( x , y ) : slope , intercept , r_value , p_value , std_err = scipy . stats . linregress ( x , y ) return r_value ** 2