title: Plotting from dataset in Python
body: <p>This must be very simple but i am not able to figure out how to do it.I am trying to plot the data present in my dataset. </p>
  
  <p>Below is my code ,</p>
  
  <pre><code>import pandas as pd
  import matplotlib.pyplot as plt
  
  dataset = pd.read_csv('TipsReceivedPerMeal.csv')
  plt.scatter(dataset[0],dataset[1])
  plt.show()
  </code></pre>
  
  <p>The data in my CSV file is some random data, which specifies what tip a waiter receive at one particular day.</p>
  
  <p>Data in CSV</p>
  
  <pre><code>MealNumber  TipReceived
  1                    17
  2                    10
  3                    5
  4                    7
  5                    14
  6                    25
  </code></pre>
  
  <p>Thanks in advance for the help.</p>