title: Extracting ASX data using pandas
body: <p>I am trying to extract stock market data from yahoo finance following is the link <a href="https://au.finance.yahoo.com/quote/ABP.AX/history?p=ABP.AX" rel="nofollow noreferrer">https://au.finance.yahoo.com/quote/ABP.AX/history?p=ABP.AX</a></p>
  
  <p>My code is as follows</p>
  
  <pre><code>import pandas as pd
  dfs = pd.read_html('https://au.finance.yahoo.com/quote/ABP.AX/history?p=ABP.AX')       
  print(dfs)
  </code></pre>
  
  <p>The above code leads to following error</p>
  
  <pre><code>Traceback (most recent call last):
    File "/home/furqan/Desktop/Data/Fundamental Analysis/get_data/ax_data.py", line 5, in &lt;module&gt;
      dfs = pd.read_html('https://au.finance.yahoo.com/quote/ABP.AX/history?p=ABP.AX')
    File "/usr/local/lib/python3.5/dist-packages/pandas/io/html.py", line 874, in read_html
      parse_dates, tupleize_cols, thousands, attrs, encoding)
    File "/usr/local/lib/python3.5/dist-packages/pandas/io/html.py", line 747, in _parse
      thousands=thousands))
    File "/usr/local/lib/python3.5/dist-packages/pandas/io/html.py", line 628, in _data_to_frame
      _expand_elements(body)
    File "/usr/local/lib/python3.5/dist-packages/pandas/io/html.py", line 611, in _expand_elements
      body[ind] += empty * (lens_max - length)
  TypeError: ufunc 'add' did not contain a loop with signature matching types dtype('&lt;U47') dtype('&lt;U47') dtype('&lt;U47')
  </code></pre>
  
  <p>How can I solve this issue?</p>