title: How to get mean, median, and other statistics over entire matrix, array or dataframe?
body: <p>I know this is a basic question but for some strange reason I am unable to find an answer.</p>
  
  <p>How should I apply basic statistical functions like mean, median, etc. over entire array, matrix or dataframe to get unique answers and not a vector over rows or columns</p>