title: How do I print the dimensions of a dataset (csv file) using Pandas- library and also print out some lines?
body: <p>So I am programming in Python 3, and would like to print out the dimensions of a dataset (csv file) using the pandas library dataframe, and also do a few other things that I dont quite grasp the idea of? this is just an example as I only need explanation on how.
  Say I have 2 functions:</p>
  
  <p>in func1 i have (supposedly) loaded a dataset using pandas:</p>
  
  <p>def func1(a):</p>
  
  <pre><code>namesOfColumns = ["The sepal-length", "The sepal-width", "The petal-length", "The petal-width", "class"]
  
  a = "some_file"
  
  some_file = pd.read_csv(a)
  
  return (some_file)
  </code></pre>
  
  <p>def func2(data):</p>
  
  <pre><code>#code for printing the dimensions of the dataset
  #code for printing the top 3 lines
  #code for printing the mean and standard variation of the sepal-width
  #code for plot box plot of each attribute
  </code></pre>
  
  <p>Would someone explain how I can approach the steps in func2?</p>