title: How to create chart or line graph in Python with strings in csv
body: <p>My csv file contains $ signs and commas for numbers (screenshot attached)<a href="https://i.stack.imgur.com/yA8qT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yA8qT.png" alt="enter image description here"></a>.</p>
  
  <p>How to create a simple line graph with it. Do i have to convert it and remove the $ sign?</p>
  
  <pre><code> price_index = pandas.read_csv("houses_price_index_losangeles.csv") 
  
   price_index['Los Angeles'] 
   price = price_index['Los Angeles'] 
   month = price_index['Month-Year'] 
   plt.plot(price,month,'g',label='Tarzana')
   plt.title('Houses for sale')
   plt.ylabel('Prices')
   plt.xlabel('Year')
  
   plt.legend()
  
   plt.grid(True,color='k')
  
   plt.show()
  </code></pre>