title: is there any alternative to overcome unhashable type error?
body: <pre><code>import pandas as pd
  ci=pd.read_csv(r'C:\Users\welcome\Downloads\coal_india.csv')
  ci
  x=ci[[&quot;Deliverable_Qty&quot;,&quot;Noof_trades&quot;]]
  x.set_index(&quot;Noof_trades&quot;,inplace=True)
  
  print(x)
  import numpy as np2
  import matplotlib.pyplot as plt
  %matplotlib inline
  plt.plot(x)
  plt.show()
  
  </code></pre>
  <blockquote>
  <p>TypeError: unhashable type: 'numpy.ndarray'</p>
  </blockquote>
  <p>this is the error which is shown when i plot a graph for an xy stock taking its deliverable quantity and no of trades happend in a day.ro-0</p>