title: Pandas: How can I label ticks on x-axis with months from Jan to Dec and limit the range on the y-axis?
body: <p>Here is what my csv file looks like:</p>
  
  <p><a href="https://i.stack.imgur.com/3zx2n.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3zx2n.jpg" alt="enter image description here"></a></p>
  
  <p>I skipped the first 4 rows because they contained no data. Once at row 5 I used pandas to get the data line by line. This part I think I got but I want to be able to organize the data for column 'Date' so that on the x-axis they appear as Jan, Feb, March... but not sure how this is done with Pandas as pd.</p>
  
  <p>I also want to be able to label the y-axis with 'Evapotranspiration (inches)' and have a title at the top that reads 'Eden_7'. So far there is a ledgend in the top right corner that I don't want there. Not sure how to remove. Lastly I want the threshold for the y-axis range to be from 1 to 7 not 1 to 8.</p>
  
  <p>Here is the code I have working so far:</p>
  
  <pre><code>import matplotlib.pyplot as plt
  import pandas as pd
  import numpy as np
  
  dataset = pd.read_csv('1541544819_et.csv', skiprows=4)
  
  
  
  dataset[['Date', '2A300 Potential evapotranspiration (millimeters)']].set_index('Date').plot(figsize=(15, 8))
  </code></pre>
  
  <p>And so far this works almost perfect except for the details mentioned above.</p>
  
  <p>Here is what the graph looks like:
  <a href="https://i.stack.imgur.com/45l3A.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/45l3A.jpg" alt="enter image description here"></a></p>
  
  <p>This is what I am trying to have my final graph look like. Just the bottom one:
  <a href="https://i.stack.imgur.com/pLs9n.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pLs9n.jpg" alt="enter image description here"></a></p>
  
  <p>Updated code:</p>
  
  <pre><code>import pandas as pd
  import matplotlib.pyplot as plt
  import numpy as np
  
  
  df = pd.read_csv('1541544819_et.csv', skiprows=4)
  
  
  plt.xticks(range(11), ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Nov','Dec'], rotation=45)
  
  
  
  ax = df.plot()
  ax.set_ylabel("Evapotranspiration (inches)")
  </code></pre>
  
  <p>Thank you</p>